• Home
Name Date Size #Lines LOC

..--

Sans/07-Sep-2024-702482

Serif/07-Sep-2024-638399

google-fonts/07-Sep-2024-124100

.gitattributesD07-Sep-20241.2 KiB3129

.gitignoreD07-Sep-2024221 54

BUILD.gnD07-Sep-20241.3 KiB4943

OAT.xmlD07-Sep-20244.7 KiB7023

README.OpenSourceD07-Sep-2024370 1211

README.mdD07-Sep-2024949 149

README_OpenHarmony.mdD07-Sep-20242 KiB7245

bundle.jsonD07-Sep-2024749 3231

fonts_config.gniD07-Sep-2024806 2422

gh-release-noto-cjk-sans.shD07-Sep-20244.4 KiB5947

gh-release-noto-cjk-serif.shD07-Sep-20243.6 KiB5439

README.OpenSource

1[
2  {
3    "Name": "noto-cjk",
4    "License": "SIL Open Font 1.1 License",
5    "License File": "LICENSE",
6    "Version Number": "Serif2.002",
7    "Owner": "huangjie125@huawei.com",
8    "Upstream URL": "https://github.com/googlefonts/noto-cjk",
9    "Description": "Supports Chinese Simplified, Chinese Traditional, Japanese, and Korean font collections."
10  }
11]
12

README.md

1# Noto CJK fonts
2
3Download individual fonts from the download guides for [Noto Sans CJK](https://github.com/googlefonts/noto-cjk/tree/main/Sans#downloading-noto-sans-cjk) or [Noto Serif CJK](https://github.com/googlefonts/noto-cjk/tree/main/Serif#downloading-noto-serif-cjk) or look in [Releases](https://github.com/googlefonts/noto-cjk/releases)
4
5Release notes and version history are documented separately for [Sans](https://github.com/googlefonts/noto-cjk/blob/main/Sans/NEWS.md#noto-sans-cjk-release-notes) and [Serif](https://github.com/googlefonts/noto-cjk/blob/main/Serif/NEWS.md#noto-serif-cjk-release-notes)
6
7Noto CJK fonts are also available on [Google Fonts](https://fonts.google.com/noto/fonts) but under different names than in this repository. The two letter code here is replaced at Google Fonts as follows:
8
9- *JP* -> *Japanese*
10- *KR* -> *Korean*
11- *SC* -> *Simplified Chinese*
12- *TC* -> *Traditional Chinese*
13- *HK* -> *Hong Kong*
14

README_OpenHarmony.md

1# 三方开源软件noto-cjk
2## noto-cjk简介
3
4- noto-cjk提供了简体中文、繁体中文、日文、韩文的字库合集。
5
6- [参考官方文档](https://github.com/googlefonts/noto-cjk)
7
8## 引入背景简述
9在OpenHarmony系统中,为构建全球化语言字库能力,覆盖全球国家和地区,需引入该三方库来丰富日韩语言。
10
11
12## 目录结构
13
14```
15Sans/       字体文件
16Serif/      字体文件
17README      README说明
18```
19
20## 仓库托管差异说明
21背景:noto-cjk开源软件直接使用git仓存储二进制文件,整仓大小超出Gitee支持范围。
22
23方案:当前通过重构git历史,lfs管理二进制文件的方式来解决问题。
24
25影响:重构后保留Author、Date信息,commit中hash值会改变,lfs管理仓库会小很多。
26
27基线[commit](https://gitee.com/openharmony-sig/third_party_noto-cjk/commit/9e05d2c74e0b61204cf7001ddb40dc318cd0a13d)
28
29社区[Serif2.001](https://github.com/notofonts/noto-cjk/releases/tag/Serif2.001)
30
31## OpenHarmony如何使用noto-cjk
32
33在OpenHarmony中,开发者通过BUILD.gn编译脚本预置字体文件。
34
35### 1. noto-cjk的编译
36
37noto-cjk的编译入口在其根目录下的BUILD.gn中。简单示意如下:
38
39```
40ohos_prebuilt_etc("NotoSansJP-VF") {
41  source = "Sans/Variable/TTF/Subset/NotoSansJP-VF.ttf"
42  module_install_dir = "fonts"
43  subsystem_name = "thirdparty"
44  part_name = "noto-cjk"
45}
46
47group("fonts_notocjk") {
48  deps = [
49    ":NotoSansJP-VF",
50  ]
51}
52```
53
54### 2. 使用noto-cjk
55
56在需要使用noto-cjk的模块构建配置中,增加对应依赖。
57
58## 相关仓
59
60[global_system_resources](https://gitee.com/openharmony/global_system_resources)
61
62[third_party_notofonts](https://gitee.com/openharmony/third_party_notofonts)
63
64## License
65
66- [SIL OPEN FONT LICENSE Version 1.1](LICENSE)
67
68## 参与贡献
69[如何贡献](https://gitee.com/openharmony/docs/blob/HEAD/zh-cn/contribute/参与贡献.md)
70
71[Commit message规范](https://gitee.com/openharmony/device_qemu/wikis/Commit%20message%E8%A7%84%E8%8C%83)
72