Skip to content

Fixed #87, 0x0D in string literal#88

Merged
synercoder merged 1 commit intodevelopfrom
fixes/issue-87
Apr 23, 2026
Merged

Fixed #87, 0x0D in string literal#88
synercoder merged 1 commit intodevelopfrom
fixes/issue-87

Conversation

@synercoder
Copy link
Copy Markdown
Owner

FIxes issue #87, CID text bytes could contain 0D, which was unescaped in a string literal, and a parser would parse it to 0A, which in the reported font is capital G. Which when subsetting and not used was not available, resulting in a .undef glyph being shown. Fixed by both escaping more characters in string literals, and using hex-string for CID text in content streams.

CID text bytes could contain 0D, which was unescaped in a string literal, and a parser would parse it to 0A, which in the reported font is capital G. Which when subsetting and not used was not available, resulting in a .undef glyph being shown. Fixed by both escaping more characters in string literals, and using hex-string for CID text in content streams.
@synercoder synercoder merged commit 7138775 into develop Apr 23, 2026
5 checks passed
@synercoder synercoder deleted the fixes/issue-87 branch April 23, 2026 21:13
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.

1 participant