final touch about 0.0.5

This commit is contained in:
Belleve Invis 2015-07-28 07:31:27 +08:00
parent 36be8aa629
commit 6c83c9c6ca
2 changed files with 7 additions and 7 deletions

View file

@ -159,12 +159,12 @@ set font.head.macStyle : [if para.isBold 1 0] + [if para.isItalic 2 0
define upmscale : fallback para.upmscale 1
set font.head.unitsPerEm : upmscale * 1000
set font.hhea.ascent : upmscale * CAP
set font.'OS/2'.usWinAscent : upmscale * [CAP + CAP * 0.1]
set font.'OS/2'.sTypoAscender : upmscale * CAP
set font.hhea.descent : upmscale * DESCENDER
set font.'OS/2'.usWinDescent : upmscale * [[Math.abs DESCENDER] + CAP * 0.1]
set font.'OS/2'.sTypoDescender : upmscale * DESCENDER
set font.hhea.ascent : upmscale * [CAP + ACCENT * 1.5]
set font.'OS/2'.usWinAscent : upmscale * [CAP + ACCENT * 1.5]
set font.'OS/2'.sTypoAscender : upmscale * [CAP + ACCENT * 1.5]
set font.hhea.descent : upmscale * [DESCENDER - ACCENT * 0.5]
set font.'OS/2'.usWinDescent : upmscale * [Math.abs [DESCENDER - ACCENT * 0.5]]
set font.'OS/2'.sTypoDescender : upmscale * [DESCENDER - ACCENT * 0.5]
set font.hhea.lineGap : upmscale * CAP * 0.2
set font.'OS/2'.sTypoLineGap : upmscale * CAP * 0.2
set font.'OS/2'.sxHeight : upmscale * XH

View file

@ -397,7 +397,7 @@ create-glyph 'quotedouble' : glyph-construction {
:.heads-to DOWNWARD
:.set-width [HALFSTROKE * 1.2] [HALFSTROKE * 1.2]
:.line-to [mix SB RIGHTSB 0.75] [XH * 0.85]
:.set-width [STROKE * 0.4] [STROKE * 0.4]
:.set-width HALFSTROKE HALFSTROKE
:.heads-to DOWNWARD
}