Merge branch 'master' into releases
|
@ -1,4 +1,4 @@
|
||||||
# Iosevka  [](http://7xpe0v.com1.z0.glb.clouddn.com/aeqr9bewtqtvpkpl18.png)
|
# Iosevka  [](http://7xpdnl.dl1.z0.glb.clouddn.com/T1v4huXnleXXXXXXXX.png)
|
||||||
|
|
||||||
Coders' typeface, built from code. //[→ Inziu Iosevka for Chinese and Japanese.](http://be5invis.github.io/Iosevka/inziu.html)
|
Coders' typeface, built from code. //[→ Inziu Iosevka for Chinese and Japanese.](http://be5invis.github.io/Iosevka/inziu.html)
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ Iosevka comes with several visual styles, however they are inactive using the de
|
||||||
|
|
||||||
* `STYLE_COMMON` for both uprights and italics,
|
* `STYLE_COMMON` for both uprights and italics,
|
||||||
* `STYLE_UPRIGHT` for upright and oblique, and
|
* `STYLE_UPRIGHT` for upright and oblique, and
|
||||||
* `STYLE_ITALICS` for itaics only.
|
* `STYLE_ITALIC` for itaics only.
|
||||||
|
|
||||||
You can add arbitary styles for these variables, for example, `make STYLE_UPRIGHT='v-l-zshaped v-i-zshaped'` to create a variant with Z-shaped letter `l` and `i` for uprights.
|
You can add arbitary styles for these variables, for example, `make STYLE_UPRIGHT='v-l-zshaped v-i-zshaped'` to create a variant with Z-shaped letter `l` and `i` for uprights.
|
||||||
|
|
||||||
|
@ -111,6 +111,9 @@ The current avaliable styles are:
|
||||||
|
|
||||||
## Release Notes
|
## Release Notes
|
||||||
|
|
||||||
|
* **1.9.6**
|
||||||
|
- Make the font conformal with MS FontVal.
|
||||||
|
- Make backslash less slant.
|
||||||
* **1.9.5**
|
* **1.9.5**
|
||||||
- Fixed the bug that FireFox reject to display.
|
- Fixed the bug that FireFox reject to display.
|
||||||
* **1.9.4**
|
* **1.9.4**
|
||||||
|
|
|
@ -5,7 +5,6 @@ glyf = []
|
||||||
|
|
||||||
[head]
|
[head]
|
||||||
checkSumAdjustment = 369537602
|
checkSumAdjustment = 369537602
|
||||||
created = "2014-12-06T22:05:19.000Z"
|
|
||||||
flags = 11
|
flags = 11
|
||||||
fontDirectionHint = 2
|
fontDirectionHint = 2
|
||||||
fontRevision = 1
|
fontRevision = 1
|
||||||
|
@ -14,7 +13,8 @@ indexToLocFormat = 0
|
||||||
lowestRecPPEM = 8
|
lowestRecPPEM = 8
|
||||||
macStyle = 0
|
macStyle = 0
|
||||||
magickNumber = 1594834165
|
magickNumber = 1594834165
|
||||||
modified = "2014-12-06T22:20:03.000Z"
|
created = 3562553439
|
||||||
|
modified = 3562553439
|
||||||
unitsPerEm = 1000
|
unitsPerEm = 1000
|
||||||
version = 1
|
version = 1
|
||||||
xMax = 306
|
xMax = 306
|
||||||
|
|
|
@ -3,6 +3,7 @@ $$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import 'unorm' as unorm
|
import 'unorm' as unorm
|
||||||
import [mix linreg clamp fallback suggestGC] from '../support/utils'
|
import [mix linreg clamp fallback suggestGC] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
define customDecompositions : object
|
define customDecompositions : object
|
||||||
# Latvians use comma instead of cedillas in several letters.
|
# Latvians use comma instead of cedillas in several letters.
|
||||||
|
@ -748,8 +749,8 @@ export : define [apply] : begin
|
||||||
define [createLigatures shrink1 shrink2 wadj1 wadj2 records] : if [not recursive] : begin
|
define [createLigatures shrink1 shrink2 wadj1 wadj2 records] : if [not recursive] : begin
|
||||||
local pendingGlyphs1 : records.map : [record] => record.1
|
local pendingGlyphs1 : records.map : [record] => record.1
|
||||||
local pendingGlyphs2 : records.map : [record] => record.2
|
local pendingGlyphs2 : records.map : [record] => record.2
|
||||||
local df1 : Thinner pendingGlyphs1 shrink1
|
local df1 : Thinner pendingGlyphs1 [if (para.spacing == 3) 1 shrink1]
|
||||||
local df2 : Thinner pendingGlyphs2 shrink2
|
local df2 : Thinner pendingGlyphs2 [if (para.spacing == 3) 1 shrink2]
|
||||||
|
|
||||||
foreach [{unicode c1 c2 mark} : items-of records] : begin
|
foreach [{unicode c1 c2 mark} : items-of records] : begin
|
||||||
local glyphName "\(c1)_\(c2)"
|
local glyphName "\(c1)_\(c2)"
|
||||||
|
@ -757,22 +758,29 @@ export : define [apply] : begin
|
||||||
local j 2
|
local j 2
|
||||||
while glyphs.(glyphName + j) : inc j
|
while glyphs.(glyphName + j) : inc j
|
||||||
set glyphName (glyphName + j)
|
set glyphName (glyphName + j)
|
||||||
|
if (para.spacing == 3) : begin
|
||||||
|
sketch
|
||||||
|
include df2.(c2)
|
||||||
|
include : Translate WIDTH 0
|
||||||
|
include df1.(c1)
|
||||||
|
set-width FULLWIDTH
|
||||||
|
save glyphName unicode
|
||||||
|
: else
|
||||||
|
local kern : SB * 7/8 * (shrink1 + shrink2)
|
||||||
|
local refw : WIDTH * (shrink1 * wadj1 + shrink2 * wadj2) - kern
|
||||||
|
sketch
|
||||||
|
include df2.(c2)
|
||||||
|
include : Translate (WIDTH * shrink1 * wadj1 - kern) 0
|
||||||
|
include df1.(c1)
|
||||||
|
include : Translate (-WIDTH * shrink1 * (1 - wadj1) / 2) 0
|
||||||
|
include : Upright
|
||||||
|
include : Translate (-refw / 2) 0
|
||||||
|
include : Scale ((WIDTH - SB * 1.25) / (WIDTH - SB * 2) * WIDTH / refw) 1
|
||||||
|
include : Translate (WIDTH / 2) 0
|
||||||
|
include : Italify
|
||||||
|
|
||||||
local kern : SB * 7/8 * (shrink1 + shrink2)
|
if mark : include mark
|
||||||
local refw : WIDTH * (shrink1 * wadj1 + shrink2 * wadj2) - kern
|
save glyphName unicode
|
||||||
sketch
|
|
||||||
include df2.(c2)
|
|
||||||
include : Translate (WIDTH * shrink1 * wadj1 - kern) 0
|
|
||||||
include df1.(c1)
|
|
||||||
include : Translate (-WIDTH * shrink1 * (1 - wadj1) / 2) 0
|
|
||||||
include : Upright
|
|
||||||
include : Translate (-refw / 2) 0
|
|
||||||
include : Scale ((WIDTH - SB * 1.25) / (WIDTH - SB * 2) * WIDTH / refw) 1
|
|
||||||
include : Translate (WIDTH / 2) 0
|
|
||||||
include : Italify
|
|
||||||
|
|
||||||
if mark : include mark
|
|
||||||
save glyphName unicode
|
|
||||||
|
|
||||||
createLigatures stdShrink stdShrink 1 1 : list
|
createLigatures stdShrink stdShrink 1 1 : list
|
||||||
list 0x1C4 'D' 'Zcaron'
|
list 0x1C4 'D' 'Zcaron'
|
||||||
|
|
|
@ -4,6 +4,7 @@ import '../support/transform' as : Transform && [object [transformPoint tp] [unt
|
||||||
import '../support/fairify' as fairify
|
import '../support/fairify' as fairify
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry
|
glyph-module-entry
|
||||||
|
|
|
@ -6,6 +6,7 @@ $$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks
|
glyph-module-entry commonShapes overmarks
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic
|
glyph-module-entry commonShapes overmarks letterBasic
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
###### NUMBERS
|
###### NUMBERS
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes
|
glyph-module-entry commonShapes
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks
|
glyph-module-entry commonShapes overmarks
|
||||||
|
|
|
@ -3,6 +3,7 @@ $$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
import '../support/transform' as : Transform && [object [transformPoint tp] [untransform utp] inverse]
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks
|
glyph-module-entry commonShapes overmarks
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic
|
glyph-module-entry commonShapes overmarks letterBasic
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic letterExt
|
glyph-module-entry commonShapes overmarks letterBasic letterExt
|
||||||
|
@ -102,8 +103,8 @@ export : define [apply] : begin
|
||||||
include glyphs.plus
|
include glyphs.plus
|
||||||
save 'plusminus' 0xB1
|
save 'plusminus' 0xB1
|
||||||
turned 'minusplus' 0x2213 'plusminus' MIDDLE parenMid
|
turned 'minusplus' 0x2213 'plusminus' MIDDLE parenMid
|
||||||
local equalHalfSpace : (parenTop - parenBot) * 0.11
|
|
||||||
|
|
||||||
|
local equalHalfSpace : (parenTop - parenBot) * designParameters.equal_wideness
|
||||||
sketch # equal
|
sketch # equal
|
||||||
include : HBar SB RIGHTSB (parenMid + equalHalfSpace) OPERATORSTROKE
|
include : HBar SB RIGHTSB (parenMid + equalHalfSpace) OPERATORSTROKE
|
||||||
include : HBar SB RIGHTSB (parenMid - equalHalfSpace) OPERATORSTROKE
|
include : HBar SB RIGHTSB (parenMid - equalHalfSpace) OPERATORSTROKE
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks geometricSymbols
|
glyph-module-entry commonShapes overmarks geometricSymbols
|
||||||
|
@ -322,9 +323,11 @@ export : define [apply] : begin
|
||||||
save ('lighyphen.' + subclass)
|
save ('lighyphen.' + subclass)
|
||||||
|
|
||||||
# =>
|
# =>
|
||||||
local dblarrowd : XH * [linreg 18 0.15 126 0.275 STROKE]
|
# local dblarrowd : XH * [linreg 18 0.15 126 0.275 STROKE]
|
||||||
local sw : Math.min OPERATORSTROKE (dblarrowd * [clamp 0.45 0.75 ((1 - WHITENESS) * 1)])
|
# local sw : Math.min OPERATORSTROKE (dblarrowd * [clamp 0.45 0.75 ((1 - WHITENESS) * 1)])
|
||||||
local dblextend [clamp 0 WIDTH (RIGHTSB - (dblarrowd - sw / 2) * arrowheadSlope)]
|
local sw OPERATORSTROKE
|
||||||
|
local dblarrowd ((parenTop - parenBot) * designParameters.equal_wideness + sw / 2)
|
||||||
|
local dblextend : clamp 0 WIDTH (RIGHTSB - (dblarrowd - sw / 2) * arrowheadSlope)
|
||||||
local dblarrowj : clamp 0 WIDTH (SB + (dblarrowd - sw / 2) * arrowheadSlope)
|
local dblarrowj : clamp 0 WIDTH (SB + (dblarrowd - sw / 2) * arrowheadSlope)
|
||||||
foreach [{subclass left right} : items-of [ArrowBarConfig dblextend arrowheadsKern dblarrowj]] : sketch
|
foreach [{subclass left right} : items-of [ArrowBarConfig dblextend arrowheadsKern dblarrowj]] : sketch
|
||||||
include : HBarTop left right (parenMid + dblarrowd) sw
|
include : HBarTop left right (parenMid + dblarrowd) sw
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
$$include '../meta/macros.ptl'
|
$$include '../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix linreg clamp fallback] from '../support/utils'
|
import [mix linreg clamp fallback] from '../support/utils'
|
||||||
|
import [designParameters] from '../meta/aesthetics'
|
||||||
|
|
||||||
export : define [apply] : begin
|
export : define [apply] : begin
|
||||||
glyph-module-entry commonShapes overmarks letterBasic
|
glyph-module-entry commonShapes overmarks letterBasic
|
||||||
|
@ -427,11 +428,12 @@ export : define [apply] : begin
|
||||||
save 'slash' '/'
|
save 'slash' '/'
|
||||||
|
|
||||||
sketch # backslash
|
sketch # backslash
|
||||||
local cor : HVCONTRAST / [Math.sqrt (1 - [Math.pow ((RIGHTSB - SB - STROKE) / (parenTop - parenBot)) 2])]
|
local width : (RIGHTSB - SB) * (1 + TANSLANT * 2)
|
||||||
start-from SB parenTop
|
local cor : HVCONTRAST / [Math.sqrt (1 - [Math.pow ((width - STROKE) / (parenTop - parenBot)) 2])]
|
||||||
line-to (SB + STROKE * cor) parenTop
|
start-from (MIDDLE - width / 2) parenTop
|
||||||
line-to RIGHTSB parenBot
|
line-to (MIDDLE - width / 2 + STROKE * cor) parenTop
|
||||||
line-to (RIGHTSB - STROKE * cor) parenBot
|
line-to (MIDDLE + width / 2) parenBot
|
||||||
|
line-to (MIDDLE + width / 2 - STROKE * cor) parenBot
|
||||||
reverse-last
|
reverse-last
|
||||||
save 'backslash' "\\"
|
save 'backslash' "\\"
|
||||||
alias 'solidus' 0x2044 'slash'
|
alias 'solidus' 0x2044 'slash'
|
||||||
|
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 408 KiB After Width: | Height: | Size: 409 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 153 KiB After Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 689 KiB After Width: | Height: | Size: 689 KiB |
Before Width: | Height: | Size: 354 KiB After Width: | Height: | Size: 354 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 260 KiB |
|
@ -174,3 +174,6 @@ export : define [setFontMetrics para metrics font] : begin
|
||||||
set font.OS_2.sxHeight XH
|
set font.OS_2.sxHeight XH
|
||||||
set font.OS_2.sCapHeight CAP
|
set font.OS_2.sCapHeight CAP
|
||||||
set font.post.italicAngle (0 - para.slantAngle)
|
set font.post.italicAngle (0 - para.slantAngle)
|
||||||
|
|
||||||
|
export : define designParameters : object
|
||||||
|
equal_wideness 0.1
|
|
@ -1,6 +1,6 @@
|
||||||
[iosevka]
|
[iosevka]
|
||||||
family = 'Iosevka'
|
family = 'Iosevka'
|
||||||
version = '1.9.5'
|
version = '1.9.6'
|
||||||
codename = 'Ingrid'
|
codename = 'Ingrid'
|
||||||
copyright = 'Copyright (c) 2015-2016 Belleve Invis.'
|
copyright = 'Copyright (c) 2015-2016 Belleve Invis.'
|
||||||
licence = '''This font software is licenced under the SIL Open Font Licence, Version 1.1. This is licence is avaliable with a FAQ at: http://scripts.sil.org/OFL. This font software is distributes on an 'AS IS' basis, without warranties or conditions of any kind, either express or implied. See the SIL Open Font licence fot the specific language, premissions and limitations governing your use of this font software.'''
|
licence = '''This font software is licenced under the SIL Open Font Licence, Version 1.1. This is licence is avaliable with a FAQ at: http://scripts.sil.org/OFL. This font software is distributes on an 'AS IS' basis, without warranties or conditions of any kind, either express or implied. See the SIL Open Font licence fot the specific language, premissions and limitations governing your use of this font software.'''
|
||||||
|
|