overlay: Import Linotte font
* From b5502cc6b1
Change-Id: I57e29d75eb3ed27cb649eacffd30566314322b77
Co-authored-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: idoybh <idoybh2@gmail.com>
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
parent
1ef8f4ab49
commit
83e8db8066
Binary file not shown.
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// Copyright 2019, 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.
|
||||
//
|
||||
runtime_resource_overlay {
|
||||
name: "FontLinotteSourceOverlay",
|
||||
sdk_version: "current",
|
||||
product_specific: true,
|
||||
theme: "FontLinotte",
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
<!--
|
||||
/**
|
||||
* Copyright (c) 2019, 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.
|
||||
*/
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="co.aospa.theme.font.linottesource">
|
||||
|
||||
<overlay
|
||||
android:category="android.theme.customization.font"
|
||||
android:priority="600"
|
||||
android:targetPackage="android" />
|
||||
|
||||
<application
|
||||
android:label="@string/font_linotte_source_overlay">
|
||||
<meta-data
|
||||
android:name="android.theme.customization.REQUIRED_SYSTEM_FONTS"
|
||||
android:value="linotte,linotte-semi-bold,linotte-bold" />
|
||||
</application>
|
||||
</manifest>
|
|
@ -0,0 +1,32 @@
|
|||
<!--
|
||||
/**
|
||||
* Copyright (c) 2019, 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">
|
||||
|
||||
<!-- Name of a font family to use for body text. -->
|
||||
<string name="config_bodyFontFamily" translatable="false">linotte</string>
|
||||
|
||||
<!-- Name of a font family to use for medium body text. -->
|
||||
<string name="config_bodyFontFamilyMedium" translatable="false">linotte-semi-bold</string>
|
||||
|
||||
<!-- Name of a font family to use for headlines. If empty, falls back to platform default -->
|
||||
<string name="config_headlineFontFamily" translatable="false">linotte</string>
|
||||
|
||||
<!-- Name of the font family used for system surfaces where the font should use medium weight -->
|
||||
<string name="config_headlineFontFamilyMedium" translatable="false">linotte-bold</string>
|
||||
|
||||
</resources>
|
|
@ -0,0 +1,23 @@
|
|||
<!--
|
||||
/**
|
||||
* Copyright (c) 2019, 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">
|
||||
|
||||
<!-- Headline / Body font Aclonica overlay -->
|
||||
<string name="font_linotte_source_overlay" translatable="false">Linotte</string>
|
||||
|
||||
</resources>
|
|
@ -25,6 +25,7 @@ PRODUCT_PACKAGES += \
|
|||
FontGoogleSansOverlay \
|
||||
FontHarmonySansOverlay \
|
||||
FontInterOverlay \
|
||||
FontLinotteSourceOverlay \
|
||||
FontManropeOverlay \
|
||||
FontOnePlusOverlay \
|
||||
FontOppoSansOverlay \
|
||||
|
|
|
@ -414,4 +414,10 @@
|
|||
</family>
|
||||
<alias name="opposans-medium" to="opposans" weight="500" />
|
||||
|
||||
<family customizationType="new-named-family" name="linotte">
|
||||
<font weight="300" style="normal">Linotte.ttf</font>
|
||||
</family>
|
||||
<alias name="linotte-semi-bold" to="linotte" weight="600" />
|
||||
<alias name="linotte-bold" to="linotte" weight="700" />
|
||||
|
||||
</fonts-modification>
|
||||
|
|
Loading…
Reference in New Issue