Increased size of arrowheads in Iosevka CC; move to 0.1.10

This commit is contained in:
be5invis 2015-09-02 08:45:18 +08:00
parent caf2d63276
commit 73866134f8
3 changed files with 128 additions and 18 deletions

View File

@ -157,6 +157,27 @@ create-glyph 'macronAbove' : glyph-construction {
:.set-width markHalfStroke markHalfStroke :.set-width markHalfStroke markHalfStroke
:.line-to rightEnd [XH + ACCENT] :.line-to rightEnd [XH + ACCENT]
} }
create-glyph 'overlineAbove' : glyph-construction {
set-width 0
assign-unicode 0x305
this.shortName = 'overline'
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include : create-stroke
:.start-from [SB - WIDTH] [XH + ACCENT]
:.set-width markHalfStroke markHalfStroke
:.line-to [RIGHTSB - WIDTH] [XH + ACCENT]
}
create-glyph 'dblOverlineAbove' : glyph-construction {
set-width 0
assign-unicode 0x33F
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
local boxsw : Math.min [markFine * 2] [[aboveMarkTop - aboveMarkBot] / 3]
include : HBarBottom [SB - WIDTH] [RIGHTSB - WIDTH] aboveMarkBot boxsw
include : HBarTop [SB - WIDTH] [RIGHTSB - WIDTH] aboveMarkTop boxsw
}
create-glyph 'breveAbove' : glyph-construction { create-glyph 'breveAbove' : glyph-construction {
set-width 0 set-width 0
assign-unicode 0x306 assign-unicode 0x306
@ -309,6 +330,33 @@ create-glyph 'barAbove' : glyph-construction {
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include : VBar markMiddle aboveMarkBot aboveMarkTop [markHalfStroke * 2] include : VBar markMiddle aboveMarkBot aboveMarkTop [markHalfStroke * 2]
} }
create-glyph 'dblBarAbove' : glyph-construction {
set-width 0
assign-unicode 0x30E
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include : VBar [markMiddle - markExtend * 0.75] aboveMarkBot aboveMarkTop [markHalfStroke * 2]
include : VBar [markMiddle + markExtend * 0.75] aboveMarkBot aboveMarkTop [markHalfStroke * 2]
}
create-glyph 'bridgeAbove' : glyph-construction {
set-width 0
assign-unicode 0x346
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include : VBar [markMiddle - markExtend] aboveMarkBot aboveMarkTop [markFine * 2]
include : VBar [markMiddle + markExtend] aboveMarkBot aboveMarkTop [markFine * 2]
include : HBarTop [markMiddle - markExtend] [markMiddle + markExtend] aboveMarkTop [markFine * 2]
}
create-glyph 'yerikAbove' : glyph-construction {
set-width 0
assign-unicode 0x33E
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include : spiro {
widths.center [markFine * 2]
g4 [markMiddle - markFine * 0.5] aboveMarkBot [heading UPWARD]
alsothruthem ((0.9 0.35) (0.1 0.65)) [heading UPWARD]
g4 [markMiddle + markFine * 0.5] aboveMarkTop [heading UPWARD]
}
}
create-glyph 'candrabinduAbove' : glyph-construction { create-glyph 'candrabinduAbove' : glyph-construction {
set-width 0 set-width 0
assign-unicode 0x310 assign-unicode 0x310
@ -430,13 +478,6 @@ create-glyph 'ogonekTR' : glyph-construction {
local ogonekRight : markMiddle + markExtend * 0.85 local ogonekRight : markMiddle + markExtend * 0.85
set-anchor 'trailing' MARK markMiddle 0 ogonekRight ogonekBot set-anchor 'trailing' MARK markMiddle 0 ogonekRight ogonekBot
} }
create-glyph 'barBelow' : glyph-construction {
set-width 0
assign-unicode 0x329
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include : VBar markMiddle belowMarkBot belowMarkTop [markHalfStroke * 2]
}
create-glyph 'iotaBelow' : glyph-construction { create-glyph 'iotaBelow' : glyph-construction {
set-width 0 set-width 0
assign-unicode 0x345 assign-unicode 0x345
@ -483,6 +524,14 @@ create-glyph 'righttackBelow' : glyph-construction {
include : VBar [markMiddle - markExtend] belowMarkBot belowMarkTop [markFine * 2] include : VBar [markMiddle - markExtend] belowMarkBot belowMarkTop [markFine * 2]
include : HBar [markMiddle - markExtend] [markMiddle + markExtend] [mix belowMarkTop belowMarkBot 0.5] [markFine * 2] include : HBar [markMiddle - markExtend] [markMiddle + markExtend] [mix belowMarkTop belowMarkBot 0.5] [markFine * 2]
} }
create-glyph 'leftAngleBelow' : glyph-construction {
set-width 0
assign-unicode 0x349
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include : VBar [markMiddle + markExtend] belowMarkBot belowMarkTop [markFine * 2]
include : HBarTop [markMiddle - markExtend] [markMiddle + markExtend] belowMarkTop [markFine * 2]
}
create-glyph 'plusBelow' : glyph-construction { create-glyph 'plusBelow' : glyph-construction {
set-width 0 set-width 0
assign-unicode 0x31F assign-unicode 0x31F
@ -509,15 +558,6 @@ create-glyph 'bridgeBelow' : glyph-construction {
include : VBar [markMiddle + markExtend] belowMarkBot belowMarkTop [markFine * 2] include : VBar [markMiddle + markExtend] belowMarkBot belowMarkTop [markFine * 2]
include : HBarTop [markMiddle - markExtend] [markMiddle + markExtend] belowMarkTop [markFine * 2] include : HBarTop [markMiddle - markExtend] [markMiddle + markExtend] belowMarkTop [markFine * 2]
} }
create-glyph 'invBridgeBelow' : glyph-construction {
set-width 0
assign-unicode 0x33A
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include : VBar [markMiddle - markExtend] belowMarkBot belowMarkTop [markFine * 2]
include : VBar [markMiddle + markExtend] belowMarkBot belowMarkTop [markFine * 2]
include : HBarBottom [markMiddle - markExtend] [markMiddle + markExtend] belowMarkBot [markFine * 2]
}
create-glyph 'boxBelow' : glyph-construction { create-glyph 'boxBelow' : glyph-construction {
set-width 0 set-width 0
assign-unicode 0x33B assign-unicode 0x33B
@ -530,6 +570,16 @@ create-glyph 'boxBelow' : glyph-construction {
include : HBarBottom [markMiddle - markExtend] [markMiddle + markExtend] belowMarkBot boxsw include : HBarBottom [markMiddle - markExtend] [markMiddle + markExtend] belowMarkBot boxsw
include : HBarTop [markMiddle - markExtend] [markMiddle + markExtend] belowMarkTop boxsw include : HBarTop [markMiddle - markExtend] [markMiddle + markExtend] belowMarkTop boxsw
} }
create-glyph 'equalBelow' : glyph-construction {
set-width 0
assign-unicode 0x347
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
local boxsw : Math.min [markFine * 2] [[belowMarkTop - belowMarkBot] / 3]
include : HBarBottom [markMiddle - markExtend] [markMiddle + markExtend] belowMarkBot boxsw
include : HBarTop [markMiddle - markExtend] [markMiddle + markExtend] belowMarkTop boxsw
}
create-glyph 'dblBreveBelow' : glyph-construction { create-glyph 'dblBreveBelow' : glyph-construction {
set-width 0 set-width 0
assign-unicode 0x32B assign-unicode 0x32B
@ -577,6 +627,20 @@ create-glyph 'rightHalfCircleBelow' : glyph-construction {
include : FlipAround markMiddle [mix belowMarkTop belowMarkBot 0.5] include : FlipAround markMiddle [mix belowMarkTop belowMarkBot 0.5]
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
} }
create-glyph 'leftHalfCircleAbove' : glyph-construction {
set-width 0
assign-unicode 0x351
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include glyphs.rightHalfCircleBelow
include : FlipAround markMiddle [XH / 2]
}
create-glyph 'rightHalfCircleAbove' : glyph-construction {
set-width 0
assign-unicode 0x357
set-anchor 'above' MARK markMiddle XH markMiddle aboveMarkTop
include glyphs.leftHalfCircleBelow
include : FlipAround markMiddle [XH / 2]
}
# Turned below marks # Turned below marks
create-glyph 'graveBelow' : glyph-construction { create-glyph 'graveBelow' : glyph-construction {
set-width 0 set-width 0
@ -628,6 +692,30 @@ create-glyph 'macronBelow' : glyph-construction {
include glyphs.macronAbove include glyphs.macronAbove
include : FlipAround markMiddle [XH / 2] include : FlipAround markMiddle [XH / 2]
} }
create-glyph 'invBridgeBelow' : glyph-construction {
set-width 0
assign-unicode 0x33A
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include glyphs.bridgeAbove
include : FlipAround markMiddle [XH / 2]
}
create-glyph 'underlineBelow' : glyph-construction {
set-width 0
assign-unicode 0x332
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include glyphs.overlineAbove
include : FlipAround markMiddle [XH / 2]
}
create-glyph 'dblUnderlineBelow' : glyph-construction {
set-width 0
assign-unicode 0x333
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include glyphs.dblOverlineAbove
include : FlipAround markMiddle [XH / 2]
}
create-glyph 'circumflexBelow' : glyph-construction { create-glyph 'circumflexBelow' : glyph-construction {
set-width 0 set-width 0
assign-unicode 0x32D assign-unicode 0x32D
@ -668,6 +756,28 @@ create-glyph 'commaBelow' : glyph-construction {
include glyphs.turnCommaAbove include glyphs.turnCommaAbove
include : FlipAround markMiddle [XH / 2] include : FlipAround markMiddle [XH / 2]
} }
create-glyph 'barBelow' : glyph-construction {
set-width 0
assign-unicode 0x329
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include glyphs.barAbove
include : FlipAround markMiddle [XH / 2]
}
create-glyph 'dblBarBelow' : glyph-construction {
set-width 0
assign-unicode 0x348
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include glyphs.dblBarAbove
include : FlipAround markMiddle [XH / 2]
}
create-glyph 'crossBelow' : glyph-construction {
set-width 0
assign-unicode 0x353
set-anchor 'below' MARK markMiddle 0 markMiddle belowMarkBot
include glyphs.crossAbove
include : FlipAround markMiddle [XH / 2]
}
# horn and angle marks # horn and angle marks
create-glyph 'horn' : glyph-construction { create-glyph 'horn' : glyph-construction {
set-width 0 set-width 0

View File

@ -1,7 +1,7 @@
###### GEOMETRIC SHAPES ###### GEOMETRIC SHAPES
### Arrowheads ### Arrowheads
define (ArrowHead ArrowShape) : let [arrowSize : [RIGHTSB - SB] / 3] [halfstroke : [adviceBlackness 4] / 2] [fine : adviceBlackness 4.5] [arrowTop : mix parenMid parenTop 0.85] [arrowBot : mix parenMid parenBot 0.85] : begin { define (ArrowHead ArrowShape) : let [arrowSize : [RIGHTSB - SB] / 3 * [Math.pow [FULLWIDTH / WIDTH] 0.4]] [halfstroke : [adviceBlackness 4] / 2] [fine : adviceBlackness 4.5] [arrowTop : mix parenMid parenTop 0.85] [arrowBot : mix parenMid parenBot 0.85] : begin {
define [ArrowHead x1 y1 x2 y2 _size] : create-glyph : glyph-construction { define [ArrowHead x1 y1 x2 y2 _size] : create-glyph : glyph-construction {
local size : fallback _size arrowSize local size : fallback _size arrowSize
set this.gizmo : Translate 0 0 set this.gizmo : Translate 0 0

View File

@ -45,7 +45,7 @@ define regular (
.family 'Iosevka' .family 'Iosevka'
.style 'Regular' .style 'Regular'
.weight 400 .weight 400
.version 'r0.1.9' .version 'r0.1.10'
.variantSelector (.) .variantSelector (.)
.copyright 'Copyright (c) 2015 Belleve Invis.' .copyright 'Copyright (c) 2015 Belleve Invis.'
) )