chore(deps): update ttfunk-and-prawn (minor)#444
Draft
renovate[bot] wants to merge 2 commits intodevelopfrom
Draft
chore(deps): update ttfunk-and-prawn (minor)#444renovate[bot] wants to merge 2 commits intodevelopfrom
renovate[bot] wants to merge 2 commits intodevelopfrom
Conversation
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
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.
This PR contains the following updates:
'~> 2.4.0'->'~> 2.5.0''~> 1.7.0'->'~> 1.8.0'Release Notes
prawnpdf/prawn (prawn)
v2.5.0Compare Source
Full font embedding
Fonts can be embedded in their original form without subsetting or any other
modification.
(Alexander Mankuta, #1322)
prawnpdf/ttfunk (ttfunk)
v1.8.0Compare Source
Fixed
Corrupted CFF index data
there was a subtle bug in cff index implementation that resulted in
a data corruption. in certain circumstances some items didn't get
properly encoded. this happened when items were not previously accessed.
this resulted, for instance, in missing glyphs. but only sometimes
because indexes might've still contain data that shouldn't've been
there. in combination with incorrect encoding (see further) this
resulted in some glyphs still being rendered, sometimes even correctly.
along with the fix a rather large api change landed. this resulted in
quite a big diff.
Alexander Mankuta
Incorrect CFF encoding in subsets
TTFunk used to reuse encoding from the original font. This mapping was
incorrect for subset fonts which used not just a subset of glyphs but
also a different encoding.
A separate issue was that some fonts have empty CFF encoding. This
incorrect mapping resulted in encoding that mapped all codes to glyph 0.
This had impact on Prawn in particular. PDF spec explicitly says that
CFF encoding is not to be used in OpenType fonts.
cmaptable shoulddirectly index charstrings in the CFF table. Despite this PDF renderers
still use CFF encoding to retrieve glyphs. So TTFunk has to discard the
original CFF encoding and supply its own.
Alexander Mankuta
maxptableThe table is now correctly parsed and encoded for both TrueType and CFF-based
OpenType fonts.
Cameron Dutro, Alexander Mankuta
Files are closed sooner
Files were garbage collected but could stay open for longer than necessary.
Jon Burgess
Long date time in the
headtableThe
createdandmodifiedfields we parsed and encoded with incorrectendiannes. Additionally helper methods were added to convert these fields to
and from Ruby
Time.Jens Kutilek, Peter Goldstein
Removed execution permissions on non-executable files
Keenan Brock
Changes
Minimum Ruby is 2.7
Alexander Mankuta
Performance improvement in subsets construction
Thomas Leitner
CI improvememnts
Peter Goldstein
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.