-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for two bugs related to Unicode translation support by Font objects #698
Merged
Commits on Apr 5, 2024
-
Fix for two bugs related to Unicode translation support by Font objects
Symptom was that some documents' contents was rendering as a bunch of control characters. These are the untranslated strings. This was happening because for two different reasons, these strings weren't being translated \Smalot\PdfParser\Font::decodeContent() in some circumstances. First fix is to \Smalot\PdfParser\Font::loadTranslateTable(): - Fixed bug where bfchar sections weren't loaded due to mistake in regexp. - It now uses `*` instead of `+` and thus supports translation tables with lines like `<0000><0000>`. (Required `<0000> <0000>` before.) Second fix is for documents that attach their Font objects to the Pages object instead of each Page object: - \Smalot\PdfParser\Page now has a setFonts() method - \Smalot\PdfParser\Pages now declares its $fonts variable - \Smalot\PdfParser\Pages::getPages() now applies the object's fonts to each child Page - \Smalot\PdfParser\Pages::getFonts() copied from Page class
Configuration menu - View commit details
-
Copy full SHA for e1edb34 - Browse repository at this point
Copy the full SHA e1edb34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c96c145 - Browse repository at this point
Copy the full SHA c96c145View commit details
Commits on Apr 10, 2024
-
Update src/Smalot/PdfParser/Page.php to make doc comment for setFonts()
Co-authored-by: Konrad Abicht <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd947ad - Browse repository at this point
Copy the full SHA cd947adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c1c349 - Browse repository at this point
Copy the full SHA 6c1c349View commit details
Commits on Apr 19, 2024
-
new getFonts method not only returned stored fonts but also built related fonts list. With this changes its easier to test and the replacement (setupFonts) only builds the fonts list. Also refined some phpdoc comments.
Configuration menu - View commit details
-
Copy full SHA for 8a8ea2c - Browse repository at this point
Copy the full SHA 8a8ea2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b20ee6a - Browse repository at this point
Copy the full SHA b20ee6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f761dd7 - Browse repository at this point
Copy the full SHA f761dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab1c62b - Browse repository at this point
Copy the full SHA ab1c62bView commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ff83e11 - Browse repository at this point
Copy the full SHA ff83e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9831b93 - Browse repository at this point
Copy the full SHA 9831b93View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab010ff - Browse repository at this point
Copy the full SHA ab010ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe21246 - Browse repository at this point
Copy the full SHA fe21246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6899a17 - Browse repository at this point
Copy the full SHA 6899a17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34012c2 - Browse repository at this point
Copy the full SHA 34012c2View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7d93afe - Browse repository at this point
Copy the full SHA 7d93afeView commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 80b3e30 - Browse repository at this point
Copy the full SHA 80b3e30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c64f4e - Browse repository at this point
Copy the full SHA 4c64f4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf91ad2 - Browse repository at this point
Copy the full SHA bf91ad2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b21319 - Browse repository at this point
Copy the full SHA 4b21319View commit details
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aa3adfc - Browse repository at this point
Copy the full SHA aa3adfcView commit details
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.