Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize widths of seven composite characters. #2598

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changes/32.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
- LATIN LETTER SMALL CAPITAL M (`U+1D0D`).
- LATIN LETTER SMALL CAPITAL W (`U+1D21`).
- GREEK LETTER SMALL CAPITAL PSI (`U+1D2A`).
- TELEPHONE SIGN (`U+2121`).
- FACSIMILE SIGN (`U+213B`).
- CYRILLIC SMALL LETTER SOFT EM (`U+A667`).
- LATIN LETTER SMALL CAPITAL TURNED M (`U+A7FA`).
- MODIFIER LETTER SMALL CAPITAL AA (`U+10780`).
- MODIFIER LETTER SMALL CAPITAL OE (`U+107A3`).
- MODIFIER LETTER CYRILLIC SMALL EM (`U+1E03B`).
* Make LATIN SMALL LIGATURE FF (`U+FB00`) ... LATIN SMALL LIGATURE FFL (`U+FB04`) slightly narrower under Quasi-Proportional.
14 changes: 8 additions & 6 deletions packages/font-glyphs/src/auto-build/composite.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,12 @@ glyph-block Autobuild-Pnonetic-Ligatures : begin
define [ToLetter] : glyph-proc

define stdShrink : clamp 0.625 0.9 : StrokeWidthBlend 0.625 0.9
createPhoneticLigatures ToLetter 'phonetic' para.diversityM 2 stdShrink 1 : list
createPhoneticLigatures ToLetter 'phonetic1' 1 2 stdShrink 1 : list
list 0xFB00 { 'f' 'f' } null
list 0xFB01 { 'f/compLigLeft1' 'dotlessi/compLigRight' } null
list 0xFB02 { 'f/compLigLeft2' 'l/compLigRight' } null

createPhoneticLigatures ToLetter 'phonetic2' para.diversityM 2 stdShrink 1 : list
list 0x02A3 { 'd/phoneticLeft' 'z/phoneticRight' } 'b'
list 0x02A4 { 'd/phoneticLeft' 'ezh/phoneticRight' } 'bp'
list 0x02A5 { 'd/phoneticLeft' 'zCurlyTail/phoneticRight' } 'b'
Expand All @@ -1632,17 +1637,14 @@ glyph-block Autobuild-Pnonetic-Ligatures : begin
list 0xAB67 { 't/phoneticLeft1' 'sRTail' } 'bp'
list 0x1DF12 { 'd/phoneticLeft' 'ezhPalatalHook/phoneticRight' } 'bp'
list 0x1DF17 { 't/teshLeft' 'eshPalatalHook' } 'bp'
list 0xFB00 { 'f' 'f' } null
list 0xFB01 { 'f/compLigLeft1' 'dotlessi/compLigRight' } null
list 0xFB02 { 'f/compLigLeft2' 'l/compLigRight' } null
list 0xFB05 { 'longs/flatExt' 't/phoneticRight' } null
list 0xFB06 { 's/compLigLeft' 't/phoneticRight' } null

createPhoneticLigatures ToLetter 'phonetic2' [mix 1 para.diversityM 1.5] 3 stdShrink 1 : list
createPhoneticLigatures ToLetter 'phonetic3' para.diversityM 3 stdShrink 1 : list
list 0xFB03 { 'f/compLigLeft1' 'f/compLigLeft1' 'dotlessi/compLigRight' } null
list 0xFB04 { 'f/compLigLeft3' 'f/compLigLeft2' 'l/compLigRight' } null

createPhoneticLigatures ToLetter 'phonetic3' [mix 1 para.diversityM 2] 3 1 0.5 : list
createPhoneticLigatures ToLetter 'phoneticSmcp' [mix 1 para.diversityM 1.5] 3 1 0.5 : list
list 0x2121 { 'smcpT' 'smcpE' 'smcpL' } 'e'
list 0x213B { 'smcpF' 'smcpA' 'smcpX' } 'e'

Expand Down
Loading