Cleanup
This commit is contained in:
parent
cf4fa044d7
commit
b64cb36272
3 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ import [DesignParameters] from"../meta/aesthetics.mjs"
|
||||||
extern isFinite
|
extern isFinite
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from"../support/utils.mjs"
|
import [mix linreg clamp fallback] from"../support/utils.mjs"
|
||||||
import [calculateMetrics setFontMetrics MarksetDiv GenDivFrame] from"../meta/aesthetics.mjs"
|
import [calculateMetrics setFontMetrics GenDivFrame] from"../meta/aesthetics.mjs"
|
||||||
|
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ glyph-block Letter-Cyrillic-El : begin
|
||||||
create-glyph 'cyrl/LjeKomi' 0x508 : glyph-proc
|
create-glyph 'cyrl/LjeKomi' 0x508 : glyph-proc
|
||||||
local df : DivFrame para.diversityM 3
|
local df : DivFrame para.diversityM 3
|
||||||
set-width df.width
|
set-width df.width
|
||||||
include : df.MarkSet.capital
|
include : df.markSet.capital
|
||||||
|
|
||||||
local xm : df.middle + 0.5 * df.mvs * HVContrast
|
local xm : df.middle + 0.5 * df.mvs * HVContrast
|
||||||
include : CyrElShape df.leftSB xm CAP BODY-NONE [if SLAB SLAB-ALL SLAB-NONE] df.mvs
|
include : CyrElShape df.leftSB xm CAP BODY-NONE [if SLAB SLAB-ALL SLAB-NONE] df.mvs
|
||||||
|
@ -123,7 +123,7 @@ glyph-block Letter-Cyrillic-El : begin
|
||||||
create-glyph 'cyrl/ljeKomi' 0x509 : glyph-proc
|
create-glyph 'cyrl/ljeKomi' 0x509 : glyph-proc
|
||||||
local df : DivFrame para.diversityM 3
|
local df : DivFrame para.diversityM 3
|
||||||
set-width df.width
|
set-width df.width
|
||||||
include : df.MarkSet.e
|
include : df.markSet.e
|
||||||
|
|
||||||
local xm : df.middle + 0.5 * df.mvs * HVContrast
|
local xm : df.middle + 0.5 * df.mvs * HVContrast
|
||||||
include : CyrElShape df.leftSB xm XH BODY-NONE [if SLAB [if para.isItalic SLAB-LOWER SLAB-ALL] SLAB-NONE] df.mvs
|
include : CyrElShape df.leftSB xm XH BODY-NONE [if SLAB [if para.isItalic SLAB-LOWER SLAB-ALL] SLAB-NONE] df.mvs
|
||||||
|
|
|
@ -306,7 +306,7 @@ export : define [compositeBaseAnchors] : begin
|
||||||
set baseAnchorSink.(k) : new Anchor a.baseAnchors.(k).x a.baseAnchors.(k).y a.baseAnchors.(k).type a.baseAnchors.(k).mbx a.baseAnchors.(k).mby
|
set baseAnchorSink.(k) : new Anchor a.baseAnchors.(k).x a.baseAnchors.(k).y a.baseAnchors.(k).type a.baseAnchors.(k).mbx a.baseAnchors.(k).mby
|
||||||
return : new CMarkSet null baseAnchorSink
|
return : new CMarkSet null baseAnchorSink
|
||||||
|
|
||||||
export : define [MarksetDiv p sbMul me] : begin
|
define [MarksetDiv p sbMul me] : begin
|
||||||
define width : p * me.Width
|
define width : p * me.Width
|
||||||
define middle : p * me.Middle
|
define middle : p * me.Middle
|
||||||
define rightSB : me.Width * p - me.SB
|
define rightSB : me.Width * p - me.SB
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue