Pomax / PHP-Font-Parser

This is a PHP code library for parsing TTF/OTF fonts from file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[CFF] 4-byte number parsing in Type2 charstrings is incorrect

Pomax opened this issue · comments

parsing of type2 charstring 4-byte numbers ([255] + 32-bits) is incorrect. It should read in the full 32bit number, treated as a 2's complement pattern, and then record it as FIXED (signed short + unsigned short fraction).

should be fixed in 5a0b7d7