fix(text): render CJK glyphs at non-regular weights on macOS
Vendor femtovg 0.23.2 with a targeted patch: the swash raster path can fail to scale some variable fonts at a non-default variation instance (the CFF2-based CJK system fonts on modern macOS), and femtovg cached those glyphs as permanently missing — so track titles and any other text at medium/semibold/bold weight rendered blank for CJK while regular weight (empty coords) worked. render_glyph now retries the glyph at the font's default instance before giving up: worst case the glyph draws at regular weight instead of not at all. Fonts and instances that already render are untouched. Fixes #543 cc
This commit is contained in:
38 files changed
+18170
-2
No files matched your search
+3833
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user