Android Question problem with some font

GilbertCBAF

New Member
Licensed User
Longtime User
Hello to all.
I'm new to the forum.
I work with excellent B4A program.
I have a problem with the font.
I use the function:
TimeFont Typeface.LoadFromAssets = (" comic.ttf ")" or "Aria.ttf"
This works very well.

But I have specific fonts ".otf" or "ttf" that do not work.
All these fonts are in the same folder as "Comic" and "Arial"
exemple: "FedraSansCondStd-Medium.ttf" but I get an error
with Android TVBOX "native typeface cannot be made"

Can anyone help me

Gilbert
 

Mark Thorndyke

Member
Licensed User
Longtime User
A quick heads up. Some TTL fonts will not work in Android apps. These will those which are listed as "Restricted license". You'd need to speak to the vendor about an unrestricted version but some get fussy wanting to know how many devices they have been deployed to. The one I like is Grated Cheese but falls foul of this condition. I just opt for something free which is similar in such scenarios.
 
Upvote 0

Mitchboo

Member
Licensed User
Longtime User
Hello to all.
I'm new to the forum.
I work with excellent B4A program.
I have a problem with the font.
I use the function:
TimeFont Typeface.LoadFromAssets = (" comic.ttf ")" or "Aria.ttf"
This works very well.

But I have specific fonts ".otf" or "ttf" that do not work.
All these fonts are in the same folder as "Comic" and "Arial"
exemple: "FedraSansCondStd-Medium.ttf" but I get an error
with Android TVBOX "native typeface cannot be made"

Looking at the typeface at its publisher's site https://www.typotheque.com/fonts/fedra_sans_condensed it is not a free font, so unless you purchased specifically for that, it probably won't allow using it into an app.

You may want to have a look at Google fonts at https://www.google.com/fonts

Use the Width slider to see all condensed fonts. The number is impressive. Add the font to your collection and download.
 
Upvote 0
Top