From c4d65dc302ab3412d085a646b796e560d9a3efae Mon Sep 17 00:00:00 2001 From: Cyano Hao <c@cyano.cn> Date: Sun, 20 Oct 2019 01:52:53 +0800 Subject: [PATCH] slightly condense punctations in non-UI variant; propotional kana in non-UI variant --- README-Hans.md | 2 +- README-Hant.md | 2 +- README.md | 2 +- configure.py | 4 ++-- libotd | 2 +- merge.py | 4 +++- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README-Hans.md b/README-Hans.md index c086a14..164a06b 100644 --- a/README-Hans.md +++ b/README-Hans.md @@ -54,7 +54,7 @@ GB 变体完全覆盖 GB 18030-2000 标准,移除了谚文支持,文件大 * 西文:英语、西班牙语(拉丁美洲)、葡萄牙语、德语、西班牙语(欧洲)、法语、意大利语、俄语。 * 东亚语言:简体中文、繁体中文、韩国语。 -* UI:中西文共用的标点视作西文标点;半角 CJK 标点;比例假名。 +* UI:中西文共用的标点视作西文标点;半角 CJK 标点。 ### 特性 diff --git a/README-Hant.md b/README-Hant.md index fd25bc1..ccaddc3 100644 --- a/README-Hant.md +++ b/README-Hant.md @@ -54,7 +54,7 @@ GB 變體完全覆蓋 GB 18030-2000 標準,移除了諺文支援,文件大 * 西文:英語、西班牙語(拉丁美洲)、葡萄牙語、德語、西班牙語(歐洲)、法語、義大利語、俄語。 * 東亞語言:簡體中文、繁體中文、韓國語。 -* UI:中西文共用的標點視作西文標點;半形 CJK 標點;比例假名。 +* UI:中西文共用的標點視作西文標點;半形 CJK 標點。 ### 特徵 diff --git a/README.md b/README.md index 5ac08b4..8cff755 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ GB is a variant that supports a superset of Chinese national standard GB 18030-2 * European: English, Español (AL), Português, Deutsch, Español (EU), Français, Italiano, and Русский. * East Asian: 简体中文, 繁體中文, and 한국어. -* UI: Ambiguous punctations are treated as Western; CJK puctations are half-width; Kana are proportional. +* UI: Ambiguous punctations are treated as Western; CJK puctations are half-width. ### Features diff --git a/configure.py b/configure.py index 5e5ffad..55985de 100644 --- a/configure.py +++ b/configure.py @@ -5,8 +5,8 @@ from types import SimpleNamespace as Namespace class Config: - version = "0.6.3" - fontRevision = 0.0603 + version = "0.7.0" + fontRevision = 0.0700 vendor = "Nowar Typeface" vendorId = "NOWR" vendorUrl = "https://github.com/nowar-fonts" diff --git a/libotd b/libotd index 4f9ca4f..0e87778 160000 --- a/libotd +++ b/libotd @@ -1 +1 @@ -Subproject commit 4f9ca4f1dc5896cd00097afec7413b93b57cc73b +Subproject commit 0e87778969ed9f920f7e81ff3c06a1113ffb88da diff --git a/merge.py b/merge.py index e2af385..eb3f7cc 100644 --- a/merge.py +++ b/merge.py @@ -4,7 +4,7 @@ import codecs from types import SimpleNamespace as Namespace from libotd.merge import MergeBelow -from libotd.pkana import ApplyPalt +from libotd.pkana import ApplyPalt, NowarApplyPaltMultiplied from libotd.transform import Transform, ChangeAdvanceWidth from libotd.gsub import GetGsubFlat from libotd.gsub import ApplyGsubSingle @@ -217,6 +217,8 @@ def NameFont(param, font): # pre-apply `palt` in UI family if "UI" in param.family: ApplyPalt(asianFont) + else: + NowarApplyPaltMultiplied(asianFont, 0.4) MergeBelow(baseFont, asianFont)