Skip to content

Commit

Permalink
Make f ligatures slightly wider under QP.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcwilliams403 committed Feb 11, 2025
1 parent e28813f commit 2cb814d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changes/33.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@
- CYRILLIC CAPITAL LETTER HWE (`U+A694`).
- LATIN CAPITAL LETTER REVERSED HALF H (`U+A7F5`).
- LATIN SMALL LETTER REVERSED HALF H (`U+A7F6`).
* Make certain characters slightly wider under Quasi-Proportional. Affected characters:
- LATIN SMALL LIGATURE FF (`U+FB00`) ... LATIN SMALL LIGATURE FFL (`U+FB04`).
4 changes: 2 additions & 2 deletions packages/font-glyphs/src/auto-build/composite.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ glyph-block Autobuild-Pnonetic-Ligatures : begin
define [ToLetter] : glyph-proc

define stdShrink : clamp 0.625 0.9 : StrokeWidthBlend 0.625 0.9
createPhoneticLigatures ToLetter 'phonetic1' 1 2 stdShrink 1 : list
createPhoneticLigatures ToLetter 'phonetic1' (para.advanceScaleF * para.advanceScaleMM) 2 stdShrink 1 : list
list 0xFB00 { 'f' 'f' } null
list 0xFB01 { 'f/compLigLeft1' 'dotlessi/compLigRight' } null
list 0xFB02 { 'f/compLigLeft2' 'l/compLigRight' } null
Expand All @@ -1642,7 +1642,7 @@ glyph-block Autobuild-Pnonetic-Ligatures : begin
list 0xFB05 { 'longs/compLigLeft' 't/compLigRight' } null
list 0xFB06 { 's/compLigLeft' 't/compLigRight' } null

createPhoneticLigatures ToLetter 'phonetic3' para.advanceScaleMM 3 stdShrink 1 : list
createPhoneticLigatures ToLetter 'phonetic3' (para.advanceScaleF * [mix 1 para.advanceScaleMM 2]) 3 stdShrink 1 : list
list 0xFB03 { 'f/compLigLeft1' 'f/compLigLeft1' 'dotlessi/compLigRight' } null
list 0xFB04 { 'f/compLigLeft3' 'f/compLigLeft2' 'l/compLigRight' } null

Expand Down

0 comments on commit 2cb814d

Please sign in to comment.