User Tag List

Results 1 to 2 of 2

Thread: Font Embed Object problem

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2019
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Font Embed Object problem

    Hi!

    My app goes like this: There are several fonts in separate folder. At the beginning, Font Embed objects gets all of them. Later, player can choose which font he/she wants to use - the name of the font goes to Global String A. Later, every string in game changes his font to Global String A.

    I did it, and it basically works for almost everybody. However, one of the testers had problem that I struggle to solve:
    • None of the fonts loaded. Every font was replaced by Tahoma
    • Some of the strings (not all) had extremely small font size, impossible to read


    Now, I struggle to understand why the fonts didn't load (they loaded to everyone else), and more important problem, why some of the strings became small.

    I suppose it might be because some of the strings adjust their font size using "Calculate Text Rect" object, which couldn't find Global String A font. However, one of the "small strings" is on the frame without this feature, and I don't know how to explain it.

    I attach picture with the problem - both strings has same properties and events, none of them uses "Calculate Text Rect" or any font size manipulation, yet one of them is tiny.
    Fonts.png

    Fusion 2.5+ had one of the fonts in Binary Data, in few sizes - it didn't load too.

    Tester with this problem has Windows in russian version (rest has polish/english, including me). It has been reason for some problems in the past. Maybe folders with fonts aren't localized because of it, however pictures in the same folder are loaded correctly.

    The problem dissapeared when she installed fonts from the folder to her computer manually - then, the game worked perfectly.

    Do you see any reason why such problem happens? Also, is there any alternative way to load fonts to my application, when I don't know what size they will be displayed?

    I'll be grateful for every idea about what could go wrong while loading fonts here!

  2. #2
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jonathan's Avatar
    Join Date
    Sep 2013
    Location
    France
    Posts
    244
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Not sure it will help, but just want to say that I have same issue with tester who uses Windows in Chinese.

Similar Threads

  1. Embed Font Object doesn't load font.
    By Cheezy_Bacon in forum Released Extensions
    Replies: 1
    Last Post: 13th September 2019, 08:15 PM
  2. Replies: 4
    Last Post: 1st October 2016, 07:26 PM
  3. Font Embed Object Problem
    By Del_Duio in forum Fusion 2.5
    Replies: 1
    Last Post: 21st May 2016, 09:02 PM
  4. Font Embed Object Problem
    By Del_Duio in forum Released Extensions
    Replies: 0
    Last Post: 26th April 2016, 08:43 PM
  5. Edit Box Object Font Problem
    By virtualrom in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 4th January 2011, 09:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •