fix(deps): update module github.com/go-opentype/opentype to v0.12.0 - autoclosed - #13
Closed
tannevaled wants to merge 1 commit into
Closed
fix(deps): update module github.com/go-opentype/opentype to v0.12.0 - autoclosed#13tannevaled wants to merge 1 commit into
tannevaled wants to merge 1 commit into
Conversation
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:
v0.6.0→v0.12.0Release Notes
go-opentype/opentype (github.com/go-opentype/opentype)
v0.12.0Compare Source
v0.11.0Compare Source
v0.10.0Compare Source
v0.9.0: — PostScript Type 1, and the dots back on the lettersCompare Source
ParseType1reads the format a PDF carries as aFontFile: eexec, the private dictionary,/Encoding,/Subrs,/CharStrings, and an interpreter for the Type 1 charstring operators — accent composition, flex, hint replacement and arithmetic included.Two defects the corpus found:
dotsection— a Type 1 hint operator that fonts converted to CFF still carry — was refused as unknown, which took the dot off everyi,j,colonandsemicolonin such a font.Measured over 118 863 real PDFs: 14 606 of 14 614 Type 1 programs read and 15 178 of 15 178 bare CFF ones; every glyph that does not draw is one with nothing to draw.
Details in #30.
v0.8.0: — a bare CFF program, addressed by nameCompare Source
ParseCFFreads a Compact Font Format program with no sfnt container around it — how a PDF carries one asFontFile3/Type1C.Font.GlyphName,Font.GlyphIndexByNameandFont.GlyphIndexByCodeaddress a font the way a document does: by name, or by a byte through the program's own built-in encoding.The 391 names every CFF font shares are checked rather than believed: against this package's own Standard Encoding table, and against 38 real OpenType fonts whose character maps say independently which character each named glyph is — 559 names, all agreeing.
Details in #29.
v0.7.0: — a font need not carry a character mapCompare Source
A font subset embedded in a PDF as a CIDFontType2 is addressed by glyph number through the document's own map, so the subset that gets embedded routinely leaves its
cmaptable out.Parserequired one, and refused every such font outright — leaving every glyph in it undrawn with nothing to say why.cmapis no longer required. A font without one parses, reports the newFont.HasCharacterMap() == false, and answersGlyphIndexwithok=falserather than dereferencing a table it has not got. Outlines and metrics by glyph number — everything such a font is for — work unchanged.Details in #28.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.