Skip to content

Commit

Permalink
Add some ccmp overrides, two spaces, and one punc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcwilliams403 committed Aug 27, 2024
1 parent 2427404 commit 1b94170
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 6 deletions.
5 changes: 5 additions & 0 deletions changes/31.4.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* Add characters:
- IDEOGRAPHIC SPACE (`U+3000`) (#759).
- KAYAH LI SIGN CWI (`U+A92E`).
- ZERO WIDTH NON-BREAKING SPACE (`U+FEFF`).
* Add APL form (`APLF`) for `U+25E0` and `U+25E1`, for UIUA.
17 changes: 13 additions & 4 deletions packages/font-glyphs/src/meta/unicode-knowledge.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ export : define ccmpCombinations : list

# Retroflex hooks
list {0x0053 0x0322} 0xA7C5 # S
list {0x0071 0x0322} 0x024B # q
list {0x0073 0x0322} 0x0282 # s
list {0x0279 0x0322} 0x027B # ɹ
list {0x027F 0x0322} 0x0285 # ɿ
Expand All @@ -378,16 +379,24 @@ export : define ccmpCombinations : list
list {0x02E2 0x0322} 0x1DB3 # ˢ
list {0xA71D 0x0322} 0x107B9 # ꜝ

# Long stroke overlays
list {0x004F 0x0336} 0xA74A # O
list {0x006F 0x0336} 0xA74B # o

# Short stroke overlays
list {0x0044 0x0335} 0xA7C7 # D
list {0x0053 0x0335} 0xA7C9 # S
list {0x0064 0x0335} 0xA7C8 # d
list {0x0073 0x0335} 0xA7CA # s

# Long stroke overlays
list {0x004F 0x0336} 0xA74A # O
list {0x006F 0x0336} 0xA74B # o

# Smooth breathings
list {0x0041 0x0486} 0xA7BA # A
list {0x0049 0x0486} 0xA7BC # I
list {0x0055 0x0486} 0xA7BE # U
list {0x0061 0x0486} 0xA7BB # a
list {0x0069 0x0486} 0xA7BD # i
list {0x0075 0x0486} 0xA7BF # u

# Ring overlays
list {0x006C 0x20D8} 0xAB39 # l
list {0x2190 0x20D8} 0x2B30 # ←
Expand Down
5 changes: 5 additions & 0 deletions packages/font-glyphs/src/space/index.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ glyph-block Spaces : begin
alias 'invisibleTimes' 0x2062 'zwsp'
alias 'invisibleSeparator' 0x2063 'zwsp'
alias 'invisiblePlus' 0x2064 'zwsp'
alias 'zwnbsp' 0xFEFF 'zwsp'

create-glyph 'cgj' 0x34F : glyph-proc
set-width 0
Expand All @@ -71,3 +72,7 @@ glyph-block Spaces : begin
create-glyph [MangleName 'emsp'] [MangleUnicode 0x2003] : glyph-proc
set-width : if (para.isQuasiProportional && MosaicWidthScalar > 1) UPM MosaicWidth
alias [MangleName 'emquad'] [MangleUnicode 0x2001] [MangleName 'emsp']

if (!para.forceMonospace && MosaicWidthScalar > 1) : begin
create-glyph 'idsp' 0x3000 : glyph-proc
set-width : if para.isQuasiProportional UPM MosaicWidth
6 changes: 4 additions & 2 deletions packages/font-glyphs/src/symbol/math/apl.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ glyph-block Symbol-Math-APL : begin
LinkAplFormForNwidWwid 'vBarSquare'
LinkAplFormForNwidWwid 'zigZagArrow'
LinkAplFormForNwidWwid 'uni21CC'
LinkAplFormForNwidWwid 'uni2335'
LinkAplFormForNwidWwid 'uni238B'
LinkAplFormForNwidWwid 'uni25E0'
LinkAplFormForNwidWwid 'uni25E1'
LinkAplFormForNwidWwid 'uni25F0'
LinkAplFormForNwidWwid 'uni25F3'
LinkAplFormForNwidWwid 'uni25F4'
LinkAplFormForNwidWwid 'uni2335'
LinkAplFormForNwidWwid 'uni238B'
LinkAplFormForNwidWwid 'uni2682'
1 change: 1 addition & 0 deletions packages/font-glyphs/src/symbol/punctuation/ties.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ glyph-block Symbol-Punctuation-Ties : begin
create-glyph "symbolMidTie" : TieShape (- Descender / 3) 2
create-glyph "frown" 0x2322 : TieShape (SymbolMid + Descender / 3 + OperatorStroke / 4) 2
create-glyph "smile" 0x2323 : TieShape (SymbolMid - Descender / 3 - OperatorStroke / 4) (-2)
create-glyph "kali/cwi" 0xA92E : TieShape (XH / 2 + Descender / 3 + OperatorStroke / 4) 2

0 comments on commit 1b94170

Please sign in to comment.