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
The font referenced there (https://fonts.google.com/download?family=Noto%20Sans%20SC) appears to have a CFF table and no loca table. Typr appears to support both schemes - see Typr.U.glyphToPath as an example for the forking logic. However we aren't following that same logic in the FontParser_Typr adapter, we just call Typr.glyf._parseGlyf, which fails when there's no loca table present.
The text was updated successfully, but these errors were encountered:
Changing the code to just walk the glyph coordinates rather than trying to call into Typr.glyf._parseGlyf fixes the issue. Proof of that, using the aforementioned font:
See lojjic/aframe-troika-text#20
The font referenced there (https://fonts.google.com/download?family=Noto%20Sans%20SC) appears to have a
CFF
table and noloca
table. Typr appears to support both schemes - seeTypr.U.glyphToPath
as an example for the forking logic. However we aren't following that same logic in the FontParser_Typr adapter, we just callTypr.glyf._parseGlyf
, which fails when there's noloca
table present.The text was updated successfully, but these errors were encountered: