• Home
Name Date Size #Lines LOC

..--

fonts/12-May-2024-

systemres/12-May-2024-18,03918,010

.gitattributesD12-May-2024631 1615

BUILD.gnD12-May-202413.1 KiB467409

LICENSED12-May-202410.1 KiB179152

LICENSE_FontsD12-May-20243.3 KiB3522

OAT.xmlD12-May-20245 KiB7829

README.mdD12-May-20241.4 KiB3720

README_zh.mdD12-May-20241.2 KiB3720

bundle.jsonD12-May-20241.3 KiB5959

systemres.gniD12-May-2024696 1614

README.md

1# Resources
2
3## Introduction
4
5The Resources module defines global resources at the system level.
6
7### System Fonts
8
9By default, the Resources module provides only one font family, namely, HarmonyOS Sans.
10
11HarmonyOS 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.
12
13The 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.
14
15It 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.
16
17### System Resource Package
18
19The system resource package accommodates resources that are widely used by applications, such as the layered parameters, permission names and descriptions, etc. In addition, permission definitions are provided in the **config.json** file.
20
21## Directory Structure
22
23```
24/base/global/system_resources
25├── fonts                   # System fonts
26├── systemres               # System resource package
27```
28
29## Repositories Involved
30
31[Globalization subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/globalization.md)
32
33[global\_resmgr\_standard](https://gitee.com/openharmony/global_resmgr_standard/blob/master/README.md)
34
35**resources**
36
37

README_zh.md

1# 系统资源组件
2
3## 简介
4
5系统资源组件定义了系统层级的全局资源。
6
7### 系统字体
8
9默认提供一套字体:HarmonyOS Sans。
10
11HarmonyOS Sans是华为终端有限公司为全场景体验设计开发的可变字体家族,支持免费商用,具体请查阅许可协议。
12
13HarmonyOS Sans目前开放6个字重,Thin、Light、Regular、Medium、Bold、Black,开发者可以根据信息层级选择合适的字体粗细效果。
14
15目前,HarmonyOS Sans支持中文、拉丁文、西里尔文、希腊文、阿拉伯语系下的105种语言,后续还将支持更多的语言。
16
17### 系统资源包
18
19提供了各应用广泛使用的资源(如:分层参数、权限名称和描述等),同时,config.json中提供了权限的定义。
20
21## 目录
22
23```
24/base/global/system_resources
25├── fonts                   # 系统字体目录
26├── systemres               # 系统资源包目录
27```
28
29## 相关仓
30
31[全球化子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%85%A8%E7%90%83%E5%8C%96%E5%AD%90%E7%B3%BB%E7%BB%9F.md)
32
33[global\_resmgr\_standard](https://gitee.com/openharmony/global_resmgr_standard/blob/master/README_zh.md)
34
35**resources**
36
37