Skip to content

treat endchar operator with 4 arguments as seac operator (fix #322)#323

Open
Connum wants to merge 1 commit intofoliojs:masterfrom
Connum:fix/322
Open

treat endchar operator with 4 arguments as seac operator (fix #322)#323
Connum wants to merge 1 commit intofoliojs:masterfrom
Connum:fix/322

Conversation

@Connum
Copy link
Contributor

@Connum Connum commented Dec 1, 2023

Added handling of the endchar command with seac-parameters in CFF fonts.

See The Type 2 Charstring Format spec section "Appendix C: Compatibility and Deprecated Operators" (page 35)
https://adobe-type-tools.github.io/font-tech-notes/pdfs/5177.Type2.pdf
and Adobe Type 1 Font Format spec (page 50)
https://adobe-type-tools.github.io/font-tech-notes/pdfs/T1_SPEC.pdf

This fixes #322 and fontkit will then pass the Unicode test case CFF-3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

seac-like endchar compatibility syntax not handled

1 participant