Skip to main content
Known Participant
October 19, 2009
Question

Symbol fontFamily not supported TextLayout FrameWork

  • October 19, 2009
  • 1 reply
  • 780 views

hi

           I am using textLayout.swc in flex 3 Bulider (SDK3.4Ver)

     when i write code like :-

     SpanElement.fontFamily = "Symbol";

     no changes in font reflected, it gives default font i.e. Times New Roman.

     So Symbol fontFamily not supported by textLayout Framework.

     If anybody know how Symbol font is used in textLayout, please reply.

     its urgent.

This topic has been closed for replies.

1 reply

Adobe Employee
October 19, 2009

TLF and flashplayer are unicode based.   Changing the font is not sufficient you also have to give unciode values for glyphs that are in the font.  The symbol font doesn't include the standard roman characters to flashplayer falls back to using default fonts.

Known Participant
November 9, 2009

Thank you so much for replying

But the main issue is this that when some font not supported in textLayout Framework, the it fall back to the default Font family

i.e. Times New Roman. but it Style given to the text not reflected back , it return different style Style means Bold, Italic etc.

Please tell me that how can I get the style in case font is not supported