Skip to content

Commit 0e3f3fc

Browse files
Add variant selectors for Greek Lower Eta/Kappa. (be5invis#2703)
1 parent d176efd commit 0e3f3fc

File tree

6 files changed

+270
-87
lines changed

6 files changed

+270
-87
lines changed

changes/33.1.0.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
* Add full-serifed variants for `K` and `k`, and related letters (#2696).
2-
* Add cursive variant for Greek Lower Theta (`θ`).
1+
* Add `full-serifed` and `tri-serifed` variants for `K` and `k`, and related letters (#2696).
2+
* Add `cursive` variant for Greek Lower Theta (`θ`).
33
* Add IPA localization form for Latin Lower G with Stroke (`ǥ`).
4+
* Add variant selectors for Greek Lower Eta (`η`) and Kappa (`κ`).

packages/font-glyphs/src/letter/latin/k.ptl

+7-5
Original file line numberDiff line numberDiff line change
@@ -414,13 +414,14 @@ glyph-block Letter-Latin-K : begin
414414
topLeftSerifed { 2 0 0 }
415415
bottomRightSerifed { 0 0 1 }
416416
topLeftAndBottomRightSerifed { 2 0 1 }
417-
serifedKra { 2 1 3 }
418-
serifedKappa { 2 0 3 }
417+
triSerifed : match body
418+
[Just 'symmetricConnectedKH'] { 2 0 2 }
419+
__ { 2 0 3 }
420+
serifedKappa { 2 1 3 }
419421
serifed : match body
420422
[Just 'symmetricConnectedKH'] { 1 1 2 }
421423
__ { 1 1 3 }
422-
fullSerifedKra { 2 1 7 }
423-
fullSerifedKappa { 2 0 7 }
424+
fullSerifedKappa { 2 1 7 }
424425
fullSerifed : match body
425426
[Just 'symmetricConnectedKH'] { 1 1 6 }
426427
__ { 1 1 7 }
@@ -560,6 +561,7 @@ glyph-block Letter-Latin-K : begin
560561
topLeftSerifed { 1 0 0 }
561562
bottomRightSerifed { 0 0 1 }
562563
topLeftAndBottomRightSerifed { 1 0 1 }
564+
triSerifed { 1 0 3 }
563565
serifed { 1 1 3 }
564566
fullSerifed { 1 1 7 }
565567

@@ -646,7 +648,7 @@ glyph-block Letter-Latin-K : begin
646648
select-variant 'cyrl/kaVBar' 0x49D (shapeFrom -- 'smcpKVBar') (follow -- 'cyrl/kaVBar')
647649
select-variant 'cyrl/kaHook' 0x4C4 (shapeFrom -- 'smcpK') (follow -- 'cyrl/kaHook')
648650

649-
select-variant 'KHookTop' 0x198 (follow -- 'K')
651+
select-variant 'KHookTop' 0x198
650652
select-variant 'kHookTop' 0x199
651653

652654
derive-composites 'cyrl/KaAleut' 0x51E 'cyrl/Ka' 'aleutSlashOver'

packages/font-glyphs/src/letter/latin/lower-n.ptl

+6-2
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,12 @@ glyph-block Letter-Latin-Lower-N : begin
189189
if sLB : include : sLB [DivFrame 1] 0
190190
if sRB : include : sRB [DivFrame 1] Descender
191191

192-
if (!tailed && !sRB) : create-glyph "grek/eta.\(suffix)" : glyph-proc
193-
include [refer-glyph "latn/eta.\(suffix)"] AS_BASE ALSO_METRICS
192+
if (!tailed) : create-glyph "grek/eta.\(suffix)" : glyph-proc
193+
include : MarkSet.p
194+
include : LeaningAnchor.Below.VBar.r RightSB
195+
include : Body XH SB RightSB Descender Stroke
196+
if sLT : include : sLT [DivFrame 1] XH
197+
if sLB : include : sLB [DivFrame 1] 0
194198
set-base-anchor 'lf' (SB + HalfStroke) 0
195199

196200
if (!tailed) : create-glyph "nCrossedTail.\(suffix)" : glyph-proc

0 commit comments

Comments
 (0)