Skip to content

Commit

Permalink
Add v-dollar-opencap and v-dollar-throughcap
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Sep 8, 2018
1 parent 8707990 commit 590a60a
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -201,6 +201,8 @@ The current available styles for `design`/`upright`/`italic`/`oblique` options a
* Styles for dollar symbol (`$`):
* `v-dollar-open` : Dollar symbol with open contour.
* `v-dollar-through` : Dollar symbol with strike-through vertical bar (default).
* `v-dollar-opencap` : Dollar symbol with open contour, not exceeding baseline and ascender.
* `v-dollar-throughcap` : Dollar symbol with strike-through vertical bar, not exceeding baseline and ascender.
* Styles for Number sign (`#`):
* `v-numbersign-upright` : Number sign with vertical bars (default).
* `v-numbersign-slanted` : Number sign with slanted bars.
Expand Down
55 changes: 55 additions & 0 deletions glyphs/symbol-letter.ptl
Expand Up @@ -45,6 +45,31 @@ export : define [apply] : begin
curl MIDDLE (bot + HALFSTROKE)
save 'dollar.open'

sketch # dollar.opencap
include markset.capital
define top : CAP * 0.84
define bot : CAP * 0.16
define w : adviceBlackness 3.5
define smooth : adviceSSmooth (top - bot) (-1)
include : dispiro
widths.lhs w
g4 RIGHTSB (top - HOOK)
hookstart (top - O)
g4 SB (top - smooth)
alsothru 0.5 0.5 [widths (ESS / 2 * w / STROKE) (ESS / 2 * w / STROKE)]
g4 RIGHTSB (bot + smooth) [widths 0 w]
hookend (bot + O)
g4 SB (bot + HOOK)
include : dispiro
widths.center
flat MIDDLE (top - HALFSTROKE)
curl MIDDLE (CAP) [heading UPWARD]
include : dispiro
widths.center
flat MIDDLE (0) [heading UPWARD]
curl MIDDLE (bot + HALFSTROKE)
save 'dollar.opencap'

sketch # dollar.through
include markset.capital
define top : CAP * 0.95
Expand Down Expand Up @@ -74,6 +99,36 @@ export : define [apply] : begin
flat MIDDLE (top - HALFSTROKE) [heading DOWNWARD]
curl MIDDLE (bot + HALFSTROKE) [heading DOWNWARD]
save 'dollar.through'

sketch # dollar.throughcap
include markset.capital
define top : CAP * 0.84
define bot : CAP * 0.16
define smooth : adviceSSmooth (top - bot) (-1)
define w : adviceBlackness 3.5
define fine : adviceBlackness 4
include : dispiro
widths.lhs w
g4 RIGHTSB (top - HOOK)
hookstart (top - O)
g4 SB (top - smooth)
alsothru 0.5 0.5 [widths (ESS / 2 * w / STROKE) (ESS / 2 * w / STROKE)]
g4 RIGHTSB (bot + smooth) [widths 0 w]
hookend (bot + O)
g4 SB (bot + HOOK)
include : dispiro
widths.center w
flat MIDDLE (top - HALFSTROKE)
curl MIDDLE (CAP) [heading UPWARD]
include : dispiro
widths.center w
flat MIDDLE (0) [heading UPWARD]
curl MIDDLE (bot + HALFSTROKE)
include : dispiro
widths.center fine
flat MIDDLE (top - HALFSTROKE) [heading DOWNWARD]
curl MIDDLE (bot + HALFSTROKE) [heading DOWNWARD]
save 'dollar.throughcap'

select-variant 'dollar' '$'

Expand Down
2 changes: 1 addition & 1 deletion parameters.toml
Expand Up @@ -13,7 +13,7 @@ xheight = 530 # X-height.
#descender = -205 # Depth of descender. Currently unused.

ideoMid = 365
symbolMid = 365 # Center of parens, maths, geometrics...
symbolMid = 365 # Center of parens, maths, geometrics...
parenSize = 1066 # Size of parens, brackets, braces, slashes, etc.
operSize = 852 # Size of "taller" mathematical operators (cups, etc.)
tackSize = 800 # Size of logical operators (tacks, etc.)
Expand Down
8 changes: 8 additions & 0 deletions variants.toml
Expand Up @@ -215,6 +215,14 @@ tag = "cv52"
f = "tailed"
tag = "cv53"

[simple.v-dollar-opencap]
dollar = "opencap"
tag = "cv54"

[simple.v-dollar-throughcap]
dollar = "throughcap"
tag = "cv55"

[simple.others]
I = 'serifed'
J = 'serifed'
Expand Down

0 comments on commit 590a60a

Please sign in to comment.