Closed marioloncarek closed 4 years ago
The glyph is drawn here:
one way to change the color is to get the path of the glyph, and change the color here:
var path = glyph.getPath(x0, fontBaseline, fontSize);
path.fill = '#ff0000'; // <-- change the color here
path.draw(ctx);
// glyph.draw(ctx, x0, fontBaseline, fontSize);
}`
Hello and thanks for this great plugin. Im struggling to change the color or fill of the color of the loaded OTF font. So not in the
glyph-display
but in the list of the font glyphs.Current Behavior
cant change the default black color of the glyphs in list
Steps to Reproduce (for bugs)
Context
Having only the black color in the list makes the glyphs invisible since my background is dark.
Your Environment