question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default font style not applied on older platforms <4.0.4

See original GitHub issue

I 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:open
  • Created 7 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
drindtcommented, Apr 19, 2016

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.

0reactions
drindtcommented, Apr 25, 2016

Yes, thank you for caring!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found