Continue balances.
This commit is contained in:
parent
1df7dae16a
commit
3f59c4f589
|
@ -466,7 +466,7 @@ create-glyph 'sigma' : glyph-construction {
|
|||
create-glyph 'omega' : glyph-construction {
|
||||
assign-unicode 0x3C9
|
||||
include eMarks
|
||||
local fine : adviceBlackness 3.5
|
||||
local fine : adviceBlackness 3.25
|
||||
local x0 : [mix SB RIGHTSB 0.1] + fine
|
||||
local y0 : XH - STROKE * 0.2
|
||||
local y1 : mix 0 XH 0.8
|
||||
|
|
|
@ -640,7 +640,7 @@ define [SmallKShape] : glyph-construction {
|
|||
local right [RIGHTSB - O]
|
||||
|
||||
local attach [XH * 0.4]
|
||||
local attach2 [MIDDLE - WIDTH * 0.1]
|
||||
local attach2 MIDDLE
|
||||
|
||||
local fine : adviceBlackness 3.5
|
||||
include : create-stroke
|
||||
|
|
|
@ -378,38 +378,29 @@ create-glyph 'greater' : glyph-construction {
|
|||
}
|
||||
|
||||
### Overmarks
|
||||
local quoteTop [CAP * 1.05]
|
||||
local quoteBottom [XH * 0.85]
|
||||
create-glyph 'singleQuote' : glyph-construction {
|
||||
set-width WIDTH
|
||||
assign-unicode 0x27
|
||||
|
||||
include : create-stroke
|
||||
:.start-from MIDDLE CAP
|
||||
:.start-from MIDDLE quoteTop
|
||||
:.heads-to DOWNWARD
|
||||
:.set-width [HALFSTROKE * 1.2] [HALFSTROKE * 1.2]
|
||||
:.line-to MIDDLE [XH * 0.85]
|
||||
:.line-to MIDDLE quoteBottom
|
||||
:.set-width HALFSTROKE HALFSTROKE
|
||||
:.heads-to DOWNWARD
|
||||
}
|
||||
|
||||
create-glyph 'doubleQuote' : glyph-construction {
|
||||
set-width WIDTH
|
||||
assign-unicode 0x22
|
||||
|
||||
include : create-stroke
|
||||
:.start-from [mix SB RIGHTSB 0.25] CAP
|
||||
:.heads-to DOWNWARD
|
||||
:.set-width [HALFSTROKE * 1.2] [HALFSTROKE * 1.2]
|
||||
:.line-to [mix SB RIGHTSB 0.25] [XH * 0.85]
|
||||
:.set-width HALFSTROKE HALFSTROKE
|
||||
:.heads-to DOWNWARD
|
||||
|
||||
include : create-stroke
|
||||
:.start-from [mix SB RIGHTSB 0.75] CAP
|
||||
:.heads-to DOWNWARD
|
||||
:.set-width [HALFSTROKE * 1.2] [HALFSTROKE * 1.2]
|
||||
:.line-to [mix SB RIGHTSB 0.75] [XH * 0.85]
|
||||
:.set-width HALFSTROKE HALFSTROKE
|
||||
:.heads-to DOWNWARD
|
||||
local dist : 0.2 * WIDTH
|
||||
include glyphs.singleQuote
|
||||
apply-transform : Translate [-dist * 2] 0
|
||||
include glyphs.singleQuote
|
||||
apply-transform : Translate dist 0
|
||||
}
|
||||
|
||||
### Asterisk
|
||||
|
|
|
@ -239,12 +239,20 @@ create-glyph 'emDash' : glyph-construction {
|
|||
include : HBar 0 WIDTH hyphenCenter
|
||||
}
|
||||
alias 'horizontalBar' 0x2015 'emDash'
|
||||
alias 'lowSinvleQuote' 0x201A 'comma'
|
||||
local yCurlyQuotes [mix [XH * 0.85] CAP 0.6]
|
||||
|
||||
# quotation marks
|
||||
local yCurlyQuotes [mix quoteBottom quoteTop 0.5]
|
||||
local commaLow [DESCENDER * 0.9]
|
||||
create-glyph 'lowSingleQuote' : glyph-construction {
|
||||
assign-unicode 0x201A
|
||||
include glyphs.comma
|
||||
local ratio : [quoteTop - quoteBottom] / [PERIODSIZE - commaLow]
|
||||
include : FlipAround MIDDLE 0 ratio ratio
|
||||
}
|
||||
create-glyph 'openSingleQuote' : glyph-construction {
|
||||
assign-unicode 0x2018
|
||||
include glyphs.comma
|
||||
include : FlipAround MIDDLE [yCurlyQuotes / 2]
|
||||
include glyphs.lowSingleQuote
|
||||
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
||||
}
|
||||
create-glyph 'closeSingleQuote' : glyph-construction {
|
||||
assign-unicode 0x2019
|
||||
|
@ -254,21 +262,23 @@ create-glyph 'closeSingleQuote' : glyph-construction {
|
|||
create-glyph 'invertSingleQuote' : glyph-construction {
|
||||
assign-unicode 0x201B
|
||||
include glyphs.invertComma
|
||||
include : FlipAround MIDDLE [yCurlyQuotes / 2]
|
||||
local ratio : [quoteTop - quoteBottom] / [PERIODSIZE - commaLow]
|
||||
include : FlipAround MIDDLE 0 ratio ratio
|
||||
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
||||
include : FlipAround MIDDLE yCurlyQuotes
|
||||
}
|
||||
create-glyph 'lowDoubleQuote' : glyph-construction {
|
||||
assign-unicode 0x201E
|
||||
local dist : WIDTH * 0.225
|
||||
include glyphs.comma
|
||||
include glyphs.lowSingleQuote
|
||||
apply-transform : Translate [-dist * 2] 0
|
||||
include glyphs.comma
|
||||
include glyphs.lowSingleQuote
|
||||
apply-transform : Translate dist 0
|
||||
}
|
||||
create-glyph 'openDoubleQuote' : glyph-construction {
|
||||
assign-unicode 0x201C
|
||||
include glyphs.lowDoubleQuote
|
||||
include : FlipAround MIDDLE [yCurlyQuotes / 2]
|
||||
include : FlipAround MIDDLE [mix [mix PERIODSIZE commaLow 0.5] yCurlyQuotes 0.5]
|
||||
}
|
||||
create-glyph 'closeDoubleQuote' : glyph-construction {
|
||||
assign-unicode 0x201D
|
||||
|
@ -278,13 +288,12 @@ create-glyph 'closeDoubleQuote' : glyph-construction {
|
|||
create-glyph 'invertDoubleQuote' : glyph-construction {
|
||||
assign-unicode 0x201F
|
||||
local dist : WIDTH * 0.225
|
||||
include glyphs.invertComma
|
||||
include glyphs.invertSingleQuote
|
||||
apply-transform : Translate [-dist * 2] 0
|
||||
include glyphs.invertComma
|
||||
include glyphs.invertSingleQuote
|
||||
apply-transform : Translate dist 0
|
||||
include : FlipAround MIDDLE [yCurlyQuotes / 2]
|
||||
include : FlipAround MIDDLE yCurlyQuotes
|
||||
}
|
||||
# Daggers
|
||||
create-glyph 'dagger' : glyph-construction {
|
||||
assign-unicode 0x2020
|
||||
include : HBar SB RIGHTSB [mix parenTop parenBot 0.33]
|
||||
|
@ -295,6 +304,7 @@ create-glyph 'doubledagger' : glyph-construction {
|
|||
include glyphs.dagger
|
||||
include : HBar SB RIGHTSB [mix parenTop parenBot 0.67]
|
||||
}
|
||||
# Ellipsis
|
||||
create-glyph 'onedotLeader' : glyph-construction {
|
||||
assign-unicode 0x2024
|
||||
local radius : 0.5 * [adviceBlackness 3.25] * PERIODSIZE / DOTSIZE
|
||||
|
|
Loading…
Reference in New Issue
Block a user