This commit is contained in:
shuixx 2025-02-02 13:01:36 +08:00
parent 1a1afaf252
commit 2ef042b53b
10 changed files with 18 additions and 37 deletions

View File

@ -1,14 +0,0 @@
prebuilt_etc {
name: "my_fonts",
srcs: [
"fonts/LXGWWenKai-Light.ttf",
"fonts/LXGWWenKai-Medium.ttf",
"fonts/LXGWWenKai-Regular.ttf",
"fonts/LXGWWenKaiMono-Light.ttf",
"fonts/LXGWWenKaiMono-Medium.ttf",
"fonts/LXGWWenKaiMono-Regular.ttf",
],
dst: "fonts/",
installable: true,
permissions: "0644",
}

View File

@ -1,23 +0,0 @@
<family>
<nameset>
<name>LXGWWenKai</name>
</nameset>
<fileset>
<file>LXGWWenKai-Light.ttf</file>
<file weight="300">LXGWWenKai-Light.ttf</file>
<file weight="400">LXGWWenKai-Regular.ttf</file>
<file weight="700">LXGWWenKai-Medium.ttf</file>
</fileset>
</family>
<family>
<nameset>
<name>LXGWWenKaiMono</name>
</nameset>
<fileset>
<file>LXGWWenKaiMono-Light.ttf</file>
<file weight="300">LXGWWenKaiMono-Light.ttf</file>
<file weight="400">LXGWWenKaiMono-Regular.ttf</file>
<file weight="700">LXGWWenKaiMono-Medium.ttf</file>
</fileset>
</family>

View File

@ -0,0 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.custom.fonts">
<application android:hasCode="false">
<overlay android:targetPackage="android"
android:priority="1"
android:isStatic="true" />
</application>
</manifest>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family>
<font android:fontFamily="@font/>LXGWWenKai-Light.ttf" android:weight="300" android:style="normal" />
<font android:fontFamily="@font/>LXGWWenKai-Regular.ttf" android:weight="400" android:style="normal" />
<font android:fontFamily="@font/LXGWWenKai-Medium.ttf" android:weight="700" android:style="normal" />
<font android:fontFamily="@font/LXGWWenKaiMono-Light.ttf" android:weight="300" android:style="normal" />
<font android:fontFamily="@font/LXGWWenKaiMono-Regular.ttf" android:weight="400" android:style="normal" />
<font android:fontFamily="@font/LXGWWenKaiMono-Medium.ttf" android:weight="700" android:style="normal" />
</font-family>