Default font style not applied on older platforms <4.0.4
See original GitHub issueI test the calligraphy styled application on a older android 4.0.4 (GT-P7100) with the result that the font is not applied. It seems that the default definition isn’t applied which i have declared in this way:
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:textAppearance">@style/LightTextAppearance</item>
</style>
<style name="LightTextAppearance" parent="android:TextAppearance">
<item name="fontPath">fonts/LightWeb.ttf</item>
</style>
This worked fine so far on other devices and api level. What can i do further solving this issue?
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Change the default font in Word - Microsoft Support
To use your favorite font in Word all the time, set it as the default. Go to Home, and then select the Font...
Read more >Default font set on Android - Stack Overflow
I'm making web pages and want to set up my CSS to degrade gracefully from using newer fonts to just plain ol' "sans-serif"...
Read more >Best practices for fonts - web.dev
A system font is the default font used by the user interface of a user's device. System fonts typically vary by operating system...
Read more >How To Load and Use Custom Fonts with CSS | DigitalOcean
Save your changes to styles.css and open index.html in a web browser. Notice that the bold and italics versions of the font do...
Read more >CSS API update - Fonts - Google Developers
Individual styles, such as weight; Non-standard weights ... Google Fonts now fully supports variable fonts in the v2 API update. We'll explain how...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had exactly this set, but without effect. I changed the font right now, and now it works as expected. Seems the font is the problem. The font can just set in the styles to work.
Yes, thank you for caring!