Kozuka Mincho and Kozuka Gothic throw a ton of "unknown operator" errors
See original GitHub issueUsing Adobe’s Kozuka fonts with OpenType.js results in a whole lot of errors about unknown operators. It looks like it’s not decoding the CFF charstring properly…
These two fonts are not free, but come “for free” with any Adobe CC product like Illustrator and Photoshop (including the trial versions), so testing with these fonts should be pretty easy.
processing minchou
Glyph 125: unknown operator 0
Glyph 125: unknown operator 0
Glyph 125: unknown operator 0
...
Glyph 1164: unknown operator 0
Glyph 1164: unknown operator 0
Glyph 1164: unknown operator 0
Glyph 1170: unknown operator 16
Glyph 1170: unknown operator 0
Glyph 1178: unknown operator 0
Glyph 1185: unknown operator 0
...
Glyph 1313: unknown operator 0
Glyph 1317: unknown operator 0
Glyph 1322: unknown operator 1200247
Glyph 1326: unknown operator 0
Glyph 1326: unknown operator 0
...
Glyph 1543: unknown operator 0
Glyph 1543: unknown operator 0
Glyph 1543: unknown operator 0
Glyph 1547: unknown operator 12007
Glyph 1551: unknown operator 2
Glyph 1551: unknown operator 16
Glyph 1551: unknown operator 2
Glyph 1555: unknown operator 0
Glyph 1560: unknown operator 0
Glyph 1560: unknown operator 0
...
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Kozuka Gothic in use - Fonts In Use
Designed in 2001–2011 by a team led by Masahiko Kozuka as a Gothic typeface that can be paired with Kozuka Mincho. The Latin...
Read more >Untitled
Ley 19857 actualizada, Peter hook presents unknown pleasures, Linespec software, ... Brca2 normal function, Kozuka mincho, Vibram fit snug, Porsche 1973 rs ...
Read more >Untitled
Joy division unknown pleasures album, How to cite in a 243 rifle, Bitrix alternative, ... Harmful mutation in animals, Kozuka mincho pro medium, ......
Read more >Viewing online file analysis results for 'gs920w32.exe'
Opens the Kernel Security Device Driver (KsecDD) of Windows ... bugs.ghostscript.com, 50.240.204.217, -, Flag of United States United States.
Read more >Type design in Japan - Luc Devroye
Designer of the Kozuka Mincho (serif) and Kozuka Gothic (sans serif; poster by Ray Hansen) kanji families at Adobe, available in OpenType.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What’s happening is that the parser is not taking into account that these are CID-keyed fonts and is stumbling into all the subroutines. The advanced widths are also messed up. @tshinnic addressed these things with PR #92. I did a bit of testing and these are the before and after screenshots using Kozuka Mincho: before after
@fdb perhaps it’s worth merging #92 even though Tom mentioned that it’s incomplete. The improvements to CID-keyed font parsing are quite significant there.
sweet!