A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Using external fonts for dynamic data

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Location
    Buenos Aires, ARG.
    Posts
    3

    Using external fonts for dynamic data

    Hi, first of all, I'm not a flasher myself, but my flash guy is having some difficulties with a project I asigned to him.

    He has to create this nav bar wich has dynamic text, wich is loaded from an external XML file. No problem so far.

    The problem is that this information (coming from the XML) has to be rendered in a pixel font (standard 7_55), with antialias turned OFF. It seem that in systems wich don't have the font installed, the text is rendered with times new roman or some other crap.

    What I'd like to know is if this is possible, embedding the font in flash and render the dynamic text with it, with no antialias.

    We're using Flash MX. Thanks a lot.

  2. #2
    Junior Member
    Join Date
    Sep 2003
    Location
    Buenos Aires, ARG.
    Posts
    3
    Bump

  3. #3
    Registered User
    Join Date
    Feb 2003
    Location
    Istanbul ,Turkey
    Posts
    59
    make it dynamic then embed it!!

    for a look of a non anti alias (in pixel fonts) just align the textfield (x,y) position to the nearest integer.. ex(7,5) not (7.2,5.6)

    But I must warn you that it might not work for some pixel fonts...
    If it's some like 8pt-16pt it should be ok! If not change the size of the font realign again...

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Other restrictions also apply!
    Left justified textfield only.
    Textfield cannot be scaled and should be 100% across.
    If textfield is nested in movie clips (seems to be your case), clips must also be on exact pixels coordinates.

  5. #5
    Registered User
    Join Date
    Feb 2003
    Location
    Istanbul ,Turkey
    Posts
    59
    Ooops..Exactly!! That was a kind of "integer" explanation...mine was a little blurry!

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center