-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
652 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
packages/font-glyphs/src/letter-like/fraktur/lower-agq.ptl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
$$include '../../meta/macros.ptl' | ||
|
||
glyph-module | ||
|
||
glyph-block LetterLike-Fraktur-Lower-AQ : begin | ||
glyph-block-import Common-Derivatives | ||
glyph-block-import CommonShapes | ||
glyph-block-import LetterLike-Fraktur-Common : LowerDf S F T fraktur-stroke change-pen | ||
glyph-block-import LetterLike-Fraktur-Common : DecoSizeX DecoSizeY SlopeA SlopeB | ||
glyph-block-import LetterLike-Fraktur-Common : Wave PHexTop PHexBot RBDecoration | ||
|
||
define [LeftHalfShape mode box] : fraktur-stroke S | ||
corner box.right [post@slope SlopeB] | ||
corner [box.xp PHexTop] box.top | ||
g2.down.mid (box.left - OX) [mix@ 0.5] | ||
corner [box.xp PHexBot] box.bot | ||
corner box.right [pre@slope SlopeA] | ||
|
||
create-glyph "frak/a" 0x1D51E : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.e | ||
|
||
local aBox : S.box XH 0 df.leftSB df.rightSB | ||
|
||
local leftStroke : include : LeftHalfShape 'a' aBox | ||
local rightStroke : include : fraktur-stroke S | ||
flat [leftStroke.first].x [leftStroke.first].y | ||
RBDecoration [leftStroke.last].x aBox.bot [leftStroke.last].y | ||
|
||
create-glyph "frak/g" 0x1D524 : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.p | ||
|
||
local aBox : S.box XH 0 df.leftSB df.rightSB | ||
local gBox : S.box XH Descender df.leftSB df.rightSB | ||
|
||
local leftStroke : include : LeftHalfShape 'p' aBox | ||
local rightStroke : include : fraktur-stroke S | ||
corner [leftStroke.first].x [leftStroke.first].y | ||
corner pre@ [leftStroke.last].y | ||
g2 (pre@ <+> 0.5 * DecoSizeX) (post@ <+> SmallArchDepthA) | ||
hookend (sw -- S.thick) gBox.bot | ||
g4 gBox.left (pre@ <+> SHook) | ||
|
||
|
||
create-glyph "frak/q" 0x1D52E : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.p | ||
|
||
local aBox : S.box XH 0 df.leftSB df.rightSB | ||
local qBox : S.box XH Descender df.leftSB df.rightSB | ||
|
||
local leftStroke : include : LeftHalfShape 'p' aBox | ||
local rightStroke : include : fraktur-stroke S | ||
flat [leftStroke.first].x [leftStroke.first].y | ||
RBDecoration [leftStroke.last].x qBox.bot [leftStroke.last].y |
85 changes: 85 additions & 0 deletions
85
packages/font-glyphs/src/letter-like/fraktur/lower-bopvw.ptl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
$$include '../../meta/macros.ptl' | ||
|
||
glyph-module | ||
|
||
glyph-block LetterLike-Fraktur-Lower-BOPVW : begin | ||
glyph-block-import Common-Derivatives | ||
glyph-block-import CommonShapes | ||
glyph-block-import LetterLike-Fraktur-Common : LowerDf S M fraktur-stroke change-pen | ||
glyph-block-import LetterLike-Fraktur-Common : DecoSizeX DecoSizeY SlopeA SlopeB | ||
glyph-block-import LetterLike-Fraktur-Common : Wave FHook PHexTop PHexBot LTDecoration | ||
|
||
define [ORightShape mode profile oBox] : fraktur-stroke profile | ||
corner oBox.left [post@slope SlopeA] | ||
[cg2.sr SlopeB].start [oBox.xp PHexTop] oBox.top | ||
g2.down.mid (oBox.right - OX) [mix@ 0.5] | ||
[g2c.sl SlopeA].start [oBox.xp PHexBot] oBox.bot | ||
corner oBox.left [pre@slope SlopeB] | ||
match mode | ||
[Just 'o'] : close | ||
[Just 'p'] : ~~~ [corner (pre@ <-> DecoSizeX) (pre@ <-> DecoSizeY)] | ||
___ : list | ||
|
||
create-glyph "frak/o" 0xAB3D : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.e | ||
|
||
local oBox : S.box XH 0 df.leftSB df.rightSB | ||
include : ORightShape 'o' S oBox | ||
|
||
alias 'mathFrak/o' 0x1D52C 'frak/o' | ||
|
||
create-glyph "frak/b" 0x1D51F : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.b | ||
|
||
local oBox : S.box XH 0 df.leftSB df.rightSB | ||
local bBox : S.box Ascender 0 df.leftSB df.rightSB | ||
|
||
local rightStroke : include : ORightShape 'b' S oBox | ||
local leftStroke : include : fraktur-stroke S | ||
LTDecoration bBox.left bBox.top | ||
corner [rightStroke.last].x [rightStroke.last].y | ||
|
||
create-glyph "frak/p" 0x1D52D : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.p | ||
|
||
local oBox : S.box XH 0 df.leftSB df.rightSB | ||
local pBox : S.box XH Descender df.leftSB df.rightSB | ||
|
||
local rightStroke : include : ORightShape 'p' S oBox | ||
local leftStroke : include : fraktur-stroke S | ||
LTDecoration pBox.left pBox.top [rightStroke.first].y | ||
corner pre@ pBox.bot | ||
|
||
create-glyph "frak/v" 0x1D533 : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.e | ||
|
||
local vBox : S.box XH 0 df.leftSB df.rightSB | ||
|
||
local rightStroke : include : ORightShape 'v' S vBox | ||
local leftStroke : include : fraktur-stroke S | ||
LTDecoration vBox.left vBox.top [rightStroke.first].y | ||
corner [rightStroke.last].x [rightStroke.last].y | ||
|
||
create-glyph "frak/w" 0x1D534 : glyph-proc | ||
local df : include : LowerDf para.diversityM 3 | ||
include : df.markSet.e | ||
|
||
local wBox : M.box XH 0 df.leftSB df.rightSB | ||
local rightHalfBox : wBox.withLeft wBox.xMid | ||
local leftHalfBox : wBox.withRight wBox.xMid | ||
|
||
local rightStroke : include : ORightShape 'o' M rightHalfBox | ||
local middleStroke : include : fraktur-stroke M | ||
corner leftHalfBox.left [post@slope SlopeA] | ||
corner [leftHalfBox.xp PHexTop] leftHalfBox.top | ||
corner leftHalfBox.right [pre@slope SlopeB] | ||
corner pre@ [post@slope SlopeA] | ||
corner [leftHalfBox.xp PHexBot] leftHalfBox.bot | ||
corner leftHalfBox.left [pre@slope SlopeB] | ||
local leftStroke : include : fraktur-stroke M | ||
LTDecoration leftHalfBox.left leftHalfBox.top [middleStroke.first].y | ||
corner [middleStroke.last].x [middleStroke.last].y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
$$include '../../meta/macros.ptl' | ||
|
||
glyph-module | ||
|
||
glyph-block LetterLike-Fraktur-Lower-CE : begin | ||
glyph-block-import Common-Derivatives | ||
glyph-block-import CommonShapes | ||
glyph-block-import LetterLike-Fraktur-Common : LowerDf S F T fraktur-stroke change-pen | ||
glyph-block-import LetterLike-Fraktur-Common : DecoSizeX DecoSizeY SlopeA SlopeB | ||
glyph-block-import LetterLike-Fraktur-Common : Wave FHook PHexTop PHexBot | ||
|
||
create-glyph "frak/e" 0xAB32 : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.e | ||
|
||
local box : S.box XH 0 df.leftSB df.rightSB | ||
include : fraktur-stroke S | ||
corner (box.left + S.thick) [post@slope SlopeA] | ||
g2 box.xMid [box.yp DesignParameters.eBarPos] | ||
corner box.right [pre@slope SlopeA] | ||
corner [box.xp PHexTop] box.top | ||
corner box.left [pre@slope SlopeA] | ||
curl pre@ (post@ <+> ArchDepthB) | ||
[g2c.sr (-SlopeA)].end [box.xp PHexTop] box.bot | ||
corner box.right [pre@slope SlopeA] | ||
|
||
alias 'mathFrak/e' 0x1D522 'frak/e' | ||
|
||
create-glyph "frak/c" 0x1D520 : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.e | ||
|
||
local box : S.box XH 0 df.leftSB df.rightSB | ||
include : fraktur-stroke S | ||
corner box.right [post@slope SlopeB] | ||
corner [box.xp PHexTop] box.top | ||
corner box.left [pre@slope SlopeA] | ||
curl pre@ (post@ <+> ArchDepthB) | ||
[g2c.sr (-SlopeA)].end [box.xp PHexTop] box.bot | ||
corner box.right [pre@slope SlopeA] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$$include '../../meta/macros.ptl' | ||
|
||
glyph-module | ||
|
||
glyph-block LetterLike-Fraktur-Lower-D : begin | ||
glyph-block-import Common-Derivatives | ||
glyph-block-import CommonShapes | ||
glyph-block-import LetterLike-Fraktur-Common : LowerDf S F T fraktur-stroke change-pen | ||
glyph-block-import LetterLike-Fraktur-Common : DecoSizeX DecoSizeY SlopeA SlopeB | ||
glyph-block-import LetterLike-Fraktur-Common : Wave FHook PHexTop PHexBot | ||
|
||
create-glyph "frak/d" 0x1D521 : glyph-proc | ||
local df : include : LowerDf 1 | ||
include : df.markSet.b | ||
|
||
local oBox : S.box XH 0 df.leftSB df.rightSB | ||
local dBox : S.box Ascender 0 df.leftSB df.rightSB | ||
|
||
include : fraktur-stroke S | ||
corner [oBox.xp PHexTop] oBox.top | ||
~~~ ~~~ [corner oBox.left [pre@slope SlopeA]] | ||
~~~ ~~~ [corner pre@ [post@slope SlopeB]] | ||
~~~ [corner [oBox.xp PHexBot] oBox.bot] | ||
~~~ ~~~ [straight.up.mid (oBox.right - OX) oBox.yMid] | ||
[g4.sl SlopeB].mid pre@ pre@ | ||
g2 oBox.left [pre@slope SlopeB] | ||
[g2.sr SlopeA].end [oBox.xp 0.25] dBox.top [change-pen T] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.