Skip to content

Commit

Permalink
follow Nowar Sans changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanoHao committed May 12, 2020
1 parent efe9405 commit 38354d2
Show file tree
Hide file tree
Showing 9 changed files with 5,175 additions and 1,015 deletions.
6 changes: 4 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Copyright © 2018—2020 Cyano Hao and Nowar Typeface, with reserved font name “Nowar”, “有爱”, and “有愛”.
Copyright © 2018—2020 Cyano Hao and Nowar Typeface, with
Reserved Font Name “Nowar”, “Новар”, “Νοωαρ”, “有爱”, and “有愛”.

Portions Copyright 2011 Google Inc.

Expand All @@ -12,7 +13,8 @@ Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL

Part of the source files, Roboto fonts, were initially released by Google under the Apache License, Version 2.0. The license can be found at:
Part of the source files, Roboto fonts, were initially released by Google
under the Apache License, Version 2.0. The license can be found at:
https://www.apache.org/licenses/LICENSE-2.0

-----------------------------------------------------------
Expand Down
43 changes: 19 additions & 24 deletions README-Hans.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[English](README.md) **简体中文** [繁體中文](README-Hant.md)

# 有爱新黑(《魔兽世界》字体包)
# 有爱新黑

有爱新黑是《魔兽世界》和《魔兽世界:经典怀旧服》字体包,支持所有语言。有爱新黑是 [Noto Sans](https://github.com/googlei18n/noto-fonts)[思源黑体](https://github.com/adobe-fonts/source-han-sans)的合并字体。

Expand All @@ -18,7 +18,7 @@

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

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

### 字重

Expand All @@ -29,41 +29,36 @@

### 地区变体

CN、TW、HK、JP、KR 是 “标准变体”,支持完整的字符集,并遵循各地区的字形标准
Bliz 和 Neut 是 “标准变体”,遵循各地区的字形标准

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

CL 是 “传统变体”,支持完整的字符集,采用传统印刷字形(即康熙字形)。
CL 是 “传统变体”,采用传统印刷字形(即康熙字形)。

| | 西文 | 中文 | 韩国语 |
| --- | ------------- | -------- | ------------- |
| CL | 传统字形(UI)| 传统字形 | 传统字形(UI)|
| | 西文和韩国语 | 中文 |
| -- | ------------- | -------- |
| CL | 传统字形(UI)| 传统字形 |

GB 变体完全覆盖 GB 18030-2000 标准,移除了谚文支持,文件大小得以大幅缩减
PSimp、PSimpChat 是针对繁体中文的变体,把繁体字重映射为简化字字形

| | 西文 | 中文 | 韩国语 |
| -- | ----------------- | ------------ | ------ |
| GB | 中国大陆字形(UI)| 中国大陆字形 | 不可用 |
| | 通用字体 | 繁体中文文本、战斗、工具提示字体 | 繁体中文聊天字体 | 西文、简体中文、韩国语 |
| --------- | --------------------------| --------------------- | --------------------- | ------ |
| PSimp | 中国大陆字形(UI,重映射)| 中国大陆字形(重映射)| 中国大陆字形 | 不可用 |
| PSimpChat | 中国大陆字形(UI,重映射)| 中国大陆字形(重映射)| 中国大陆字形(重映射)| 不可用 |

* 西文:英语、西班牙语(拉丁美洲)、葡萄牙语、德语、西班牙语(欧洲)、法语、意大利语、俄语。
* UI:中西文共用的标点视作西文标点;半角 CJK 标点。
* 通用字体:`FRIZQT__``ARIALN`。某些插件硬编码了此字体。

### 特性

| 标记 | 名称 | 简介 |
| ---- | ----------- | ------------------------------------------------- |
| OSF | Oldstyle | 不齐线、不等宽的旧式数字。 |
| SC | Smallcaps | 小型大写拉丁、西里尔、希腊字母。 |
| SC | Smallcaps | 小型大写拉丁字母。 |
| RP | Roleplaying | ``(U+4E36)重映射为 `·`(U+00B7,MIDDLE DOT)。|

预编译的特性变体:`CL,OSF``CL,SC``CL,OSF,SC``GB,RP`

### SharedMedia 字体包

有爱新黑也可以以插件的形式安装(**很大!**),启用之后会向 SharedMedia 注册有爱新黑字族。
预编译的特性变体:`Bliz,OSF``Bliz,RP``Bliz,SC`
41 changes: 18 additions & 23 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-Neo-Sans)

有 4 種字重和 7 種地區變體,此外還有若干特徵。
有 4 種字重和 5 種地區變體,此外還有若干特徵。

### 字重

Expand All @@ -29,41 +29,36 @@

### 地區變體

CN、TW、HK、JP、KR 是「標準變體」,支援完整的字元集,並遵循各地區的字形標準
Bliz 和 Neut 是「標準變體」,遵循各地區的字形標準

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

CL 是「傳統變體」,支援完整的字元集,採用傳統印刷字形(即康熙字形)。
CL 是「傳統變體」,採用傳統印刷字形(即康熙字形)。

| | 西文 | 中文 | 韓國語 |
| --- | ------------------------- | -------- | ------------- |
| CL | 傳統字形(UI) | 傳統字形 | 傳統字形(UI)|
| | 西文和韓國語 | 中文 |
| -- | ------------- | -------- |
| CL | 傳統字形(UI)| 傳統字形 |

GB 變體完全覆蓋 GB 18030-2000 標準,移除了諺文支援,文件大小得以大幅縮減
PSimp、PSimpChat 是針對繁體中文的變體,把繁體字重對映為簡化字字形

| | 西文 | 中文 | 韓國語 |
| -- | ----------------- | ------------ | ------ |
| GB | 中國大陸字形(UI)| 中國大陸字形 | 不適用 |
| | 通用字型 | 繁體中文文本、戰鬥、提示訊息字型 | 繁體中文聊天字型 | 西文、簡體中文、韓國語 |
| --------- | --------------------------| --------------------- | --------------------- | ------ |
| PSimp | 中國大陸字形(UI,重對映)| 中國大陸字形(重對映)| 中國大陸字形 | 不適用 |
| PSimpChat | 中國大陸字形(UI,重對映)| 中國大陸字形(重對映)| 中國大陸字形(重對映)| 不適用 |

* 西文:英語、西班牙語(拉丁美洲)、葡萄牙語、德語、西班牙語(歐洲)、法語、義大利語、俄語。
* UI:中西文共用的標點視作西文標點;半形 CJK 標點。
* 通用字型:`FRIZQT__``ARIALN`。某些插件硬編碼了此字型。

### 特徵

| 標記 | 名稱 | 簡介 |
| ---- | ----------- | ------------------------------------------------------------------------------- |
| OSF | Oldstyle | 不齊線、不等寬的舊樣式數字。 |
| SC | Smallcaps | 小型大寫拉丁、西里爾、希臘字母。 |
| SC | Smallcaps | 小型大寫拉丁字母。 |
| RP | Roleplaying | ``(U+4E36)重對映為 `·`(U+00B7,MIDDLE DOT;或 U+2027,HYPHENATION POINT)。|

預編譯的特徵變體:`CL,OSF``CL,SC``CL,OSF,SC``GB,RP`

### SharedMedia 字型包

有愛新黑也可以以插件的形式安裝(**很大!**),啓用之後會向 SharedMedia 登錄有愛新黑字體。
預編譯的特徵變體:`Bliz,OSF``Bliz,RP``Bliz,SC`
79 changes: 41 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**English** [简体中文](README-Hans.md) [繁體中文](README-Hant.md)

# Nowar Neo Sans for _World of Warcraft_
# Nowar Neo Sans

This is Nowar Neo Sans, font packs for _World of Warcraft_ and _WoW Classic_ that support all client languages. Nowar Neo Sans is based on [Roboto](https://github.com/google/roboto) and [Source Han Sans](https://github.com/adobe-fonts/source-han-sans).

Expand All @@ -18,7 +18,7 @@ This is Nowar Neo Sans, font packs for _World of Warcraft_ and _WoW Classic_ tha

Mirrors: [Gitee (release repo)](https://gitee.com/nowar-fonts/Nowar-Neo-Sans)

Nowar Neo Sans is shipped in 4 weights and 7 regional variants, with several features.
Nowar Neo Sans is shipped in 4 weights and 5 regional variants, with several features.

### Weights

Expand All @@ -29,44 +29,39 @@ Nowar Neo Sans is shipped in 4 weights and 7 regional variants, with several fea

### Regional Variants

CN, TW, HK, JP and KR are “standard variants”, which have full character set support with regional Chinese character orthographies.
Bliz and Neut are “standard variants” with regional Chinese character orthographies.

| | European | 简体中文 | 繁體中文 | 한국어 |
| -- | ------------------- | -------------- | --------- | ------------- |
| CN | Mainland China (UI) | Mainland China | Taiwan | S. Korea (UI) |
| TW | Taiwan (UI) | Mainland China | Taiwan | S. Korea (UI) |
| HK | Hong Kong (UI) | Mainland China | Hong Kong | S. Korea (UI) |
| JP | Japan (UI) | Mainland China | Taiwan | S. Korea (UI) |
| KR | S. Korea (UI) | Mainland China | Taiwan | S. Korea (UI) |
| | European and 한국어 | 简体中文 | 繁體中文 | Note |
| ---- | ------------------- | -------------- | -------- | ------------------------------------------ |
| 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. |

CL, the “classical variant”, have full character set support with classical Chinese character orthography (aka Kāngxī Dictionary forms).
CL is the “classical variant” with classical Chinese character orthography (aka Kāngxī Dictionary forms).

| | European | 中文 | 한국어 |
| --- | -------------- | --------- | -------------- |
| CL | Classical (UI) | Classical | Classical (UI) |
| | European and 한국어 | 中文 |
| -- | ------------------- | --------- |
| CL | Classical (UI) | Classical |

GB is a variant that supports a superset of Chinese national standard GB 18030-2000. The GB distributions aim at smaller size by removing Hangul support.
PSimp and PSimpChat are special variants for 繁體中文 that remap traditional Chinese character to simplified ones.

| | European | 中文 | 한국어 |
| -- | ------------------- | -------------- | ------ |
| GB | Mainland China (UI) | Mainland China | N/A |
| | Common Fonts | 繁體中文 Text, Combat and Tooltip Fonts | 繁體中文 Chat Fonts | European, 简体中文 and 한국어 |
| --------- | ----------------------------- | ------------------------- | ------------------------- | --- |
| PSimp | Mainland China (UI, Remapped) | Mainland China (Remapped) | Mainland China | N/A |
| PSimpChat | Mainland China (UI, Remapped) | Mainland China (Remapped) | Mainland China (Remapped) | N/A |

* European: English, Español (AL), Português, Deutsch, Español (EU), Français, Italiano, and Русский.
* UI: Ambiguous punctations are treated as Western; CJK puctations are half-width.
* Common fonts: `FRIZQT__` and `ARIALN`, which are hard-coded in some addons.

### Features

| Tag | Name | Description |
| --- | ----------- | ---------------------------------------------------------------------- |
| OSF | Oldstyle | Oldstyle (non-lining), propotional figure. |
| SC | Smallcaps | Small capitals for Latin, Cyrillic and Greek. |
| 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: `CL,OSF`, `CL,SC`, `CL,OSF,SC`, `GB,RP`.

### SharedMedia Font Provider

Nowar Neo Sans is also avialable as an addon (REALLY HUGE!), to register Nowar Neo Sans typeface to SharedMedia.
Pre-built feature variants: `Bliz,OSF`, `Bliz,RP`, `Bliz,SC`.

## How to Build

Expand All @@ -80,7 +75,6 @@ Nowar Neo Sans is also avialable as an addon (REALLY HUGE!), to register Nowar N

Note:
+ Choose 64-bit version if possible. 32-bit version may lead to out-of-memory issue.
+ Use POSIX build of GNU Make on Windows ([MSYS2’s](https://www.msys2.org) or [Nowar’s](https://github.com/nowar-fonts/Toolchain-Windows-Build)).

### Build Feature Variant

Expand All @@ -100,39 +94,46 @@ Then make a specific variant:
```bash
make <region>,<features>-<weight> -j<threads>
```
Note: Features must be identically sorted as mentioned above. (`OSF`, `SC`, `RP`).
Note: Features must be sorted alphabetically. (`OSF`, `RP`, `SC`).

e.g.
```bash
make CN,OSF,SC,RP-400 -j4
make CN,OSF,RP-400 -j4
```

The output is `out/NowarNeoSans-<region>,<features>-<weight>-<version>.7z`.

### Create Regional Variant


To build exactly what you need, modify `configure.py`:
```python
class Config:
# put your variant here
fontPackRegion = [ <your_region> ]

# define the variant here. don’t remove pre-defined variants.
# define the variant here.
regionalVariant = { ... }
```

For example, “I enjoy Japna’s orthography, and I’d like to apply it to every language!”
For example, the “CNmulti” multi-orthography variant,

| | European | 简体中文 | 繁體中文 | 한국어 |
| ------- | ------------------- | -------------- | -------- | ------------- |
| CNmulti | Mainland China (UI) | Mainland China | Taiwan | S. Korea (UI) |

```python
class Config:
fontPackRegion = [ "JPeverywhere" ]
fontPackRegion = [ "CNmulti" ]

regionalVariant = {
...,
"JPeverywhere": {
"Latn": "JP",
"Hans": "JP",
"Hant": "JP",
"ko": "JP",
"CNmulti": {
"base": "CN",
"enUS": True,
"ruRU": True,
"zhCN": "CN",
"zhTW": "TW",
"koKR": "KR",
}
}
```
Expand All @@ -143,12 +144,14 @@ make <region>,<features>-<weight> -j<threads>
```
e.g.
```bash
make JPeverywhere-400 -j4
make JPeverywhere,OSF-400 -j4
make CNmulti-400 -j4
make CNmulti,OSF-400 -j4
```

## Credit

Latin, Greek and Cyrillic characters are from [Roboto](https://github.com/google/roboto) by Google.

CJK Ideographs, Kana and Hangul are from [Source Han Sans](https://github.com/adobe-fonts/source-han-sans) by Adobe.

The traditional Chinese to simplified Chinese conversion table is from [Open Chinese Convert project](https://github.com/BYVoid/OpenCC).
Loading

0 comments on commit 38354d2

Please sign in to comment.