Android Question (solved) Font asset not found fonts with B4a 10.7 Error

jose luis gudino

Active Member
Licensed User
Longtime User
hi ,I have this error in version 10.7

B4X:
Caused by: java.lang.RuntimeException: Font asset not found fonts/digit.ttf
    at android.graphics.Typeface.createFromAsset(Typeface.java:979)
    at anywheresoftware.b4a.keywords.constants.TypefaceWrapper.LoadFromAssets(TypefaceWrapper.java:48)
    at com.github.glomadrian.velocimeterlibrary.painter.digital.DigitalImp.initTypeFace(DigitalImp.java:64)
    at com.github.glomadrian.velocimeterlibrary.painter.digital.DigitalImp.<init>(DigitalImp.java:38)
    at com.github.glomadrian.velocimeterlibrary.VelocimeterView.init(VelocimeterView.java:132)
    at com.github.glomadrian.velocimeterlibrary.VelocimeterView.<init>(VelocimeterView.java:78)
 

DonManfred

Expert
Licensed User
Longtime User
Where does this error come from?

The Lib can be moved to Library Archive as i do not have the source anylonger.
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Use this instead...
 
Upvote 0
Top