Go to file
openharmony_ci 0d79cad76b
!75 修改系统资源目录
Merge pull request !75 from jacklee0906/master
2022-05-28 09:41:43 +00:00
fonts update OpenHarmony 2.0 Canary 2021-06-02 02:34:06 +08:00
systemres IssueNo: #I59JKK: add permission define, about default application. 2022-05-27 16:23:21 +08:00
.gitattributes update OpenHarmony 2.0 Canary 2021-06-02 02:34:06 +08:00
BUILD.gn update OpenHarmony 2.0 Canary 2021-06-02 02:34:06 +08:00
bundle.json modify resouces directory 2022-05-28 15:05:31 +08:00
LICENSE wangsen69@huawei.com 2022-03-25 13:38:19 +08:00
LICENSE_Fonts wangsen69@huawei.com 2022-03-25 13:38:19 +08:00
OAT.xml wangsen69@huawei.com 2022-03-25 13:38:19 +08:00
README_zh.md modify resouces directory 2022-05-28 15:05:31 +08:00
README.md modify resouces directory 2022-05-28 15:05:31 +08:00

Resources

Introduction

The Resources module defines global resources at the system level.

System Fonts

By default, the Resources module provides only one font family, namely, HarmonyOS Sans.

HarmonyOS 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.

The 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.

It 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.

System Resource Package

The 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.

Directory Structure

/utils/system_resources
├── fonts                   # System fonts
├── systemres               # System resource package

Repositories Involved

Globalization subsystem

global_resmgr_standard

resources