• Home
Name
Date
Size
#Lines
LOC

..--

fonts/12-May-2024-

.gitattributesD12-May-2024631 1615

BUILD.gnD12-May-202410.6 KiB354305

LICENSE.txtD12-May-20243.3 KiB3522

OAT.xmlD12-May-20245 KiB7729

README.mdD12-May-20241.3 KiB3620

README_zh.mdD12-May-20241.1 KiB3620

bundle.jsonD12-May-20241.2 KiB5454

README.md

1# Resources<a name="EN-US_TOPIC_0000001115955960"></a>
2
3-   [Introduction](#section11660541593)
4    -   [System Fonts](#section84541659154715)
5
6-   [Directory Structure](#section161941989596)
7-   [Repositories Involved](#section1371113476307)
8
9## Introduction<a name="section11660541593"></a>
10
11The resources module defines global resources at the system level.
12
13### System Fonts<a name="section84541659154715"></a>
14
15By default, the resources module provides only one font family, namely, HarmonyOS Sans.
16
17HarmonyOS Sans is a family of variable fonts developed by Huawei for all-scenario experience. It is available for commercial use for free. For details, see the license agreement.
18
19The font family currently provides six font weights: Thin, Light, Regular, Medium, Bold and Black. You can select a proper font weight based on the information hierarchy.
20
21It supports a total of 105 languages from the Chinese, Latin, Cyril, Greek, and Arabic language systems at present. More languages will be supported in the future.
22
23## Directory Structure<a name="section161941989596"></a>
24
25```
26/utils/resources
27├── fonts                   # System fonts
28```
29
30## Repositories Involved<a name="section1371113476307"></a>
31
32Globalization subsystem
33
34**resources**
35
36

README_zh.md

1# 系统资源组件<a name="ZH-CN_TOPIC_0000001115955960"></a>
2
3-   [简介](#section11660541593)
4    -   [系统字体](#section84541659154715)
5
6-   [目录](#section161941989596)
7-   [相关仓](#section1371113476307)
8
9## 简介<a name="section11660541593"></a>
10
11系统资源组件定义了系统层级的全局资源,已支持的资源如下:
12
13### 系统字体<a name="section84541659154715"></a>
14
15默认提供一套字体:HarmonyOS Sans。
16
17HarmonyOS Sans是华为终端有限公司为全场景体验设计开发的可变字体家族,支持免费商用,具体请查阅许可协议。
18
19HarmonyOS Sans目前开放6个字重,Thin、Light、Regular、Medium、Bold、Black,开发者可以根据信息层级选择合适的字体粗细效果。
20
21目前,HarmonyOS Sans支持中文、拉丁文、西里尔文、希腊文、阿拉伯语系下的105种语言,后续还将支持更多的语言。
22
23## 目录<a name="section161941989596"></a>
24
25```
26/utils/resources
27├── fonts                   # 系统字体目录
28```
29
30## 相关仓<a name="section1371113476307"></a>
31
32全球化子系统
33
34**resources**
35
36