Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fonts not appliying on "release dexguard" #476

Open
NikhilBhadouria opened this issue Sep 6, 2019 · 0 comments
Open

Fonts not appliying on "release dexguard" #476

NikhilBhadouria opened this issue Sep 6, 2019 · 0 comments

Comments

@NikhilBhadouria
Copy link

I am developing kotlin android app, with dexguard

calligraphy library works fine with dexguard-debug.pro

but i get following error with dexguard-release.pro and the fonts dont apply showing default fonts

: Can't create asset from fonts/Gotham/Gotham-Bold.otf. Make sure you have passed in the correct path and file name.
java.lang.RuntimeException: Font asset not found fonts/Gotham/Gotham-Bold.otf
at android.graphics.Typeface.createFromAsset(Typeface.java:310)
at uk.co.chrisjenx.calligraphy.TypefaceUtils.load(:35)
at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(:114)
at uk.co.chrisjenx.calligraphy.CalligraphyUtils.applyFontToTextView(:143)
at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreatedInternal(:142)
at uk.co.chrisjenx.calligraphy.CalligraphyFactory.onViewCreated(:110)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant