-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move
armn/
{Ini
|Ken
|Vew
} to their own files.
- Loading branch information
1 parent
8056f49
commit b50d936
Showing
4 changed files
with
84 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
$$include '../../meta/macros.ptl' | ||
|
||
import [mix linreg clamp fallback] from "@iosevka/util" | ||
import [DependentSelector] from "@iosevka/glyph/relation" | ||
|
||
glyph-module | ||
|
||
glyph-block Letter-Armenian-Upper-Ini : begin | ||
glyph-block-import CommonShapes | ||
glyph-block-import Common-Derivatives | ||
glyph-block-import Letter-Shared-Shapes : nShoulder SerifFrame | ||
|
||
do "Ini" | ||
create-glyph 'armn/Ini' 0x53B : glyph-proc | ||
local df : include : DivFrame 1 | ||
include : df.markSet.capital | ||
include : nShoulder.shape | ||
top -- XH | ||
bottom -- (XH / 2) | ||
left -- (df.leftSB + [HSwToV df.mvs]) | ||
right -- df.rightSB | ||
ada -- ArchDepthA | ||
adb -- ArchDepthB | ||
stroke -- df.mvs | ||
include : VBar.l df.leftSB 0 CAP df.mvs | ||
if SLAB : begin | ||
local sf : SerifFrame.fromDf df CAP 0 | ||
include : composite-proc sf.lt.full sf.lb.full |
49 changes: 49 additions & 0 deletions
49
packages/font-glyphs/src/letter/armenian/upper-ken-vew.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,49 @@ | ||
$$include '../../meta/macros.ptl' | ||
|
||
import [mix linreg clamp fallback] from "@iosevka/util" | ||
import [DependentSelector] from "@iosevka/glyph/relation" | ||
|
||
glyph-module | ||
|
||
glyph-block Letter-Armenian-Upper-Ken-Vew : begin | ||
glyph-block-import CommonShapes | ||
glyph-block-import Common-Derivatives | ||
glyph-block-import Letter-Shared-Shapes : uBowl SerifFrame | ||
glyph-block-import Letter-Armenian-Shared-Shapes : ArmHBar | ||
|
||
do "Ken" | ||
create-glyph 'armn/Ken' 0x53F : glyph-proc | ||
local df : include : DivFrame 1 | ||
include : df.markSet.capital | ||
include : uBowl.shape | ||
top -- CAP | ||
bottom -- (XH / 2 - df.mvs / 2) | ||
left -- df.leftSB | ||
right -- (df.rightSB - [HSwToV df.mvs]) | ||
ada -- ArchDepthA | ||
adb -- ArchDepthB | ||
stroke -- df.mvs | ||
include : VBar.r df.rightSB 0 XH df.mvs | ||
if SLAB : begin | ||
local sf : SerifFrame.fromDf df CAP 0 | ||
local sf2 : SerifFrame.fromDf df XH 0 | ||
include : composite-proc sf.lt.full sf2.rt.full sf.rb.full | ||
|
||
do "Vew" | ||
create-glyph 'armn/Vew' 0x54E : glyph-proc | ||
local df : include : DivFrame 1 | ||
include : df.markSet.capital | ||
include : uBowl.shape | ||
top -- XH | ||
bottom -- (XH / 2 - df.mvs / 2) | ||
left -- df.leftSB | ||
right -- (df.rightSB - [HSwToV df.mvs]) | ||
ada -- ArchDepthA | ||
adb -- ArchDepthB | ||
stroke -- df.mvs | ||
include : VBar.r df.rightSB 0 CAP df.mvs | ||
include : [ArmHBar.right df].base | ||
if SLAB : begin | ||
local sf : SerifFrame.fromDf df XH 0 | ||
local sf2 : SerifFrame.fromDf df CAP 0 | ||
include : composite-proc sf.lt.full sf2.rt.full sf.rb.full |