Skip to content

fix(deps): update module github.com/go-opentype/opentype to v0.18.0 - #23

Merged
tannevaled merged 1 commit into
mainfrom
renovate/deps
Nov 8, 2026
Merged

tannevaled merged 1 commit into
mainfrom
renovate/deps

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/go-opentype/opentype v0.17.0 → v0.18.0 age confidence

Release Notes

go-opentype/opentype (github.com/go-opentype/opentype)

v0.18.0

Compare Source

GPOS kerning now follows the spec's two different stopping rules instead of one.

A pair covered by an early kern lookup with an explicit zero reported no kerning at all, because Kern returned at the first lookup whose pair-adjustment subtable covered the pair. OpenType stops at the first matching subtable within a lookup, but processes lookups in LookupList order, each acting on the previous ones' results — so their adjustments add (spec, chapter 2).

Libertinus Serif files four separate kern feature records: its lookup 0 covers A/V with 0 and its lookup 6 covers the same pair with −112. Every AV in that family came out 1.12pt too wide at 10pt.

Kerner.Kerning also now asks whether GPOS covered the pair rather than whether it answered non-zero — a zero in a pair-adjustment lookup is the font saying "no adjustment between these two", which is an answer. A pair no GPOS lookup mentions still falls through to the legacy kern table.

Measured, in font units

pair before after
Libertinus Serif AV 0 −112
Libertinus Serif To 0 −63
TeXGyreTermesX AV −130 −130 (control)
TeXGyreTermesX To −90 −90 (control)

Downstream, go-tex's \hbox{AV} at 10pt in Libertinus went from 13.47pt to 12.35pt, against XeTeX's 12.35pt.

This is a minor rather than a patch because it changes the kerning a caller gets for any font that files a pair in more than one lookup; a downstream fidelity floor measured against the old values will need re-measuring.

#​63

🤖 Generated with Claude Code

v0.17.1

Compare Source

What's Changed

  • README: the OS/2 line metrics, and which set Ascent/Descent belong to by @​tannevaled in #​58
  • fix(deps): update module github.com/andybalholm/brotli to v1.2.8 by @​tannevaled in #​60
  • NewFaceAt: a face at a fractional size, for a caller that counts finer than a pixel by @​tannevaled in #​62

Full Changelog: go-opentype/opentype@v0.17.0...v0.17.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@tannevaled
tannevaled merged commit 5f22bf5 into main Nov 8, 2026
1 check passed
@tannevaled
tannevaled deleted the renovate/deps branch November 8, 2026 07:01
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