From 8a9a7a98128f34dcbc3d0c2409648e1eb3cf19c7 Mon Sep 17 00:00:00 2001 From: be5invis Date: Wed, 23 Nov 2016 09:25:04 +0800 Subject: [PATCH] make backslash less vertical --- glyphs/symbol-punctuation.ptl | 11 ++++++----- parameters.toml | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/glyphs/symbol-punctuation.ptl b/glyphs/symbol-punctuation.ptl index d07924c..283ca92 100644 --- a/glyphs/symbol-punctuation.ptl +++ b/glyphs/symbol-punctuation.ptl @@ -428,11 +428,12 @@ export : define [apply] : begin save 'slash' '/' sketch # backslash - local cor : HVCONTRAST / [Math.sqrt (1 - [Math.pow ((RIGHTSB - SB - STROKE) / (parenTop - parenBot)) 2])] - start-from SB parenTop - line-to (SB + STROKE * cor) parenTop - line-to RIGHTSB parenBot - line-to (RIGHTSB - STROKE * cor) parenBot + local width : (RIGHTSB - SB) * (1 + TANSLANT * 2) + local cor : HVCONTRAST / [Math.sqrt (1 - [Math.pow ((width - STROKE) / (parenTop - parenBot)) 2])] + start-from (MIDDLE - width / 2) parenTop + line-to (MIDDLE - width / 2 + STROKE * cor) parenTop + line-to (MIDDLE + width / 2) parenBot + line-to (MIDDLE + width / 2 - STROKE * cor) parenBot reverse-last save 'backslash' "\\" alias 'solidus' 0x2044 'slash' diff --git a/parameters.toml b/parameters.toml index 4be8367..c8ca585 100644 --- a/parameters.toml +++ b/parameters.toml @@ -1,6 +1,6 @@ [iosevka] family = 'Iosevka' -version = '1.9.5' +version = '1.9.6' codename = 'Ingrid' 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.'''