update readme
This commit is contained in:
parent
f4b962297f
commit
f84d640ba5
|
@ -1,6 +1,6 @@
|
|||
# Iosevka  [](http://7xpe0v.com1.z0.glb.clouddn.com/aeqr9bewtqtvpkpl18.png)
|
||||
|
||||
Coders' typeface, built from code.
|
||||
Coders' typeface, built from code. //[→ Inziu Iosevka for Chinese and Japanese.](http://be5invis.github.io/Iosevka/inziu.html)
|
||||
|
||||

|
||||
|
||||
|
|
|
@ -495,11 +495,18 @@ export as build : define [buildFont para recursive recursiveCodes] : begin
|
|||
set font.OS_2.usWeightClass para.weight
|
||||
set font.OS_2.panose.3 9 # Monospaced
|
||||
set font.OS_2.panose.2 : 1 + para.weight / 100
|
||||
set font.OS_2.fsSelection : [if para.isOblique 512 0] + [if para.isBold 32 0] + [if (para.isItalic || para.isOblique) 1 0] + [if ([not para.isBold] && [not para.isItalic] && [not para.isOblique]) 64 0] + 128
|
||||
set font.OS_2.fsSelection : object
|
||||
oblique : not : not para.isOblique
|
||||
bold : not : not para.isBold
|
||||
italic : not : not (para.isItalic || para.isOblique)
|
||||
regular : not : not ([not para.isBold] && [not para.isItalic] && [not para.isOblique])
|
||||
useTypoMetrics true
|
||||
set font.OS_2.sFamilyClass : 8 * 0x100 + 9
|
||||
set font.OS_2.xAvgCharWidth WIDTH
|
||||
set font.post.isFixedPitch true
|
||||
set font.head.macStyle : [if para.isBold 1 0] + [if para.isItalic 2 0]
|
||||
set font.head.macStyle : object
|
||||
bold : not : not para.isBold
|
||||
italic : not : not (para.isItalic || para.isOblique)
|
||||
|
||||
# Metric metadata
|
||||
# Note: we use 1000upm in design, and (1000 * upmsacle)upm in production, to avoid rounding error.
|
||||
|
|
|
@ -52,8 +52,6 @@ sTypoAscender = 812
|
|||
sTypoDescender = -212
|
||||
sTypoLineGap = 92
|
||||
sxHeight = 792
|
||||
ulCodePageRange1 = 1
|
||||
ulCodePageRange2 = 0
|
||||
ulUnicodeRange1 = 1
|
||||
ulUnicodeRange2 = 268435456
|
||||
ulUnicodeRange3 = 0
|
||||
|
@ -80,6 +78,19 @@ ySuperscriptXSize = 665
|
|||
ySuperscriptYOffset = 491
|
||||
ySuperscriptYSize = 716
|
||||
|
||||
[OS_2.ulCodePageRange1]
|
||||
latin1 = true
|
||||
latin2 = true
|
||||
greek = true
|
||||
cyrillic = true
|
||||
turkish = true
|
||||
vietnamese = true
|
||||
macRoman = true
|
||||
[OS_2.ulCodePageRange2]
|
||||
cp852 = true
|
||||
cp850 = true
|
||||
ascii = true
|
||||
|
||||
[name]
|
||||
fontFamily = "node-sfnt"
|
||||
fontSubFamily = "regular"
|
||||
|
|
Loading…
Reference in New Issue
Block a user