Skip to content

Commit

Permalink
Cleanup, AE bug fixes (#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Nov 10, 2023
1 parent 5b4688b commit 712d5db
Show file tree
Hide file tree
Showing 60 changed files with 57 additions and 76 deletions.
2 changes: 1 addition & 1 deletion font-src/glyphs/common/derivatives.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../support/utils.mjs"
import [Cv AnyCv AnyDerivingCv Dotless SvInheritableRelations CvDecompose PseudoCvDecompose getGrMesh] from"../../support/gr.mjs"
import [Cv AnyCv AnyDerivingCv Dotless SvInheritableRelations PseudoCvDecompose getGrMesh] from"../../support/gr.mjs"

extern Map

Expand Down
1 change: 0 additions & 1 deletion font-src/glyphs/letter/cyrillic/dzzhe-zhwe.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/bidental-percussive.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/egyptological.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/eszet.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"

import [maskBits] from"../../../support/util/mask-bit.mjs"

glyph-module
Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/eth.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/ezh.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/f-ligatures.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/gha.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/glottal-stop.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/hwair.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/long-s.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include "../../../meta/macros.ptl"

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"

import [maskBit maskBits] from"../../../support/util/mask-bit.mjs"

glyph-module
Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/lower-ae-oe.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/lower-db-qp.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/middle-welsh-v.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/ou.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/rams-horn.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin-ext/rhotic.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose IsSuperscript IsSubscript] from"../../../support/gr.mjs"
import [IsSuperscript IsSubscript] from"../../../support/gr.mjs"

glyph-module

Expand Down
1 change: 0 additions & 1 deletion font-src/glyphs/letter/latin-ext/thorn.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"

glyph-module

Expand Down
1 change: 0 additions & 1 deletion font-src/glyphs/letter/latin-ext/upper-aa-ao.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"
import [bitOr] from"../../../support/util/mask-bit.mjs"

glyph-module
Expand Down
15 changes: 2 additions & 13 deletions font-src/glyphs/letter/latin-ext/upper-ae-oe.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"

glyph-module

Expand Down Expand Up @@ -151,19 +150,9 @@ glyph-block Letter-Latin-Upper-AE-OE : begin
select-variant 'smcpAE/AHalf' (follow -- 'A')
select-variant 'smcpAE/EHalf' (follow -- 'AE/EHalf')

create-glyph "AE" 0xC6 : glyph-proc
include [refer-glyph 'AE/AHalf'] AS_BASE ALSO_METRICS
include [refer-glyph 'AE/EHalf']
CvDecompose.set currentGlyph { 'AE/AHalf' 'AE/EHalf' }

create-glyph "smcpAE" 0x1D01 : glyph-proc
include [refer-glyph 'smcpAE/AHalf'] AS_BASE ALSO_METRICS
include [refer-glyph 'smcpAE/EHalf']
CvDecompose.set currentGlyph { 'smcpAE/AHalf' 'smcpAE/EHalf' }

derive-composites "AE" 0xC6 'AE/AHalf' 'AE/EHalf'
derive-composites "smcpAE" 0x1D01 'smcpAE/AHalf' 'smcpAE/EHalf'
alias 'cyrl/AE' 0x4D4 'AE'
if [query-glyph 'cyrl/AE'] : begin
CvDecompose.set [query-glyph 'cyrl/AE'] { 'AE/AHalf' 'AE/EHalf' }

define [OEShape top df slabKind] : glyph-proc
define eBarPos DesignParameters.upperEBarPos
Expand Down
1 change: 0 additions & 1 deletion font-src/glyphs/letter/latin-ext/wynn.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"

glyph-module

Expand Down
1 change: 0 additions & 1 deletion font-src/glyphs/letter/latin-ext/yogh.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/c.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [DependentSelector CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [DependentSelector MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/k.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix clamp fallback linreg SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif HintClass] from"../../../support/gr.mjs"
import [Dotless MathSansSerif HintClass] from"../../../support/gr.mjs"
import [maskBit] from"../../../support/util/mask-bit.mjs"

glyph-module
Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-a.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-b.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-d.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix clamp fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-f.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-g.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-il.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [Dotless MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-j.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [Dotless MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-m.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-n.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix clamp fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif Joining] from"../../../support/gr.mjs"
import [MathSansSerif Joining] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-p.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-q.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/lower-r.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
7 changes: 2 additions & 5 deletions font-src/glyphs/letter/latin/lower-t.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix clamp SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down Expand Up @@ -370,10 +370,7 @@ glyph-block Letter-Latin-Lower-T : begin
select-variant 'tsLig/upperHalf'
select-variant 'tsLig/lowerHalf'

create-glyph "tsLig" 0x1BE : glyph-proc
include [refer-glyph 'tsLig/upperHalf'] AS_BASE ALSO_METRICS
include [refer-glyph 'tsLig/lowerHalf']
CvDecompose.set currentGlyph { 'tsLig/upperHalf' 'tsLig/lowerHalf' }
derive-composites "tsLig" 0x1BE 'tsLig/upperHalf' 'tsLig/lowerHalf'

create-glyph 'mathbb/t' 0x1D565 : glyph-proc
define df : DivFrame 1
Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/o.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix linreg clamp fallback] from"../../../support/utils.mjs"
import [Dotless CvDecompose] from"../../../support/gr.mjs"


glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/u.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"

glyph-module

Expand Down
2 changes: 1 addition & 1 deletion font-src/glyphs/letter/latin/upper-a.ptl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$$include '../../../meta/macros.ptl'

import [mix fallback SuffixCfg] from"../../../support/utils.mjs"
import [Dotless CvDecompose MathSansSerif] from"../../../support/gr.mjs"
import [MathSansSerif] from"../../../support/gr.mjs"
import [maskBits bitOr] from"../../../support/util/mask-bit.mjs"

glyph-module
Expand Down
Loading

0 comments on commit 712d5db

Please sign in to comment.