font
This commit is contained in:
@ -1,7 +0,0 @@
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "FontWkmonoOverlay",
|
||||
theme: "FontWkmono",
|
||||
sdk_version: "current",
|
||||
product_specific: true,
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
<!--
|
||||
Copyright (c) 2020, The LineageOS Project
|
||||
|
||||
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.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.overlay.font.wkmono">
|
||||
|
||||
<application
|
||||
android:hasCode="false"
|
||||
android:label="@string/font_wkmono_overlay">
|
||||
<meta-data
|
||||
android:name="android.theme.customization.REQUIRED_SYSTEM_FONTS"
|
||||
android:value="wkmono" />
|
||||
</application>
|
||||
|
||||
<overlay
|
||||
android:category="android.theme.customization.font"
|
||||
android:priority="1"
|
||||
android:targetPackage="android" />
|
||||
</manifest>
|
@ -1,32 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2020, The LineageOS Project
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="config_bodyFontFamily" translatable="false">wkmono</string>
|
||||
<string name="config_bodyFontFamilyMedium" translatable="false">wkmono-medium</string>
|
||||
<string name="config_bodyFontFamilyBold" translatable="false">wkmono-bold</string>
|
||||
|
||||
<string name="config_headlineFontFamily" translatable="false">wkmono</string>
|
||||
<string name="config_headlineFontFamilyMedium" translatable="false">wkmono-medium</string>
|
||||
<string name="config_headlineFontFamilyBold" translatable="false">wkmono-bold</string>
|
||||
|
||||
<string name="config_labelFontFamily" translatable="false">wkmono</string>
|
||||
<string name="config_labelFontFamilyMedium" translatable="false">wkmono-medium</string>
|
||||
<string name="config_labelFontFamilyBold" translatable="false">wkmono-bold</string>
|
||||
</resources>
|
||||
|
@ -1,20 +0,0 @@
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2020, The Android Open Source Project
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="font_wkmono_overlay" translatable="false">Wkmono</string>
|
||||
</resources>
|
@ -13,18 +13,4 @@
|
||||
<alias name="wenkai-medium" to="wenkai" weight="500" />
|
||||
<alias name="wenkai-bold" to="wenkai" weight="700" />
|
||||
<alias name="wenkai-black" to="wenkai" weight="900" />
|
||||
|
||||
<family customizationType="new-named-family" name="wkmono">
|
||||
<font weight="100" style="normal">LXGWWenKaiMono-Light.ttf</font>
|
||||
<font weight="300" style="normal">LXGWWenKaiMono-Light.ttf</font>
|
||||
<font weight="400" style="normal">LXGWWenKaiMono-Light.ttf</font>
|
||||
<font weight="500" style="normal">LXGWWenKaiMono-Regular.ttf</font>
|
||||
<font weight="700" style="normal">LXGWWenKaiMono-Medium.ttf</font>
|
||||
<font weight="900" style="normal">LXGWWenKaiMono-Medium.ttf</font>
|
||||
</family>
|
||||
<alias name="wkmono-thin" to="wkmono" weight="100" />
|
||||
<alias name="wkmono-light" to="wkmono" weight="300" />
|
||||
<alias name="wkmono-medium" to="wkmono" weight="500" />
|
||||
<alias name="wkmono-bold" to="wkmono" weight="700" />
|
||||
<alias name="wkmono-black" to="wkmono" weight="900" />
|
||||
</fonts-modification>
|
||||
|
Reference in New Issue
Block a user