Android Question Set custom font in App

Fusseldieb

Active Member
Licensed User
Hi community,
is there a way to draw a custom font (Maybe .ttf) in a bitmap?
And if yes, how?

I want to make an image from a jpg file and then add custom text above it.

Thanks in advance.
 

DonManfred

Expert
Licensed User
See one of the useful answers from @LucaMs here. (@LucaMs :D)

Edit: Ohh, you want to use it on a bitmap. The sulution is to use in other objects like Button, Label and so on...

The principle should be same (loading a font into a Typeface). But you need to use this typeface then when drawing on a bitmap.

I did not do any draws on bitmaps in b4a before but i´m sure (i hope :D) you will need to use a typeface in the draw-methods
 
Last edited:
Top