Android Question problem with some font

Discussion in 'Android Questions' started by GilbertCBAF, Jan 20, 2015.

  1. GilbertCBAF

    GilbertCBAF New Member Licensed 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
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Can you upload one of this font files?
     
  3. Mark Thorndyke

    Mark Thorndyke Member Licensed 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.
     
  4. Mitchboo

    Mitchboo Member Licensed User

    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.
     
    DonManfred and Erel like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice