Skip to content

Commit

Permalink
Add crossing Q (#640).
Browse files Browse the repository at this point in the history
  • Loading branch information
be5invis committed Jul 25, 2020
1 parent f3881b7 commit 57a7f24
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
3 changes: 2 additions & 1 deletion changes/3.4.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* Add tailed two-story `a` (#637).
* Add turned five-pointing asterisk `*` (#638).
* Add horizontal crossbar variant of `Z` and `z` (#640, #595).
* Add serifless `J` (#640).
* Add serifless `J` (#640).
* Add crossing `Q` (#640).
17 changes: 13 additions & 4 deletions font-src/glyphs/letter-latin.ptl
Original file line number Diff line number Diff line change
Expand Up @@ -3629,16 +3629,16 @@ glyph-block Letter-Latin-Upper-Q : begin
glyph-block-import CommonShapes
glyph-block-import Overmarks

sketch # Q.straight
create-glyph 'Q.straight' : glyph-construction
set-width Width
include [refer-glyph 'O'] AS_BASE
local shift : StrokeWidthBlend 0 0.25
include : dispiro
widths.rhs
flat (Middle + Width * 0.075 - Stroke * HVContrast * shift) (-CAP * 0.2) [heading Upward]
curl (Middle - Stroke * HVContrast * shift) 0
save 'Q.straight'
sketch # Q.taily

create-glyph 'Q.taily' : glyph-construction
set-width Width
include [refer-glyph 'O'] AS_BASE
local shift : StrokeWidthBlend 0.5 0.6
Expand All @@ -3651,7 +3651,16 @@ glyph-block Letter-Latin-Upper-Q : begin
arcvh
flat [Math.min (terminalx - 1) (startx + Hook - Stroke)] (Stroke - Hook)
curl terminalx (Stroke - Hook)
save 'Q.taily'

create-glyph 'Q.crossing' : glyph-construction
set-width Width
include [refer-glyph 'O'] AS_BASE
define k 1.5
define cor : diagCor (k * (RightSB - Middle)) (RightSB - Middle - OX)
include : dispiro
widths.center (cor * [adviceBlackness 4])
flat RightSB 0 [heading Upward]
curl (Middle + OX) (k * (RightSB - Middle)) [heading Upward]

select-variant 'Q' 'Q'
alias 'cyrQa' 0x51A 'Q'
Expand Down
6 changes: 6 additions & 0 deletions params/variants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ sampler = 'Q'
description = '`Q` with a straight tail like in the old versions'
variant.Q = 'straight'

[simple.v-capital-q-crossing]
tag = 'VXCA'
sampler = 'Q'
description = '`Q` with a tail crossing the ring'
variant.Q = 'crossing'

[simple.v-capital-r-straight]
tag = "cv82"
sampler = 'R'
Expand Down

0 comments on commit 57a7f24

Please sign in to comment.