Skip to content

Commit

Permalink
reduce regional variants
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoHao committed May 11, 2020
1 parent fedaf1e commit cd0e85d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 81 deletions.
21 changes: 8 additions & 13 deletions README-Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

镜像:[Gitee](https://gitee.com/nowar-fonts/Nowar-Sans)

有爱黑体有 5 种字重和 9 种地区变体,此外还有若干特性。
有爱黑体有 5 种字重和 5 种地区变体,此外还有若干特性。

### 字重

Expand All @@ -27,26 +27,21 @@
* 400:常规
* 500:中等
* 700:粗体
* [Morpheus(西文标题字体)采用了更粗或更细的字重,以示强调。]

### 地区变体

NeutBliz 中,不同语言采用不同的字形标准
BlizNeut 是 “标准变体”,遵循各地区的字形标准

| | 西文和韩国语 | 简体中文 | 繁體中文 | 备注 |
| ---- | ----------------- | ------------ | -------- | ------------------------------- |
| Neut | 传统字形(UI) | 中国大陆字形 | 台湾字形 | 未指定字形标准时,采用传统字形。|
| Bliz | 中国大陆字形(UI)| 中国大陆字形 | 台湾字形 | 遵从《魔兽世界》默认字体设置。 |
| Neut | 传统字形(UI) | 中国大陆字形 | 台湾字形 | 未指定字形标准时,采用传统字形。|

CN、TW、HK、JP、CL 中,各语言都采用相同的字形标准
CL 是 “传统变体”,采用传统印刷字形(即康熙字形)

| | 西文和韩国语 | 中文 |
| -- | ----------------- | ------------ |
| CN | 中国大陆字形(UI)| 中国大陆字形 |
| TW | 台湾字形(UI) | 台湾字形 |
| HK | 香港字形(UI) | 香港字形 |
| JP | 日本字形(UI) | 日本字形 |
| CL | 传统字形(UI) | 传统字形 |
| | 西文和韩国语 | 中文 |
| -- | ------------- | -------- |
| CL | 传统字形(UI)| 传统字形 |

PSimp、PSimpChat 是针对繁体中文的变体,把繁体字重映射为简化字字形。

Expand All @@ -67,4 +62,4 @@ PSimp、PSimpChat 是针对繁体中文的变体,把繁体字重映射为简
| SC | Smallcaps | 小型大写拉丁字母。 |
| RP | Roleplaying | ``(U+4E36)重映射为 `·`(U+00B7,MIDDLE DOT)。|

预编译的特性变体:`Neut,OSF``Neut,SC``Bliz,OSF``Bliz,SC``CN,RP`
预编译的特性变体:`Bliz,OSF``Bliz,RP``Bliz,SC`
21 changes: 8 additions & 13 deletions README-Hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

鏡像:[Gitee](https://gitee.com/nowar-fonts/Nowar-Sans)

有愛黑體有 5 種字重和 9 種地區變體,此外還有若干特徵。
有愛黑體有 5 種字重和 5 種地區變體,此外還有若干特徵。

### 字重

Expand All @@ -27,26 +27,21 @@
* 400:常規
* 500:中等
* 700:粗體
* [Morpheus(西文標題字體)採用了更粗或更細的字重,以示強調。]

### 地區變體

NeutBliz 中,不同語言採用不同的字形標準
BlizNeut 是「標準變體」,遵循各地區的字形標準

| | 西文和韓國語 | 簡體中文 | 繁體中文 | 備注 |
| ---- | ----------------- | ------------ | -------- | ------------------------------- |
| Neut | 傳統字形(UI) | 中國大陸字形 | 臺灣字形 | 未指定字形標準時,採用傳統字形。|
| Bliz | 中國大陸字形(UI)| 中國大陸字形 | 臺灣字形 | 遵從《魔獸世界》預設字型設定。 |
| Neut | 傳統字形(UI) | 中國大陸字形 | 臺灣字形 | 未指定字形標準時,採用傳統字形。|

CN、TW、HK、JP、CL 中,各語言都採用相同的字形標準
CL 是「傳統變體」,採用傳統印刷字形(即康熙字形)

| | 西文和韓國語 | 中文 |
| -- | ----------------- | ------------ |
| CN | 中國大陸字形(UI)| 中國大陸字形 |
| TW | 臺灣字形(UI) | 臺灣字形 |
| HK | 香港字形(UI) | 香港字形 |
| JP | 日本字形(UI) | 日本字形 |
| CL | 傳統字形(UI) | 傳統字形 |
| | 西文和韓國語 | 中文 |
| -- | ------------- | -------- |
| CL | 傳統字形(UI)| 傳統字形 |

PSimp、PSimpChat 是針對繁體中文的變體,把繁體字重對映為簡化字字形。

Expand All @@ -67,4 +62,4 @@ PSimp、PSimpChat 是針對繁體中文的變體,把繁體字重對映為簡
| SC | Smallcaps | 小型大寫拉丁字母。 |
| RP | Roleplaying | ``(U+4E36)重對映為 `·`(U+00B7,MIDDLE DOT;或 U+2027,HYPHENATION POINT)。|

預編譯的特徵變體:`Neut,OSF``Neut,SC``Bliz,OSF``Bliz,SC``CN,RP`
預編譯的特徵變體:`Bliz,OSF``Bliz,RP``Bliz,SC`
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This is Nowar Sans, font packs for _World of Warcraft_ and _WoW Classic_ that su

Mirrors: [Gitee (Release Repo)](https://gitee.com/nowar-fonts/Nowar-Sans)

Nowar Sans is shipped in 5 weights and 9 regional variants, with several features.
Nowar Sans is shipped in 5 weights and 5 regional variants, with several features.

### Weights

Expand All @@ -27,26 +27,21 @@ Nowar Sans is shipped in 5 weights and 9 regional variants, with several feature
* 400: Regular
* 500: Medium
* 700: Bold
* [Morpheus (European display font) may be bolder or lighter.]

### Regional Variants

Neut and Bliz are multi-orthography variants.
Bliz and Neut are “standard variants” with regional Chinese character orthographies.

| | European and 한국어 | 简体中文 | 繁體中文 | Note |
| ---- | ------------------- | -------------- | -------- | ------------------------------------------ |
| Neut | Classical (UI) | Mainland China | Taiwan | Prefers classical orthography on fallback. |
| Bliz | Mainland China (UI) | Mainland China | Taiwan | Acts like WoW’s default fallback setting. |
| Neut | Classical (UI) | Mainland China | Taiwan | Prefers classical orthography on fallback. |

CN, TW, HK, JP and CL are single-orthography variants.
CL is the “classical variant” with classical Chinese character orthography (aka Kāngxī Dictionary forms).

| | European and 한국어 | 中文 |
| -- | ------------------- | -------------- |
| CN | Mainland China (UI) | Mainland China |
| TW | Taiwan (UI) | Taiwan |
| HK | Hong Kong (UI) | Hong Kong |
| JP | Japan (UI) | Japan |
| CL | Classical (UI) | Classical |
| | European and 한국어 | 中文 |
| -- | ------------------- | --------- |
| CL | Classical (UI) | Classical |

PSimp and PSimpChat are special variants for 繁體中文 that remap traditional Chinese character to simplified ones.

Expand All @@ -67,7 +62,7 @@ PSimp and PSimpChat are special variants for 繁體中文 that remap traditional
| RP | Roleplaying | `` (U+4E36) is mapped to the same glyph as `·` (U+00B7, MIDDLE DOT). |
| SC | Smallcaps | Small capitals for Latin. |

Pre-built feature variants: `Neut,OSF`, `Neut,SC`, `Bliz,OSF`, `Bliz,SC`, `CN,RP`.
Pre-built feature variants: `Bliz,OSF`, `Bliz,RP`, `Bliz,SC`.

## How to Build

Expand Down
52 changes: 10 additions & 42 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ class Config:
licenseUrl = "https://scripts.sil.org/OFL"

fontPackWeight = [300, 372, 400, 500, 700]
fontPackRegion = ["Neut", "Bliz", "CN", "TW", "HK", "JP", "CL", "PSimp", "PSimpChat"]
fontPackRegion = ["Bliz", "Neut", "CL", "PSimp", "PSimpChat"]
fontPackFeature = ["OSF", "RP", "SC"]
# feature tags must be sorted alphabetically
fontPackExportFeature = [
("Bliz", ["OSF"]), ("Bliz", ["SC"]),
("Neut", ["OSF"]), ("Neut", ["SC"]),
("CN", ["RP"]),
("Bliz", ["OSF"]),
("Bliz", ["RP"]),
("Bliz", ["SC"]),
]

globalFontWeight = [300, 400, 500, 700]
Expand Down Expand Up @@ -75,38 +75,6 @@ class Config:
"zhTW": "TW",
"koKR": "CN", # yes, it is
},
"CN": {
"base": "CN",
"enUS": True,
"ruRU": True,
"zhCN": "CN",
"zhTW": "CN",
"koKR": "CN",
},
"TW": {
"base": "TW",
"enUS": True,
"ruRU": True,
"zhCN": "TW",
"zhTW": "TW",
"koKR": "TW",
},
"HK": {
"base": "HK",
"enUS": True,
"ruRU": True,
"zhCN": "HK",
"zhTW": "HK",
"koKR": "HK",
},
"JP": {
"base": "JP",
"enUS": True,
"ruRU": True,
"zhCN": "JP",
"zhTW": "JP",
"koKR": "JP",
},
"CL": {
"base": "CL",
"enUS": True,
Expand All @@ -133,39 +101,39 @@ class Config:
"koKR": None,
"xmod": [("PSimp", ["base", "chat"])],
},
"CNmulti": { # deprecated, previously “CN”
"CN": { # deprecated
"base": "CN",
"enUS": True,
"ruRU": True,
"zhCN": "CN",
"zhTW": "TW",
"koKR": "KR",
},
"TWmulti": { # deprecated, previously “TW”
"TW": { # deprecated
"base": "TW",
"enUS": True,
"ruRU": True,
"zhCN": "CN",
"zhTW": "TW",
"koKR": "KR",
},
"HKmulti": { # deprecated, previously “HK”
"HK": { # deprecated
"base": "HK",
"enUS": True,
"ruRU": True,
"zhCN": "CN",
"zhTW": "HK",
"koKR": "KR",
},
"JPmulti": { # deprecated, previously “JP”
"JP": { # deprecated
"base": "JP",
"enUS": True,
"ruRU": True,
"zhCN": "CN",
"zhTW": "TW",
"koKR": "KR",
},
"KRmulti": { # deprecated, previously “KR”
"KR": { # deprecated
"base": "KR",
"enUS": True,
"ruRU": True,
Expand Down Expand Up @@ -701,7 +669,7 @@ def ParamToArgument(param):
"depend": ["all", "GlobalFont", "NamingTest"],
},
"all": {
"depend": ["GlobalFont"],
"depend": [],
},
"GlobalFont": {
"depend": [],
Expand Down

0 comments on commit cd0e85d

Please sign in to comment.