You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current resolution path doesn't allow for exceptions. If I define the font in the theme to get it across the app, it's not possible to disable it on lower levels (textAppearance, style, view).
<stylename="MyTextAppearance"parent="TextAppearance.AppCompat">
... other customizations
<itemname="fontPath">fonts/MyFont.ttf</item>
</style>
Which is used in the theme (as shown in #319 (comment)).
but this obviously doesn't work, because CalligraphyFactory is using TextUtils.isEmpty to check and fall back to more and more global values.
Would it be possible to include some magic value like fontPath="android:font-family" to break out of font resolution in onViewCreatedInternal and prevent calling applyFontToTextView?
The text was updated successfully, but these errors were encountered:
The current resolution path doesn't allow for exceptions. If I define the font in the theme to get it across the app, it's not possible to disable it on lower levels (textAppearance, style, view).
Which is used in the theme (as shown in #319 (comment)).
I want to be able to say:
but this obviously doesn't work, because
CalligraphyFactory
is usingTextUtils.isEmpty
to check and fall back to more and more global values.Would it be possible to include some magic value like
fontPath="android:font-family"
to break out of font resolution inonViewCreatedInternal
and prevent callingapplyFontToTextView
?The text was updated successfully, but these errors were encountered: