Read the letters those languages use, and bound a /ToUnicode map - #2
Merged
Conversation
pdffont v0.2.0 -> v0.3.0 (indirect), reader v0.4.1 -> v0.4.2. Reconstructed source is made of the text on the page, so a glyph name that read as nothing left a hole in it. The names covering Czech, Polish, Slovak, Hungarian, Turkish, Romanian, Latvian and Lithuanian letters all did, and names spelling more than one character were refused. The same pdffont release bounds how many codes one /ToUnicode map may name: 10 655 bytes of it used to produce 13 million entries, 1 054 MB and about ten seconds, per font, per page. reader v0.4.2 fixes InlineImage.Expanded, which walked the image dictionary in one pass and so let Go's randomised map iteration order decide between both spellings of a key -- /W beside /Width. A figure reconstructed as \includegraphics is written out from what that returns.
tannevaled
force-pushed
the
bump-pdfkit-deps
branch
from
August 27, 2026 12:57
ca0a1b8 to
13996e8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Measurements are being run now and will be added to this body before review.