You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As shown in the example it's possible to write to the same text object with different colors.
basicTxt.Color=colornames.Redfmt.Fprintln(basicTxt, "Hello, text!")
basicTxt.Color=colornames.Greenfmt.Fprintln(basicTxt, "I support multiple lines!")
basicTxt.Color=colornames.Bluefmt.Fprintf(basicTxt, "And I'm an %s, yay!", "io.Writer")
Could the same be done with the font face to change the size or font-weigth?
The workaround for me is to create separate text objects (which is a little bit more effort in terms of aligning those letters properly).
As shown in the example it's possible to write to the same text object with different colors.
Could the same be done with the font face to change the size or font-weigth?
The workaround for me is to create separate text objects (which is a little bit more effort in terms of aligning those letters properly).
Original issue: faiface/pixel#271
The text was updated successfully, but these errors were encountered: