A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: definefont tag

  1. #1
    Junior Member
    Join Date
    Feb 2002
    Posts
    7
    the definefont tag has, in contrast to the definefont2 tag, no advancetable for the glyphs. where does the player, generator, etc, ... find the information about the distance between 2 displayed glyphs?

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    126
    defineFont is only used with static text defined in the defineText tag - and that includes the inter-glyph advances.

    BTW - defineText can also reference a defineFont2 (in Flash 4 (5?) and later) so that text and fields can share an embedded font.

  3. #3
    Junior Member
    Join Date
    Feb 2002
    Posts
    7
    thanx, but what, if a definetext(2) tag refereces a simple definfont tag that has no advancetable? in this case, how does the player know the advance values? and when is the simple definefont tag used?

  4. #4
    Originally posted by Apfelsaft
    thanx, but what, if a definetext(2) tag refereces a simple definfont tag that has no advancetable? in this case, how does the player know the advance values? and when is the simple definefont tag used?
    nmain replied already:

    The definetext tag requires the advance value to be specified for every glyph placed in the text block, in this way is not needed to be in the font definition tag.

    Cheers,
    Lev

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