Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Fonts not appliying on "release dexguard" #476

@NikhilBhadouria

Description

@NikhilBhadouria

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions