Add SALTIRE (U+2613
), fix CROSS MARK (U+274C
) (#1763)
Cross Mark is intended to pair with Heavy Large Circle in e.g. a game of Tic Tac Toe or the answer to a "yes"/"no" choice question
This commit is contained in:
parent
e116149074
commit
65ef0858ff
2 changed files with 8 additions and 3 deletions
|
@ -45,11 +45,13 @@ glyph-block Symbol-Geometric-Stars : for-width-kinds WideWidth1
|
|||
define exHeavySw : UnicodeWeightGrade 11 Geom.Scalar
|
||||
|
||||
define AsteriskCfg : list
|
||||
* { .name 'saltire' .unicode 0x2613 .sides 4 .phase (1/8) .sw normalSw }
|
||||
|
||||
* { .name 'heavyGreekCross' .unicode 0x271A .sides 4 .phase 0 .sw heavySw }
|
||||
* { .name 'heavyAsterisk' .unicode 0x2731 .sides 6 .phase 0 .sw heavySw .cThin 0.9 }
|
||||
* { .name 'eightSpokedAsterisk' .unicode 0x2733 .sides 8 .phase 0 .sw normalSw .cThin 0.75 }
|
||||
* { .name 'sixteenSpokedAsterisk' .unicode 0x273A .sides 16 .phase 0 .sw semiLightSw .cThin 0.75 }
|
||||
* { .name 'crossMark' .unicode 0x274C .sides 4 .phase (1/8) .sw normalSw }
|
||||
* { .name 'crossMark' .unicode 0x274C .sides 4 .phase (1/8) .sw heavySw .pMag [GeometricSizes Geom].Large.size }
|
||||
* { .name 'lightVertBar' .unicode 0x2758 .sides 2 .phase 0 .sw lightSw }
|
||||
* { .name 'mediumVertBar' .unicode 0x2759 .sides 2 .phase 0 .sw mediumSw }
|
||||
* { .name 'heavyVertBar ' .unicode 0x275A .sides 2 .phase 0 .sw heavySw }
|
||||
|
@ -91,9 +93,10 @@ glyph-block Symbol-Geometric-Stars : for-width-kinds WideWidth1
|
|||
set-width Geom.Width
|
||||
foreach [j : range 0 sides] : begin
|
||||
local angle : 2 * Math.PI * (j / sides + phase)
|
||||
local mag : fallback pMag 1
|
||||
include : dispiro
|
||||
corner Geom.MidX Geom.MidY [widths.center (sw * [fallback cThin 1])]
|
||||
corner
|
||||
Geom.MidX + Geom.Size * [Math.sin (-angle)]
|
||||
Geom.MidY + Geom.Size * [Math.cos (-angle)]
|
||||
Geom.MidX + Geom.Size * mag * [Math.sin (-angle)]
|
||||
Geom.MidY + Geom.Size * mag * [Math.cos (-angle)]
|
||||
widths.center sw
|
Loading…
Add table
Add a link
Reference in a new issue