Repository navigation
Geist Mono: Version 1.701 (hotfix for liga regression) - #10540
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Drops the `liga` (Standard Ligatures) OpenType feature that was unintentionally introduced in v1.700 (google#10407). `liga` is on by default in every OpenType renderer, so the programming-ligature substitutions added in vercel/geist-font@6ad0ea2 were firing against source-code text — e.g. `--debug-prerender`, `[id...]`, `[...id]`, `NODE_OPTIONS='--debug-prerender' node`. The regression was reverted upstream in vercel/geist-font#217. This PR pulls the post-revert artifacts: source.commit is bumped to vercel/geist-font@77f0563c. fontRevision goes 1.700 -> 1.701; all other OpenType features (aalt, case, ccmp, dnom, frac, locl, numr, ordn, sinf, ss01-ss11, subs, sups) and glyph counts are unchanged.
c112824 to
9e25e2b
Compare
|
thank you @christopherkindl, I'll review this asap! :) |
Thanks @emmamarichal – would it be possible to get this in today? quite a visible bug in one of our fonts. So many thanks in advance! (Two CI checks are failing, both because of GitHub's policy of not exposing repo secrets to PRs opened from forks. Thanks for re-running them!) |
|
Hello @mootari, the fix isn't live yet :) |

Taken from the upstream repo https://github.com/vercel/geist-font at commit vercel/geist-font@77f0563.
This is a hotfix for v1.700 (added in #10407). v1.700 unintentionally activated programming-ligature substitutions (
-->,==,!=,...,--, etc.) under theliga(Standard Ligatures) feature, which is on by default in every OpenType renderer. As a result, source-code text rendered with Geist Mono ligates aggressively and breaks character-for-character monospace alignment — e.g.--debug-prerender,[id...],[...id],NODE_OPTIONS='--debug-prerender' node.The regression was bisected to vercel/geist-font@6ad0ea2 and reverted in vercel/geist-font#217.
What changed
ofl/geistmono/GeistMono[wght].ttf—ligafeature dropped,fontRevision1.700 → 1.701, version stringVersion 1.700→Version 1.701. All other features (aalt,case,ccmp,dnom,frac,locl,numr,ordn,sinf,ss01-ss11,subs,sups) and glyph counts are unchanged.ofl/geistmono/GeistMono-Italic[wght].ttf— same change.ofl/geistmono/METADATA.pb—source.commitupdated to point at the post-revert head ofvercel/geist-fontmain.Repro
On https://fonts.google.com/specimen/Geist+Mono with the v1.700 preview, paste:
Each of the
--,..., and--sequences renders as a ligated glyph. With v1.701 (this PR) they render literally.Note on regeneration
These binaries were produced by stripping the offending
ligafeature directly from the v1.700 release artifacts and bumping the version. If the Google Fonts team prefers a cleangftools packagerrun againstvercel/geist-font@77f0563c, that produces an equivalent result — the underlying source revert is already merged onmain.PR Checklist:
PR
QA