- Kaunas, Lithuania
- https://aras-p.info/
- Joined on
2022-01-20
If not found we then load the SVG file, rasterize it ourselves (nanosvg), and then add it to our glyph cache in the same way we do when we get a bitmap from FreeType
Any guesses what is…
Maybe the generic solution is a function that returns a contrasting text color from a background color?
Hmm not sure. What I tried right now (pushed on this branch), is logic like this…
The first thing I notice is that we have a bug in our current themes. Although our current shadow size only supports 0, 3, & 5 (with 0 being off) our default themes (dark and light) both set a…
But anyway, that is why there is that glyph_mode attribute that is currently not used.
I think once/if that is needed, it can be put into the "flags" attribute without making the whole vertex…
Looks like this can be considered done after #121361 and #121368 were both merged.
I didn't know how to make a PR that builds upon your PR, so I created a new one: #121383. Let me know if 1) it makes sense, and 2) I should redo it in some other way.