From 2cb814d27cf734bad3393c6fdd843021de1b5e17 Mon Sep 17 00:00:00 2001 From: John McWilliams Date: Tue, 11 Feb 2025 08:45:23 -0500 Subject: [PATCH] Make f ligatures slightly wider under QP. --- changes/33.0.0.md | 2 ++ packages/font-glyphs/src/auto-build/composite.ptl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/changes/33.0.0.md b/changes/33.0.0.md index 35598894c7..b830435247 100644 --- a/changes/33.0.0.md +++ b/changes/33.0.0.md @@ -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`). diff --git a/packages/font-glyphs/src/auto-build/composite.ptl b/packages/font-glyphs/src/auto-build/composite.ptl index 53cf83a97b..0efb3ef063 100644 --- a/packages/font-glyphs/src/auto-build/composite.ptl +++ b/packages/font-glyphs/src/auto-build/composite.ptl @@ -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 @@ -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