Miscellaneous additions to Latin Ext C/D/E (#1594)

This commit is contained in:
John McWilliams 2023-03-09 19:00:08 -05:00 committed by GitHub
parent 83df8bea3c
commit 7b6550f42d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 32 additions and 1 deletions

View file

@ -5,6 +5,8 @@ import [mix linreg clamp fallback] from"../../../support/utils.mjs"
glyph-module glyph-module
glyph-block Letter-Cyrillic-Omega : begin glyph-block Letter-Cyrillic-Omega : begin
glyph-block-import CommonShapes
glyph-block-import Common-Derivatives
glyph-block-import Letter-Shared : CreateAccentedComposition glyph-block-import Letter-Shared : CreateAccentedComposition
glyph-block-import Letter-Latin-W glyph-block-import Letter-Latin-W
glyph-block-import Letter-Cyrillic-Te-Comb glyph-block-import Letter-Cyrillic-Te-Comb
@ -50,11 +52,15 @@ glyph-block Letter-Cyrillic-Omega : begin
include : [DivFrame df.div].markSet.capital include : [DivFrame df.div].markSet.capital
include : CyrlOmegaShape df CAP 0.30 0.31 include : CyrlOmegaShape df CAP 0.30 0.31
alias 'latn/Omega' 0xA7B6 'cyrl/BroadOmega'
create-glyph 'cyrl/broadOmega' 0xA64D : glyph-proc create-glyph 'cyrl/broadOmega' 0xA64D : glyph-proc
define df : DivFrame para.diversityM 3 define df : DivFrame para.diversityM 3
set-width df.width set-width df.width
include : [DivFrame df.div].markSet.e include : [DivFrame df.div].markSet.e
include : CyrlOmegaShape df XH 0.30 0.31 include : CyrlOmegaShape df XH 0.30 0.31
alias 'latn/omega' 0xA7B7 'cyrl/broadOmega'
CreateAccentedComposition 'cyrl/Ot' 0x47E 'cyrl/Omega' 'cyrl/teAbove' CreateAccentedComposition 'cyrl/Ot' 0x47E 'cyrl/Omega' 'cyrl/teAbove'
CreateAccentedComposition 'cyrl/ot' 0x47F 'cyrl/omega' 'cyrl/teAbove' CreateAccentedComposition 'cyrl/ot' 0x47F 'cyrl/omega' 'cyrl/teAbove'

View file

@ -167,6 +167,10 @@ glyph-block Letter-Latin-Lower-D : begin
include : Translate (Width - HalfStroke) 0 include : Translate (Width - HalfStroke) 0
include [refer-glyph base] AS_BASE include [refer-glyph base] AS_BASE
create-glyph 'dbar' 0xA7C8 : glyph-proc
include [refer-glyph 'd'] AS_BASE
include : HBar.m (SB + OX + 1) (RightSB - OX - 1) (XH * 0.5) OverlayStroke
glyph-block-import Letter-Blackboard : BBS BBD BBBarRight glyph-block-import Letter-Blackboard : BBS BBD BBBarRight
create-glyph 'mathbb/d' 0x1D555 : glyph-proc create-glyph 'mathbb/d' 0x1D555 : glyph-proc
include : MarkSet.b include : MarkSet.b

View file

@ -97,6 +97,8 @@ glyph-block Letter-Latin-Lower-H : begin
turned 'turnh' 0x265 'h' Middle (XH / 2) [MarkSet.p] turned 'turnh' 0x265 'h' Middle (XH / 2) [MarkSet.p]
select-variant 'hBar' 0x127 (follow -- 'h') select-variant 'hBar' 0x127 (follow -- 'h')
derive-composites 'hDescender' 0x2C68 'h' [CyrDescender.rSideJut RightSB 0]
select-variant 'cyrl/shha' 0x4BB (shapeFrom -- 'h') select-variant 'cyrl/shha' 0x4BB (shapeFrom -- 'h')
derive-composites 'cyrl/shhaDescender' 0x527 'cyrl/shha' [CyrDescender.rSideJut RightSB 0] derive-composites 'cyrl/shhaDescender' 0x527 'cyrl/shha' [CyrDescender.rSideJut RightSB 0]

View file

@ -155,6 +155,8 @@ glyph-block Letter-Latin-Lower-N : begin
CreateAccentedComposition 'nTildeOver' 0x1D70 'n' 'tildeOverWide' CreateAccentedComposition 'nTildeOver' 0x1D70 'n' 'tildeOverWide'
derive-composites 'nDescender' 0xA791 'n' [CyrDescender.rSideJut RightSB 0]
derive-composites 'cyrl/peDescender.italic' null 'cyrl/peItalicDescBase' [CyrDescender.rSideJut RightSB 0] derive-composites 'cyrl/peDescender.italic' null 'cyrl/peItalicDescBase' [CyrDescender.rSideJut RightSB 0]
derive-composites 'nPalatalHook' 0x1D87 'n/descBase' derive-composites 'nPalatalHook' 0x1D87 'n/descBase'
PalatalHook.r PalatalHook.r

View file

@ -359,6 +359,14 @@ glyph-block Letter-Latin-S : begin
derive-composites 'SCedilla' 0x15E 'S' 'cedillaExtShapeBelowOArc' derive-composites 'SCedilla' 0x15E 'S' 'cedillaExtShapeBelowOArc'
derive-composites 'sCedilla' 0x15F 's' 'cedillaExtShapeBelowSOArc' derive-composites 'sCedilla' 0x15F 's' 'cedillaExtShapeBelowSOArc'
create-glyph 'Sbar' 0xA7C9 : glyph-proc
include [refer-glyph 'S'] AS_BASE
include : HBar.m (SB + OX + 1) (RightSB - OX - 1) (CAP * 0.5) OverlayStroke
create-glyph 'sbar' 0xA7CA : glyph-proc
include [refer-glyph 's'] AS_BASE
include : HBar.m (SB + OX + 1) (RightSB - OX - 1) (XH * 0.5) OverlayStroke
create-glyph 'mathbb/S' 0x1D54A : glyph-proc create-glyph 'mathbb/S' 0x1D54A : glyph-proc
include : MarkSet.capital include : MarkSet.capital
define theta : Math.PI / 4 define theta : Math.PI / 4

View file

@ -91,6 +91,10 @@ glyph-block Letter-Latin-Upper-D : begin
alias 'Dcroat' 0x110 'Eth' alias 'Dcroat' 0x110 'Eth'
alias 'arficanD' 0x189 'Eth' alias 'arficanD' 0x189 'Eth'
create-glyph 'Dbar' 0xA7C7 : glyph-proc
include [refer-glyph 'D'] AS_BASE
include : HBar.m (SB + OX + 1) (RightSB - OX - 1) (CAP * 0.5) OverlayStroke
select-variant 'smcpD' 0x1D05 (follow -- 'D') select-variant 'smcpD' 0x1D05 (follow -- 'D')
derive-glyphs 'smcpEth' 0x1D06 'smcpD' : lambda [src gr] : glyph-proc derive-glyphs 'smcpEth' 0x1D06 'smcpD' : lambda [src gr] : glyph-proc
include [refer-glyph src] AS_BASE ALSO_METRICS include [refer-glyph src] AS_BASE ALSO_METRICS

View file

@ -201,6 +201,8 @@ glyph-block Letter-Latin-Upper-H : begin
select-variant 'cyrl/en.BGR' (shapeFrom -- 'smcpH') select-variant 'cyrl/en.BGR' (shapeFrom -- 'smcpH')
alias 'grek/heta' 0x371 'leftHalfSmcpH.serifless' alias 'grek/heta' 0x371 'leftHalfSmcpH.serifless'
derive-composites 'HDescender' 0x2C67 'H' [CyrDescender.rSideJut RightSB 0]
derive-composites 'cyrl/EnDescender' 0x4A2 'cyrl/En' [CyrDescender.rSideJut RightSB 0] derive-composites 'cyrl/EnDescender' 0x4A2 'cyrl/En' [CyrDescender.rSideJut RightSB 0]
derive-composites 'cyrl/enDescender' 0x4A3 'cyrl/en/descenderBase' [CyrDescender.rSideJut RightSB 0] derive-composites 'cyrl/enDescender' 0x4A3 'cyrl/en/descenderBase' [CyrDescender.rSideJut RightSB 0]

View file

@ -9,7 +9,7 @@ glyph-block Letter-Latin-Upper-N : begin
glyph-block-import CommonShapes glyph-block-import CommonShapes
glyph-block-import Common-Derivatives glyph-block-import Common-Derivatives
glyph-block-import Mark-Shared-Metrics : markHalfStroke glyph-block-import Mark-Shared-Metrics : markHalfStroke
glyph-block-import Letter-Shared-Shapes : SerifFrame VerticalHook glyph-block-import Letter-Shared-Shapes : CyrDescender SerifFrame VerticalHook
define BODY-SYMMETRIC 1 define BODY-SYMMETRIC 1
@ -82,6 +82,8 @@ glyph-block Letter-Latin-Upper-N : begin
alias 'grek/Nu' 0x39D 'N' alias 'grek/Nu' 0x39D 'N'
alias-reduced-variant 'grek/Nu/sansSerif' 'grek/Nu' 'N/sansSerif' MathSansSerif alias-reduced-variant 'grek/Nu/sansSerif' 'grek/Nu' 'N/sansSerif' MathSansSerif
derive-composites 'NDescender' 0xA790 'N' [CyrDescender.rSideJut RightSB 0]
select-variant 'Eng' 0x14A (follow -- 'N') select-variant 'Eng' 0x14A (follow -- 'N')
select-variant 'smcpN' 0x274 (follow -- 'N') select-variant 'smcpN' 0x274 (follow -- 'N')
select-variant 'Nltail' 0x19D (follow -- 'N') select-variant 'Nltail' 0x19D (follow -- 'N')

View file

@ -157,3 +157,4 @@ export : define decompOverrides : object
0xA7BD { 'i' 'EgyptologicalYodAbove' } 0xA7BD { 'i' 'EgyptologicalYodAbove' }
0xA7BF { 'u' 'EgyptologicalYodAbove' } 0xA7BF { 'u' 'EgyptologicalYodAbove' }
0xAB30 { 'scripta' 'longBarOver' } 0xAB30 { 'scripta' 'longBarOver' }
0xAB3F { 'turnc' 'slashOver' }