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
+4
@@ -0,0 +1,4 @@
|
||||
max_width = 120
|
||||
reorder_modules = true
|
||||
# Only available in +nightly.
|
||||
#imports_layout = "Vertical"
|
||||
Reference in new issue
Block a user