Skip to content

Commit

Permalink
Refine shape of Armenian Capital/Lower K'eh.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcwilliams403 committed Jan 31, 2025
1 parent eeafb81 commit 66bccd7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 12 deletions.
7 changes: 5 additions & 2 deletions changes/32.5.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
* Add variant selector for decorative angle brackets (U+276C...U+2771) (#2603, #2623).
* Refine shape of:
* Refine shape of the following characters:
- GREEK PHI SYMBOL (`U+03D5`).
- CYRILLIC SMALL LETTER EF (`U+0444`).
- ARMENIAN CAPITAL LETTER KEH (`U+0554`).
- ARMENIAN SMALL LETTER CA (`U+056E`).
- ARMENIAN SMALL LETTER KEH (`U+0584`).
- VERTICAL ZIGZAG LINE (`U+299A`).
- LEFT WIGGLY FENCE (`U+29D8`).
- RIGHT WIGGLY FENCE (`U+29D9`).
Expand All @@ -9,7 +13,6 @@
- HORIZONTAL RESISTOR SEGMENT (`U+1CC09`).
- VERTICAL RESISTOR SEGMENT (`U+1CC0A`).
- HORIZONTAL ZIGZAG LINE (`U+1CEB0`).
* Optimize metrics for bowl of Cyrillic Lower Ef (`ф`) and Greek Small Letter Phi Symbol (`ϕ`).
* Add italic form for Cyrillic Small Letter Ghe with Upturn (`ґ`).
* Add characters:
- ELECTRIC ARROW (`U+2301`).
Expand Down
35 changes: 25 additions & 10 deletions packages/font-glyphs/src/letter/armenian/keh.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,47 @@ glyph-block Letter-Armenian-Keh : begin
create-glyph 'armn/Keh' 0x554 : glyph-proc
local df : include : DivFrame 1
include : df.markSet.capital
local bot : Math.max (XH - (CAP - XH)) (2.2 * df.mvs)
local ostroke : OverlayStroke * (df.mvs / Stroke)
local bot : CAP * HBarPos - df.mvs / 2
include : OBarLeft.roundedTop
top -- CAP
bot -- bot
left -- df.leftSB
top -- CAP
bot -- bot
left -- df.leftSB
right -- df.rightSB
sw -- df.mvs
fine -- df.shoulderFine
ada -- ArchDepthA
adb -- ArchDepthB
yTerminal -- 0
sw -- df.mvs
include : HBar.m (df.leftSB - jut + [HSwToV : 0.5 * df.mvs]) (df.rightSB) [mix [if SLAB df.mvs 0] bot 0.5] df.mvs
include : HBar.m
df.leftSB - jut + [HSwToV : 0.5 * df.mvs]
df.rightSB + 0
mix [if SLAB df.mvs 0] bot 0.5
Math.min ostroke : 0.5 * (bot - [if SLAB df.mvs 0])
if SLAB : begin
local sf : SerifFrame.fromDf df CAP 0
include sf.lb.full

create-glyph 'armn/keh' 0x584 : glyph-proc
local df : include : DivFrame 1
include : df.markSet.p
local ostroke : df.adviceStroke 3.75
local bot : Math.max (0.1 * XH) (1 * ostroke)
local ostroke : OverlayStroke * (df.mvs / Stroke)
local bot : Math.max (0.1 * XH) (1.5 * ostroke)
include : OBarLeft.shape
top -- XH
bot -- bot
left -- df.leftSB
right -- df.rightSB
bot -- bot
sw -- df.mvs
fine -- df.shoulderFine
ada -- SmallArchDepthA
adb -- SmallArchDepthB
include : VBar.l df.leftSB Descender XH df.mvs
include : HCrossBar (df.leftSB - jut + [HSwToV : 0.5 * df.mvs]) df.rightSB 0 ostroke
include : HBar.b
df.leftSB - jut + [HSwToV : 0.5 * df.mvs]
df.rightSB + 0
XH - highBarPos
1 * ostroke
if SLAB : begin
local sf : SerifFrame.fromDf df XH Descender
include : composite-proc sf.lt.outer sf.lb.fullSide

0 comments on commit 66bccd7

Please sign in to comment.