make backslash less vertical

This commit is contained in:
be5invis 2016-11-23 09:25:04 +08:00
parent bcf736e451
commit 8a9a7a9812
2 changed files with 7 additions and 6 deletions

View File

@ -428,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'

View File

@ -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.'''