Add variants for Ampersand (#211).
This commit is contained in:
parent
a835d0a3c6
commit
b830f345ba
5 changed files with 1444 additions and 1351 deletions
|
@ -1,2 +1,3 @@
|
|||
* Add variants for six (`6`) : `v-six-closed-contour` (`VXAE`) and `v-six-open-contour` (`VXAF`). `v-nine-turned-six` is renamed to `v-nine-open-contour` (#562).
|
||||
* Make variant selectors able to influence `l-dot` (U+0140, #566).
|
||||
* Make variant selectors able to influence `l-dot` (U+0140, #566).
|
||||
* Add variants for Ampersand (#211).
|
|
@ -838,4 +838,8 @@ glyph-block CommonShapes : begin
|
|||
define tension : tensionCoeff * (0.5 - 0.4 * dist - 0.005 * strokeCoeff + slantCoeff * TanSlope)
|
||||
return : alsoThruThem {{(0.5 - dist) tension} {(0.5 + dist) (1 - tension)}} [widths.center stroke]
|
||||
|
||||
glyph-block-export select-variant italic-variant alias composite refer-glyph query-glyph into-unicode turned HDual hcombine VDual vcombine Rect Ring RingAt DotAt RingStroke RingStrokeAt DotStrokeAt CircleRing CircleRingAt CircleDotAt OShape OShapeOutline OBarLeftShape OBarRightShape LeftwardTopSerif LeftwardBottomSerif RightwardTopSerif RightwardBottomSerif CenterTopSerif CenterBottomSerif DownwardRightSerif UpwardRightSerif DownwardLeftSerif UpwardLeftSerif AIVSerifs AIHSerifs AINSerifs AICyrISerifs AIMSerifs halfXStrand xStrand nShoulderKnots nShoulder mShoulderSpiro HBar HBarTop HBarBottom HOverlayBar VBar VBarLeft VBarRight VerticalHook LegShape LeftHook HooktopLeftBar CurlyTail HCurlyTail FlatSlashShape determineMixR hookstart hookend CyrDescender Fork Miniature Thinner Widen FlipAround ScaleAround Realign ForceUpright Overlay diagCor CreateWaveShape NameUni PointingTo WithDerivatives WithAIHSerifsMask SNeck
|
||||
define [WithTransform tfm gr] : create-glyph : glyph-construction
|
||||
include gr
|
||||
apply-transform tfm
|
||||
|
||||
glyph-block-export select-variant italic-variant alias composite refer-glyph query-glyph into-unicode turned HDual hcombine VDual vcombine Rect Ring RingAt DotAt RingStroke RingStrokeAt DotStrokeAt CircleRing CircleRingAt CircleDotAt OShape OShapeOutline OBarLeftShape OBarRightShape LeftwardTopSerif LeftwardBottomSerif RightwardTopSerif RightwardBottomSerif CenterTopSerif CenterBottomSerif DownwardRightSerif UpwardRightSerif DownwardLeftSerif UpwardLeftSerif AIVSerifs AIHSerifs AINSerifs AICyrISerifs AIMSerifs halfXStrand xStrand nShoulderKnots nShoulder mShoulderSpiro HBar HBarTop HBarBottom HOverlayBar VBar VBarLeft VBarRight VerticalHook LegShape LeftHook HooktopLeftBar CurlyTail HCurlyTail FlatSlashShape determineMixR hookstart hookend CyrDescender Fork Miniature Thinner Widen FlipAround ScaleAround Realign ForceUpright Overlay diagCor CreateWaveShape NameUni PointingTo WithDerivatives WithAIHSerifsMask SNeck WithTransform
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -151,7 +151,7 @@ define-macro glyph-block-import : syntax-rules
|
|||
LegShape LeftHook HooktopLeftBar CurlyTail HCurlyTail FlatSlashShape determineMixR
|
||||
hookstart hookend CyrDescender Fork Miniature Thinner Widen FlipAround ScaleAround
|
||||
Realign ForceUpright Overlay diagCor CreateWaveShape NameUni PointingTo WithDerivatives
|
||||
WithAIHSerifsMask SNeck]
|
||||
WithAIHSerifsMask SNeck WithTransform]
|
||||
|
||||
Overmarks `[markExtend markHalfStroke markStress markFine markMiddle markDotsRadius
|
||||
aboveMarkTop aboveMarkBot aboveMarkMid belowMarkBot belowMarkTop commaOvershoot
|
||||
|
|
|
@ -583,6 +583,17 @@ sampler = '#'
|
|||
description = 'Number sign with slanted bars'
|
||||
numbersign = 'slanted'
|
||||
|
||||
[simple.v-ampersand-closed]
|
||||
tag = 'VXAG'
|
||||
sampler = '&'
|
||||
description = 'Ampersand (`&`) with a closed contour'
|
||||
ampersand = 'closed'
|
||||
|
||||
[simple.v-ampersand-open]
|
||||
tag = 'VXAH'
|
||||
sampler = '&'
|
||||
description = 'Ampersand (`&`) with an open contour'
|
||||
ampersand = 'open'
|
||||
|
||||
[simple.v-at-threefold]
|
||||
tag = 'cv31'
|
||||
|
@ -717,7 +728,8 @@ design = [
|
|||
'v-capital-g-tooth',
|
||||
'v-lambda-straight',
|
||||
'v-nine-closed-contour',
|
||||
'v-six-open-contour'
|
||||
'v-six-open-contour',
|
||||
'v-ampersand-closed'
|
||||
]
|
||||
upright = [
|
||||
'v-a-doublestorey',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue