Commit dee3f7c 1 parent 49519d1 commit dee3f7c Copy full SHA for dee3f7c
File tree 2 files changed +10
-4
lines changed
packages/font-glyphs/src/letter/latin-ext
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change
1
+ * Optimize glyphs for ` round-top-serifless ` and ` round-top-base-serifed ` variants for ` A ` part (` cv11 ` ) of Capital AE (` U+00C6 ` ) under Quasi-Proportional.
Original file line number Diff line number Diff line change @@ -73,11 +73,16 @@ glyph-block Letter-Latin-Upper-AE-OE : begin
73
73
corner eleft 0
74
74
75
75
define [AEAHalfRoundTop df top eleft sw] : glyph-proc
76
+ define ada : df.archDepthA ArchDepth sw
77
+ define adb : df.archDepthB ArchDepth sw
78
+
79
+ local yMidDepth : if (top > ada + adb) ada (top * (ada / (ada + adb)))
80
+
76
81
include : HBar.t df.leftSB eleft (XH * 0.75 / CAP * top) sw
77
82
include : dispiro
78
83
widths.rhs sw
79
84
flat df.leftSB 0 [heading Upward]
80
- curl pre@ (post@ <-> ArchDepthA )
85
+ curl pre@ (post@ <-> yMidDepth )
81
86
arcvh
82
87
straight.right.end eleft top [heading Rightward]
83
88
@@ -206,13 +211,13 @@ glyph-block Letter-Latin-Upper-AE-OE : begin
206
211
define eleft : df.middle - [HSwToV : sw * [if SLAB (1 / 3) (1 / 4)]]
207
212
define swVJut : Math.min sw ((df.rightSB - eleft - [HSwToV sw]) * (4 / 5))
208
213
214
+ define ada : df.archDepthA ArchDepth sw
215
+ define adb : df.archDepthB ArchDepth sw
216
+
209
217
local xMidRight : df.rightSB - sw / 4
210
218
local yBar : top * eBarPos
211
219
local { jutTop jutBot jutMid } : EFVJutLength top eBarPos sw
212
220
213
- local ada : df.archDepthA ArchDepth sw
214
- local adb : df.archDepthB ArchDepth sw
215
-
216
221
# O half
217
222
if (top > ada + adb) : then : begin
218
223
include : dispiro
You can’t perform that action at this time.
0 commit comments