Make motion-serif variants work for Cyrillic letters having same outline like Latin u
(#692).
This commit is contained in:
parent
6ce09a5c10
commit
de804c206a
5 changed files with 25 additions and 7 deletions
|
@ -1 +1,2 @@
|
|||
* Add Gear symbol (`U+2699`).
|
||||
* Make motion-serif variants work for Cyrillic letters having same outline like Latin `u` (#692).
|
|
@ -241,6 +241,14 @@ glyph-block Letter-Cyrillic-Dzhe : begin
|
|||
include [refer-glyph 'u.tailed'] AS_BASE ALSO_METRICS
|
||||
include [refer-glyph 'descenderBarBelow']
|
||||
|
||||
create-glyph 'cyrl/dzhe.italicMotionSerifed' : glyph-proc
|
||||
include [refer-glyph 'u.motionSerifed'] AS_BASE ALSO_METRICS
|
||||
include [refer-glyph 'descenderBarBelow']
|
||||
|
||||
create-glyph 'cyrl/dzhe.italicMotionSerifedTailed' : glyph-proc
|
||||
include [refer-glyph 'u.motionSerifedTailed'] AS_BASE ALSO_METRICS
|
||||
include [refer-glyph 'descenderBarBelow']
|
||||
|
||||
select-variant 'cyrl/dzhe' 0x45F
|
||||
|
||||
|
||||
|
@ -525,6 +533,15 @@ glyph-block Letter-Cyrillic-Sha : begin
|
|||
include : FlipAround df.middle (XH / 2)
|
||||
include : RightwardTailedBar df.rightSB 0 XH (sw -- df.mvs)
|
||||
|
||||
turned 'cyrl/sha.italicMotionSerifed' null 'm.motionSerifed' [DivFrame para.diversityM 3].middle (XH / 2)
|
||||
create-glyph 'cyrl/sha.italicMotionSerifedTailed' : glyph-proc
|
||||
local df : DivFrame para.diversityM 3
|
||||
include [refer-glyph 'm.motionSerifed'] AS_BASE
|
||||
eject-contour 'barL'
|
||||
eject-contour 'serifLT'
|
||||
include : FlipAround df.middle (XH / 2)
|
||||
include : RightwardTailedBar df.rightSB 0 XH (sw -- df.mvs)
|
||||
|
||||
select-variant 'cyrl/sha' 0x448
|
||||
|
||||
define [CyrShchaShape top df] : glyph-proc
|
||||
|
|
|
@ -4719,7 +4719,7 @@ glyph-block Letter-Latin-Lower-H : begin
|
|||
include : LeftwardTopSerif SB CAP SideJut
|
||||
|
||||
select-variant 'h' 'h'
|
||||
alias 'cyrl/shha' 0x4BB 'h.straight'
|
||||
alias 'cyrl/shha' 0x4BB 'h'
|
||||
|
||||
with-related-glyphs 'h' 'hCedilla' 0x1E29 : lambda [src sel] : glyph-proc
|
||||
include [refer-glyph 'cedillaBelow']
|
||||
|
|
|
@ -907,9 +907,9 @@ variant.u = "motionSerifed"
|
|||
variantUpright."cyrl/i" = "upright"
|
||||
variantItalic."cyrl/i" = "italicMotionSerifed"
|
||||
variantUpright."cyrl/sha" = "upright"
|
||||
variantItalic."cyrl/sha" = "italicStraight"
|
||||
variantItalic."cyrl/sha" = "italicMotionSerifed"
|
||||
variantUpright."cyrl/dzhe" = "upright"
|
||||
variantItalic."cyrl/dzhe" = "italicStraight"
|
||||
variantItalic."cyrl/dzhe" = "italicMotionSerifed"
|
||||
|
||||
[simple.v-u-motion-serifed-tailed]
|
||||
tag = "VXEU"
|
||||
|
@ -919,9 +919,9 @@ variant.u = "motionSerifedTailed"
|
|||
variantUpright."cyrl/i" = "upright"
|
||||
variantItalic."cyrl/i" = "italicMotionSerifedTailed"
|
||||
variantUpright."cyrl/sha" = "upright"
|
||||
variantItalic."cyrl/sha" = "italicTailed"
|
||||
variantItalic."cyrl/sha" = "italicMotionSerifedTailed"
|
||||
variantUpright."cyrl/dzhe" = "upright"
|
||||
variantItalic."cyrl/dzhe" = "italicTailed"
|
||||
variantItalic."cyrl/dzhe" = "italicMotionSerifedTailed"
|
||||
|
||||
[simple.v-v-straight]
|
||||
tag = "cv71"
|
||||
|
|
|
@ -7,7 +7,7 @@ module.exports = [
|
|||
[[0x02b0, 0x02ff], "Spacing Modifier Letters"],
|
||||
[[0x0300, 0x036f], "Combining Diacritical Marks"],
|
||||
[[0x0370, 0x03ff], "Greek and Coptic"],
|
||||
[[0x0400, 0x04ff], "cyrl/illic"],
|
||||
[[0x0400, 0x04ff], "Cyrillic"],
|
||||
[[0x0500, 0x052f], "Cyrillic Supplement"],
|
||||
[[0x0530, 0x058f], "Armenian"],
|
||||
[[0x0590, 0x05ff], "Hebrew"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue