Comments (4)
The bug seems to be in the parsing of the OS/2 table. Older versions of the table have less data (for example, version 0). The Artbrush font uses this older version 0.
We should take the version number into account when parsing the table.
from opentype.js.
With correct OS/2 table parsing:
from opentype.js.
Fixed in 569f0cb.
from opentype.js.
Nice ! Thanks !
from opentype.js.
Related Issues (20)
- unclear versions HOT 1
- Bad performance of roundDecimal() in path.js
- Error parsing some cut font files using 'opentype. parse(...)' HOT 21
- How to Solve This Problem... 😭 Error: Unsupported OpenType signature <!DO HOT 3
- Regression: CFF-1 and CFF-2 tests in Unicode test suite passed at some point HOT 1
- Did we get rid of the non-umd & non-esm build? HOT 1
- Support searching or filtering by glyph name HOT 4
- Compilation error from opentype HOT 1
- hinting broken on the demo page HOT 6
- An unexpected situation occurred when using path. toSVG(), where NaN caused text rendering errors HOT 3
- how can I get font metadata by font file (.ttf,.otf,.woff2,.woff) by simple method? HOT 2
- Why did we depricate the load function? HOT 5
- Bold/Italic Emulation implementation needed. HOT 5
- Invalid font result with opentype.js HOT 1
- font lose glyph name HOT 1
- Writing slow (30+ seconds) for certain fonts (CJK, Noto Chinese) HOT 2
- TypeError: Cannot read properties of undefined (reading 'featureIndexes')
- fvar.instances returns empty name entry if nameID is 17 (preferredSubfamily) HOT 13
- 'liga' should not support only latin words
- missing emoji substitutions HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentype.js.