User Tag List

Results 1 to 2 of 2

Thread: Embedded Font Problem

  1. #1
    No Products Registered

    Join Date
    Feb 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Embedded Font Problem

    Hi everyone -- I'm trying to export an SWF game with an uncommon typeface (Joystix Monospace), so I'm trying include it as the embedded font. Every time I try to build it, however, I get an error message.

    Loading configuration file C:\Program Files (x86)\Multimedia Fusion 2\Data\Runtime\Flash\Flex\frameworks\flex-config.xml
    C:\Users\X\AppData\Local\Temp\Fla8372.tmp\RuntimeF lash.mxml(33): Error: exception during transcoding: Font for alias 'EmbJoystix Monospace' with plain weight and style was not found by family name 'Joystix Monospace'

    [Embed(systemFont="Joystix Monospace", fontName="EmbJoystix Monospace", mimeType="application/x-font")]

    C:\Users\X\AppData\Local\Temp\Fla8372.tmp\RuntimeF lash.mxml(33): Error: unable to build font 'EmbJoystix Monospace'

    [Embed(systemFont="Joystix Monospace", fontName="EmbJoystix Monospace", mimeType="application/x-font")]
    From what I can tell from earlier posts, the SWF Exporter doesn't like certain fonts...but does anyone know why? And what kinds of fonts do work? No matter what I try to embed, I seem to run into snags.

    Any help on this would be greatly appreciated. Thank you!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I found this for you and I've never had an issue with any font. A work around is make the text in your game active objects or background objects to display the text.

    When you select SWF file for Adobe® Flash® Player as build type, a new property, Embedded fonts appears in the application properties. Click on the EDIT button to open an edit box.

    To insert a font, simply type its name on each line of the list. You can specify some attributes, separated by a comma :

    Italic : makes the font italic
    Bold : makes the font bold
    Antialiasing : performs an anti-aliasing when texts using this font are displayed, ensuring a smoother display.
    If you plan to use one font in both normal and italic, you must specify the font twice in the list, one without the italic attribute, one with it.

    Example of font lists :

    Tahoma, Bold, Antialiasing
    Tahoma, Italic
    Bardang, Antialiasing

    The embedded fonts will be used in the string and hiscore objects, if they use this font. Underline is not supported in embedded fonts, as well as striked out.

    When you build your application with embedded fonts, the compiler extracts the font design from the font on your system, processes it, and includes it in the SWF file. This process can be very long, specially for international fonts with lots of characters (it can reach several minutes). Embedding a font also increases the size of your application. The size increase can be big (several megabytes).

    Some fonts cannot be embedded in SWF files, if they cannot be resized, or if the Italic or Bold property is not defined in the font. In this case, the build of your application will fail, without an error message. Therefore it is a good idea to insert the fonts one by one, and check each time that building the application works.

    Basically, embedding font should be done at the end of the development of your application.

Similar Threads

  1. Embedded detector in animation... problem!
    By Konidias in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 9th March 2013, 04:44 AM
  2. Embedded font doesn't show in edit box?
    By MJK in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 5th November 2011, 07:43 PM
  3. Font BIG problem!
    By EasySite in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 13th December 2010, 01:03 PM
  4. Bug - Font sizes problem with ASB
    By Flava in forum File Archive
    Replies: 6
    Last Post: 10th September 2006, 01:08 AM
  5. Counter - Font - Problem
    By the_raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 11th August 2006, 08:20 AM

Tags for this Thread

Posting Permissions

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