Make cyrl/ue
and latn/gamma
respond to italics (#2180)
This commit is contained in:
parent
cb6a92add3
commit
f6e81fc45b
4 changed files with 9 additions and 2 deletions
|
@ -2,3 +2,4 @@
|
|||
* Add IPA localization forms for Greek Lower Beta (`β`) and Chi (`χ`).
|
||||
* Add APLF variants for `U+25F0`, `U+25F3`, and `U+25F4`.
|
||||
* Fix serif form for Cyrillic Lower Tall / Iotified Yat (#2178).
|
||||
* Make top serifs of Cyrillic Lower Straight U (`ү`, `ұ`) and Latin Lower Gamma (`ɣ`) respond to italics.
|
||||
|
|
|
@ -31,7 +31,7 @@ glyph-block Letter-Latin-Rams-Horn : begin
|
|||
include : LatinGammaShape Descender XH
|
||||
if SLAB : begin
|
||||
local sf : SerifFrame.fromDf [DivFrame 1] XH Descender
|
||||
include : composite-proc sf.lt.full sf.rt.full
|
||||
include : if para.isItalic sf.lt.outer [composite-proc sf.lt.full sf.rt.full]
|
||||
|
||||
create-glyph 'latn/Gamma' 0x194 : glyph-proc
|
||||
include : MarkSet.capDesc
|
||||
|
|
|
@ -20,6 +20,7 @@ glyph-block Letter-Latin-Upper-Y : begin
|
|||
define SLAB-ALL 1
|
||||
define SLAB-BASE 2
|
||||
define SLAB-MOTION 3
|
||||
define SLAB-CYRL 4
|
||||
|
||||
define [YCrossPos top bot] : mix bot top 0.4
|
||||
|
||||
|
@ -31,6 +32,9 @@ glyph-block Letter-Latin-Upper-Y : begin
|
|||
include : HSerif.mb Middle bot MidJutSide
|
||||
[Just SLAB-MOTION] : include sf.lt.outer
|
||||
[Just SLAB-BASE] : include : HSerif.mb Middle bot MidJutSide
|
||||
[Just SLAB-CYRL] : begin
|
||||
include : if para.isItalic sf.lt.outer [composite-proc sf.lt.full sf.rt.full]
|
||||
include : HSerif.mb Middle bot MidJutSide
|
||||
|
||||
define [YShape bodyType slabType top bot] : glyph-proc
|
||||
local cross : YCrossPos top bot
|
||||
|
@ -90,6 +94,8 @@ glyph-block Letter-Latin-Upper-Y : begin
|
|||
curlyMotionSerifed { BODY-CURLY SLAB-MOTION }
|
||||
straightSerifed { BODY-STRAIGHT SLAB-ALL }
|
||||
curlySerifed { BODY-CURLY SLAB-ALL }
|
||||
straightSmallCyrl { BODY-STRAIGHT SLAB-CYRL }
|
||||
curlySmallCyrl { BODY-CURLY SLAB-CYRL }
|
||||
|
||||
foreach { suffix { bodyType slabType } } [Object.entries YConfig] : do
|
||||
create-glyph "Y.\(suffix)" : glyph-proc
|
||||
|
|
|
@ -1393,7 +1393,7 @@ selectorAffix.Y = "serifed"
|
|||
selectorAffix."Y/sansSerif" = "serifless"
|
||||
selectorAffix.YLoop = "serifed"
|
||||
selectorAffix."grek/UpsilonHookTop" = "BaseSerifed"
|
||||
selectorAffix."cyrl/ue" = "serifed"
|
||||
selectorAffix."cyrl/ue" = "smallCyrl"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue