mirror of
https://github.com/openharmony/resources.git
synced 2026-07-01 05:35:43 -04:00
update OpenHarmony 2.0 Canary
This commit is contained in:
@@ -0,0 +1,354 @@
|
||||
# Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
import("//build/ohos.gni")
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Black") {
|
||||
source = "fonts/HarmonyOS_Sans_Black.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Black_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Black_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Bold") {
|
||||
source = "fonts/HarmonyOS_Sans_Bold.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Bold_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Bold_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Black") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Black.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Black_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Black_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Bold") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Bold.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Bold_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Bold_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Light") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Light.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Light_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Light_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Medium") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Medium.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Medium_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Medium_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Regular") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Regular.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Regular_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Regular_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Thin") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Thin.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Condensed_Thin_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Condensed_Thin_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Light") {
|
||||
source = "fonts/HarmonyOS_Sans_Light.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Light_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Light_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Medium") {
|
||||
source = "fonts/HarmonyOS_Sans_Medium.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Medium_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Medium_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Black") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Black.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Black") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Black.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Bold") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Bold.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Bold") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Bold.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Light") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Light.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Light") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Light.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Medium") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Medium.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Medium") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Medium.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Regular") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Regular.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Regular") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Regular.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_UI_Thin") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_UI_Thin.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Naskh_Arabic_Thin") {
|
||||
source = "fonts/HarmonyOS_Sans_Naskh_Arabic_Thin.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Regular") {
|
||||
source = "fonts/HarmonyOS_Sans_Regular.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Regular_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Regular_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Black") {
|
||||
source = "fonts/HarmonyOS_Sans_SC_Black.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Bold") {
|
||||
source = "fonts/HarmonyOS_Sans_SC_Bold.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Light") {
|
||||
source = "fonts/HarmonyOS_Sans_SC_Light.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Medium") {
|
||||
source = "fonts/HarmonyOS_Sans_SC_Medium.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Regular") {
|
||||
source = "fonts/HarmonyOS_Sans_SC_Regular.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_SC_Thin") {
|
||||
source = "fonts/HarmonyOS_Sans_SC_Thin.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Black") {
|
||||
source = "fonts/HarmonyOS_Sans_TC_Black.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Bold") {
|
||||
source = "fonts/HarmonyOS_Sans_TC_Bold.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Light") {
|
||||
source = "fonts/HarmonyOS_Sans_TC_Light.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Medium") {
|
||||
source = "fonts/HarmonyOS_Sans_TC_Medium.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Regular") {
|
||||
source = "fonts/HarmonyOS_Sans_TC_Regular.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_TC_Thin") {
|
||||
source = "fonts/HarmonyOS_Sans_TC_Thin.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Thin") {
|
||||
source = "fonts/HarmonyOS_Sans_Thin.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
ohos_prebuilt_etc("HarmonyOS_Sans_Thin_Italic") {
|
||||
source = "fonts/HarmonyOS_Sans_Thin_Italic.ttf"
|
||||
module_install_dir = "fonts"
|
||||
part_name = "ace_engine_standard"
|
||||
}
|
||||
|
||||
group("ohos_fonts") {
|
||||
deps = [
|
||||
":HarmonyOS_Sans_Black",
|
||||
":HarmonyOS_Sans_Black_Italic",
|
||||
":HarmonyOS_Sans_Bold",
|
||||
":HarmonyOS_Sans_Bold_Italic",
|
||||
":HarmonyOS_Sans_Condensed_Black",
|
||||
":HarmonyOS_Sans_Condensed_Black_Italic",
|
||||
":HarmonyOS_Sans_Condensed_Bold",
|
||||
":HarmonyOS_Sans_Condensed_Bold_Italic",
|
||||
":HarmonyOS_Sans_Condensed_Light",
|
||||
":HarmonyOS_Sans_Condensed_Light_Italic",
|
||||
":HarmonyOS_Sans_Condensed_Medium",
|
||||
":HarmonyOS_Sans_Condensed_Medium_Italic",
|
||||
":HarmonyOS_Sans_Condensed_Regular",
|
||||
":HarmonyOS_Sans_Condensed_Regular_Italic",
|
||||
":HarmonyOS_Sans_Condensed_Thin",
|
||||
":HarmonyOS_Sans_Condensed_Thin_Italic",
|
||||
":HarmonyOS_Sans_Light",
|
||||
":HarmonyOS_Sans_Light_Italic",
|
||||
":HarmonyOS_Sans_Medium",
|
||||
":HarmonyOS_Sans_Medium_Italic",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_Black",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_Bold",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_Light",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_Medium",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_Regular",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_Thin",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_UI_Black",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_UI_Bold",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_UI_Light",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_UI_Medium",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_UI_Regular",
|
||||
":HarmonyOS_Sans_Naskh_Arabic_UI_Thin",
|
||||
":HarmonyOS_Sans_Regular",
|
||||
":HarmonyOS_Sans_Regular_Italic",
|
||||
":HarmonyOS_Sans_SC_Black",
|
||||
":HarmonyOS_Sans_SC_Bold",
|
||||
":HarmonyOS_Sans_SC_Light",
|
||||
":HarmonyOS_Sans_SC_Medium",
|
||||
":HarmonyOS_Sans_SC_Regular",
|
||||
":HarmonyOS_Sans_SC_Thin",
|
||||
":HarmonyOS_Sans_TC_Black",
|
||||
":HarmonyOS_Sans_TC_Bold",
|
||||
":HarmonyOS_Sans_TC_Light",
|
||||
":HarmonyOS_Sans_TC_Medium",
|
||||
":HarmonyOS_Sans_TC_Regular",
|
||||
":HarmonyOS_Sans_TC_Thin",
|
||||
":HarmonyOS_Sans_Thin",
|
||||
":HarmonyOS_Sans_Thin_Italic",
|
||||
]
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
License Notice
|
||||
Copyright 2021 Huawei Device Co., Ltd.
|
||||
HarmonyOS Sans Fonts Software is licensed under HarmonyOS Sans Fonts License Agreement.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
HarmonyOS Sans Fonts License Agreement
|
||||
|
||||
THIS HARMONYOS SANS FONTS LICENSE AGREEMENT ("AGREEMENT") IS A LEGAL AGREEMENT BETWEEN YOU (EITHER A SINGLE INDIVIDUAL, OR SINGLE LEGAL ENTITY) AND HUAWEI DEVICE CO., LTD.( "LICENSOR")FOR THE USE OF THE HARMONYOS SANS FONTS ACCOMPANYING THIS AGREEMENT.BY DOWNLOADING,COPYING OR OTHERWISE USING HARMONYOS SANS FONTS YOU INDICATE THAT YOU AGREE TO BE BOUND BY ALL OF THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, YOU MAY NOT DOWNLOAD, COPY OR OTHERWISE USE THE HARMONYOS SANS FONTS, AND YOU SHALL PROMPTLY DESTROY AND DELETE ALL THE HARMONYOS SANS FONTS.
|
||||
|
||||
1.Definition
|
||||
"HarmonyOS Sans Fonts" shall mean the collection of fonts software components provided by Licensor under this Agreement and clearly marked as "HarmonyOS¬ Sans".
|
||||
|
||||
"YOU" shall mean an individual or legal entity exercising permissions granted by this Agreement.
|
||||
|
||||
2.GRANT OF LICENSE
|
||||
|
||||
Subject to the terms and conditions of this Agreement, Licensor hereby grant YOU a non-transferable, non-exclusive, royalty-free, revocable, worldwide copyright license to use,copy, merge, embed, bundle, redistribute and/or sell unmodified copies of HarmonyOS Sans Fonts with any software except for fonts software,subject to the following conditions:
|
||||
1)YOU shall make a prominent notice in the software to state that HarmonyOS Sans Fonts are used.
|
||||
2)YOU may not make any modifications to HarmonyOS Sans Fonts or any of their individual components.
|
||||
3)Neither HarmonyOS Sans Fonts nor any of their individual components may be redistributed or sold in a stand-alone base. This limitation does not apply to any work created by using HarmonyOS Sans Fonts. You can freely distribute or sell your work, such as materials, logos, application software etc. created by using HarmonyOS Sans Fonts.
|
||||
4)YOU shall retain the copyright notice and this Agreement in any copies of HarmonyOS Sans Fonts.
|
||||
|
||||
3.Termination
|
||||
This Agreement will be automatically terminated if YOU breach any of this Agreement.
|
||||
|
||||
4.NO WARRANTY
|
||||
YOU AGREE THAT THE HARMONYOS SANS FONTS ARE PROVIDED BY LICENSOR ON AN "AS IS" BASIS. LICENSOR MAKES NO WARRANTY, EXPRESSED OR IMPLIED OR STATUTORY, WITH RESPECT TO ANY OF THE HARMONYOS SANS FONTS, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.
|
||||
|
||||
5.NO LIABILITY
|
||||
|
||||
IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY DIRECT OR INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE OF OR INABILITY TO USE HARMONYOS SANS FONTS, WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHER LEGAL THEORY, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
YOU EXPRESSLY ASSUME ALL LIABILITIES AND RISKS FOR USE OF HARMONYOS SANS FONTS. SHOULD THE HARMONYOS SANS FONTS PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
This is the configuration file template for OpenHarmony OSS Audit Tool, please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.
|
||||
All configurations in this file will be merged to OAT-Default.xml, if you have any questions or concerns, please create issue in OpenHarmony/tools_oat and @jalenchen or chenyaxun.
|
||||
|
||||
licensefile:
|
||||
1.If the project don't have "LICENSE" in root dir, please define all the license files in this project in , OAT will check license files according to this rule.
|
||||
|
||||
policylist:
|
||||
1. policy: If the OAT-Default.xml policies do not meet your requirements, please add policies here.
|
||||
2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
|
||||
<policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
|
||||
3. policyitem type:
|
||||
"compatibility" is used to check license compatibility in the specified path;
|
||||
"license" is used to check source license header in the specified path;
|
||||
"copyright" is used to check source copyright header in the specified path;
|
||||
"import" is used to check source dependency in the specified path, such as import ... ,include ...
|
||||
"filetype" is used to check file type in the specified path, supported file types: archive, binary
|
||||
"filename" is used to check whether the specified file exists in the specified path(projectroot means the root dir of the project), supported file names: LICENSE, README, README.OpenSource
|
||||
4. policyitem name: This field is used for define the license, copyright, "*" means match all, the "!" prefix means could not match this value. For example, "!GPL" means can not use GPL license.
|
||||
5. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem.
|
||||
6. policyitem rule and group: These two fields are used together to merge policy results. "may" policyitems in the same group means any one in this group passed, the result will be passed.
|
||||
7. policyitem filefilter: Used to bind filefilter which define filter rules.
|
||||
7. policyitem desc: Used to describe the reason of this policy item, committers will check this while merging the code.
|
||||
8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path.
|
||||
|
||||
Note:If the text contains special characters, please escape them according to the following rules:
|
||||
" == >
|
||||
& == >
|
||||
' == >
|
||||
< == >
|
||||
> == >
|
||||
-->
|
||||
|
||||
<configuration>
|
||||
<oatconfig>
|
||||
<licensefile></licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="">
|
||||
<policyitem type="license" name="HarmonyOS Sans Fonts License Agreement" path=".*" desc="Font license "/>
|
||||
</policy>
|
||||
</policylist>
|
||||
|
||||
<licensematcherlist>
|
||||
<licensematcher name="HarmonyOS Sans Fonts License Agreement" desc="">
|
||||
<licensetext name="
|
||||
HarmonyOS Sans Fonts License Agreement
|
||||
THIS HARMONYOS SANS FONTS LICENSE AGREEMENT (>AGREEMENT>) IS A LEGAL AGREEMENT BETWEEN YOU (EITHER
|
||||
A SINGLE INDIVIDUAL, OR SINGLE LEGAL ENTITY) AND HUAWEI DEVICE CO., LTD. (> LICENSOR>) FOR THE USE OF
|
||||
THE HARMONYOS SANS FONTS ACCOMPANYING THIS AGREEMENT. BY DOWNLOADING, COPYING OR OTHERWISE USING HARMONYOS
|
||||
SANS FONTS YOU INDICATE THAT YOU AGREE TO BE BOUND BY ALL OF THE TERMS OF THIS AGREEMENT. IF YOU DO NOT
|
||||
AGREE TO THE TERMS OF THIS AGREEMENT, YOU MAY NOT DOWNLOAD, COPY OR OTHERWISE USE THE HARMONYOS SANS FONTS,
|
||||
AND YOU SHALL PROMPTLY DESTROY AND DELETE ALL THE HARMONYOS SANS FONTS.
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
</licensematcherlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
||||
@@ -1,36 +0,0 @@
|
||||
# resources
|
||||
|
||||
#### Description
|
||||
Providing system resources such as strings and images | 字符串、图片等系统资源
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
@@ -1,37 +1,35 @@
|
||||
# resources
|
||||
|
||||
#### 介绍
|
||||
Providing system resources such as strings and images | 字符串、图片等系统资源
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
||||
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
# Resources<a name="EN-US_TOPIC_0000001115955960"></a>
|
||||
|
||||
- [Introduction](#section11660541593)
|
||||
- [System Fonts](#section84541659154715)
|
||||
|
||||
- [Directory Structure](#section161941989596)
|
||||
- [Repositories Involved](#section1371113476307)
|
||||
|
||||
## Introduction<a name="section11660541593"></a>
|
||||
|
||||
The resources module defines global resources at the system level.
|
||||
|
||||
### System Fonts<a name="section84541659154715"></a>
|
||||
|
||||
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.
|
||||
|
||||
## Directory Structure<a name="section161941989596"></a>
|
||||
|
||||
```
|
||||
/utils/resources
|
||||
├── fonts # System fonts
|
||||
```
|
||||
|
||||
## Repositories Involved<a name="section1371113476307"></a>
|
||||
|
||||
Globalization subsystem
|
||||
|
||||
**resources**
|
||||
|
||||
|
||||
Executable
+35
@@ -0,0 +1,35 @@
|
||||
# 系统资源组件<a name="ZH-CN_TOPIC_0000001115955960"></a>
|
||||
|
||||
- [简介](#section11660541593)
|
||||
- [系统字体](#section84541659154715)
|
||||
|
||||
- [目录](#section161941989596)
|
||||
- [相关仓](#section1371113476307)
|
||||
|
||||
## 简介<a name="section11660541593"></a>
|
||||
|
||||
系统资源组件定义了系统层级的全局资源,已支持的资源如下:
|
||||
|
||||
### 系统字体<a name="section84541659154715"></a>
|
||||
|
||||
默认提供一套字体:HarmonyOS Sans。
|
||||
|
||||
HarmonyOS Sans是华为终端有限公司为全场景体验设计开发的可变字体家族,支持免费商用,具体请查阅许可协议。
|
||||
|
||||
HarmonyOS Sans目前开放6个字重,Thin、Light、Regular、Medium、Bold、Black,开发者可以根据信息层级选择合适的字体粗细效果。
|
||||
|
||||
目前,HarmonyOS Sans支持中文、拉丁文、西里尔文、希腊文、阿拉伯语系下的105种语言,后续还将支持更多的语言。
|
||||
|
||||
## 目录<a name="section161941989596"></a>
|
||||
|
||||
```
|
||||
/utils/resources
|
||||
├── fonts # 系统字体目录
|
||||
```
|
||||
|
||||
## 相关仓<a name="section1371113476307"></a>
|
||||
|
||||
全球化子系统
|
||||
|
||||
**resources**
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user