tarjinder80
03-18-2009, 07:02 AM
Hi,
I am making a TextEditor using TextArea component in FLex3.
I am embeddding fonts using this method
@font-face {
src:url("impact.TTF");
fontFamily: Impact;
unicode-range:
U+0020-U+0040, /* Punctuation, Numbers */
U+0041-U+005A, /* Upper-Case A-Z */
U+005B-U+0060, /* Punctuation and Symbols */
U+0061-U+007A, /* Lower-Case a-z */
U+007B-U+007E; /* Punctuation and Symbols */
}
i have textarea component named myTxt.
i am doing myTxt.htmlText = "<font face='Impact' size='12'>Hello Testing Font Embedding</font>";
TextArea is not reflecting the font.
If i create a TextField and apply the same font, the textfield is reflecting the font.
Please help.
I am making a TextEditor using TextArea component in FLex3.
I am embeddding fonts using this method
@font-face {
src:url("impact.TTF");
fontFamily: Impact;
unicode-range:
U+0020-U+0040, /* Punctuation, Numbers */
U+0041-U+005A, /* Upper-Case A-Z */
U+005B-U+0060, /* Punctuation and Symbols */
U+0061-U+007A, /* Lower-Case a-z */
U+007B-U+007E; /* Punctuation and Symbols */
}
i have textarea component named myTxt.
i am doing myTxt.htmlText = "<font face='Impact' size='12'>Hello Testing Font Embedding</font>";
TextArea is not reflecting the font.
If i create a TextField and apply the same font, the textfield is reflecting the font.
Please help.