Skip to content

Commit

Permalink
Add a slightly-curly tailed u (#636).
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Jul 19, 2020
1 parent eeb8126 commit 20fbd2f
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 16 deletions.
4 changes: 2 additions & 2 deletions changes/3.4.0.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* Add a slightly-curly tailed `a` (#631).
* Add a slightly-curly tailed `a` and `u` (#631, #636).
* Add triangle operators, bowtie operators and diagonal ellipsis.
* Refine the crossbar width of `7` in `v-seven-crossbar` variant (#634).
* Refine the crossbar width of `7` in `v-seven-crossbar` variant (#634).
41 changes: 29 additions & 12 deletions font-src/glyphs/letter-latin.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ glyph-block Letter-Shared : begin
if [not sel] : assign-unicode unicode
include [f src sel] AS_BASE ALSO_METRICS

glyph-block Letter-Shared-Shapes : begin
glyph-block-import CommonShapes

glyph-block-export RightwardTailedBar
define [RightwardTailedBar low high] : dispiro
flat RightSB high [widths.rhs.heading Stroke Downward]
curl RightSB (low + Hook * 0.5 + Stroke + O * 2)
g4 (RightSB + Hook * 0.25) (low + Stroke * 0.75 + O * 2)

glyph-block Letter-Latin-Upper-I : begin
glyph-block-import CommonShapes
glyph-block-import Overmarks
Expand Down Expand Up @@ -949,6 +958,7 @@ glyph-block Letter-Latin-Upper-A : begin
glyph-block Letter-Latin-Lower-A : begin
glyph-block-import CommonShapes
glyph-block-import Overmarks
glyph-block-import Letter-Shared-Shapes : RightwardTailedBar

sketch # a.doublestorey
set-width Width
Expand Down Expand Up @@ -1003,10 +1013,7 @@ glyph-block Letter-Latin-Lower-A : begin
include MarkSet.e
set-base-anchor 'trailing' (RightSB - markHalfStroke) 0
include : OBarRightShape
include : dispiro
flat RightSB XH [widths.rhs.heading Stroke Downward]
curl RightSB (Hook * 0.5 + Stroke + O * 2)
g4 (RightSB + Hook * 0.25) (Stroke * 0.75 + O * 2)
include : RightwardTailedBar 0 XH
save 'a.singlestoreyTailed'

select-variant 'a' 'a'
Expand Down Expand Up @@ -3929,22 +3936,32 @@ glyph-block Letter-Latin-Upper-U : begin
glyph-block Letter-Latin-Lower-U : begin
glyph-block-import CommonShapes
glyph-block-import Overmarks
glyph-block-import Letter-Shared-Shapes : RightwardTailedBar

sketch # u
set-width Width
include MarkSet.e
set-base-anchor 'trailing' (RightSB - markHalfStroke) 0
include : refer-glyph "n"
eject-contour 'serifRB'
eject-contour 'serifLB'
currentGlyph.reTagContour 'serifLT' 'serifRB'
include : nShoulder
left -- (SB + Stroke * HVContrast)
right -- RightSB
fine -- ShoulderFine
include : FlipAround Middle (XH / 2)

if SLAB : begin
include : LeftwardTopSerif (RightSB - Stroke * HVContrast) XH SideJut
include : LeftwardTopSerif SB XH SideJut
branch
include : VBarRight RightSB 0 XH
if SLAB : begin
include : LeftwardTopSerif (RightSB - Stroke * HVContrast) XH SideJut
include : LeftwardTopSerif SB XH SideJut
include : RightwardBottomSerif RightSB 0 SideJut
save 'u.withBar'

save 'u.withBar'
branch
include : RightwardTailedBar 0 XH
if SLAB : begin
include : LeftwardTopSerif (RightSB - Stroke * HVContrast) XH SideJut
include : LeftwardTopSerif SB XH SideJut
save 'u.tailed'

create-glyph 'upsilon' 0x3C5 : glyph-construction
include MarkSet.e
Expand Down
2 changes: 0 additions & 2 deletions params/parameters.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ verbose = true
###### Slab variant
[slab]
slab = true
onebalance = 10
overshootx = -16

###### Spacings
# Terminal variant
Expand Down
6 changes: 6 additions & 0 deletions params/variants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,12 @@ sampler = "u"
description = "Normal `u` without right bar, like a smaller uppercase `U`"
variant.u = "withoutBar"

[simple.v-u-tailed]
tag = "VXBT"
sampler = "u"
description = "`u` with right bar and a slightly curly tail"
variant.u = "tailed"

[simple.v-v-straight]
tag = "cv71"
sampler = 'vV'
Expand Down

0 comments on commit 20fbd2f

Please sign in to comment.