fonts: Update Google Sans

Change-Id: Ic84176f2df5a707cbc5b2dce51e2d5fd8db9e471
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Richard Raya 2024-05-02 23:14:22 -03:00 committed by Jyotiraditya Panda
parent 25bb285135
commit bb806a7573
No known key found for this signature in database
GPG Key ID: 36E27CDF9C315814
3 changed files with 64 additions and 30 deletions

View File

@ -26,6 +26,6 @@
android:label="@string/font_google_sans_overlay">
<meta-data
android:name="android.theme.customization.REQUIRED_SYSTEM_FONTS"
android:value="google-sans,google-sans-medium" />
android:value="google-sans-text,google-sans-text-medium,google-sans,google-sans-medium" />
</application>
</manifest>

View File

@ -28,4 +28,7 @@
<!-- Name of the font family used for system surfaces where the font should use medium weight -->
<string name="config_headlineFontFamilyMedium" translatable="false">google-sans-medium</string>
<!-- Allows setting custom fontFeatureSettings on specific text. -->
<string name="config_headlineFontFeatureSettings">ss03</string>
</resources>

View File

@ -42,35 +42,66 @@
</font>
</family>
<family customizationType="new-named-family" name="google-sans-flex">
<font weight="100" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="100"/>
<family-list customizationType="new-named-family" name="google-sans-flex">
<family>
<font style="normal" weight="100">GoogleSansFlex-Regular.ttf
<axis stylevalue="100" tag="wght" />
</font>
<font weight="200" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="200"/>
<font style="normal" weight="200">GoogleSansFlex-Regular.ttf
<axis stylevalue="200" tag="wght" />
</font>
<font weight="300" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="300"/>
<font style="normal" weight="300">GoogleSansFlex-Regular.ttf
<axis stylevalue="300" tag="wght" />
</font>
<font weight="400" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="400"/>
<font style="normal" weight="400">GoogleSansFlex-Regular.ttf
<axis stylevalue="400" tag="wght" />
</font>
<font weight="500" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="500"/>
<font style="normal" weight="500">GoogleSansFlex-Regular.ttf
<axis stylevalue="500" tag="wght" />
</font>
<font weight="600" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="600"/>
<font style="normal" weight="600">GoogleSansFlex-Regular.ttf
<axis stylevalue="600" tag="wght" />
</font>
<font weight="700" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="700"/>
<font style="normal" weight="700">GoogleSansFlex-Regular.ttf
<axis stylevalue="700" tag="wght" />
</font>
<font weight="800" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="800"/>
<font style="normal" weight="800">GoogleSansFlex-Regular.ttf
<axis stylevalue="800" tag="wght" />
</font>
<font weight="900" style="normal">GoogleSansFlex-Regular.ttf
<axis tag="wght" stylevalue="900"/>
<font style="normal" weight="900">GoogleSansFlex-Regular.ttf
<axis stylevalue="900" tag="wght" />
</font>
</family>
<family>
<font style="normal" weight="100">GoogleSans-Regular.ttf
<axis stylevalue="100" tag="wght" />
</font>
<font style="normal" weight="200">GoogleSans-Regular.ttf
<axis stylevalue="200" tag="wght" />
</font>
<font style="normal" weight="300">GoogleSans-Regular.ttf
<axis stylevalue="300" tag="wght" />
</font>
<font style="normal" weight="400">GoogleSans-Regular.ttf
<axis stylevalue="400" tag="wght" />
</font>
<font style="normal" weight="500">GoogleSans-Regular.ttf
<axis stylevalue="500" tag="wght" />
</font>
<font style="normal" weight="600">GoogleSans-Regular.ttf
<axis stylevalue="600" tag="wght" />
</font>
<font style="normal" weight="700">GoogleSans-Regular.ttf
<axis stylevalue="700" tag="wght" />
</font>
<font style="normal" weight="800">GoogleSans-Regular.ttf
<axis stylevalue="800" tag="wght" />
</font>
<font style="normal" weight="900">GoogleSans-Regular.ttf
<axis stylevalue="900" tag="wght" />
</font>
</family>
</family-list>
<family customizationType="new-named-family" name="google-sans-medium">
<font weight="500" style="normal">GoogleSans-Regular.ttf