views:

326

answers:

0

hello, I have textArea which gets the text through user input in runtime. User input comes through Richtexteditor so it is html I save the html text from Richtexteditor to textArea's htmltext property. everything seems to be fine! till I try to embed fonts!! (I need to embed fonts because I apply a fade effect to the TextArea.) With embedded fonts the text simply disappears! could you help me out here please! i am really desperate! Ali M Syed

@font-face {
        src:local("Arial");
        fontFamily: ArialEmbedded;
    }

. 
.
.

body.setStyle("fontFamily", "ArialEmbedded");

body is TextArea