Announcement

Collapse
No announcement yet.

How to use own font in project?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to use own font in project?

    Hi, everybody!

    I used some fonts in my project. All are copied and located in Fonts folder in the project. When I run the projects on different PCs they do not use fonts from the Font folder. I must install them in system. It's not possible in a lot of cases. What can I do to fix it?

    Thanks.

  • #2
    Normally you do not need to copy the fonts. Fonts used in your project on Labels, Paragraphs, etc. are automatically collected during build and registered temporarily on the target system.

    If you are setting the font manually via scripting, then yes, you would need to ship the font(s) as part of your project, and would also need to call System.RegisterFont() to make the font available before attempting to display it on the screen in any objects.

    Ulrich

    Comment


    • #3
      So, I created a countdown timer and used font a_LCDNova.ttf (http://freefonts.org.ua/font/ttf-shryft-a_lcdnova/). When I'm previewing the project it is OK. When I run the project on different PCs I see generic Arial font not a_LCDNova. Why?

      Comment


      • #4
        It works correctly here. Post your exported project (*.apz).

        Ulrich

        Comment

        Working...
        X