Usually you don't need to embed all characters. For normal use
it's ok to just embed all upper/lower case, numbers and sings.
If you restrict it to those symbols your file size should be
way less.
For Chinese text it's probably best to embed another font
for those symbols and use it whenever needed.
hth, Max
- Original Message
From: cesarerocchi <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Sunday, April 20, 2008 5:28:36 PM
Subject: [flexcoders] Big problem with font embedding
Hi,
I want my application to have "Lucida Grande" font. Since I am not sure that
every platform
has it locally installed, I embedded it.
I created an swf with Flash CS3, as explained in the tutorial. (To find the
tutorial look for
"Embedding fonts from SWF files" in Google. Adobe does not provide any decent
direct
link)
I added ALL the characters. The result is a ~900Kb swf.
I embed my font in Flex using:
@font-face {
src:url("font. swf");
fontFamily: "Lucida Grande";
}
Sometimes I load text which is Japanese or Chinese. Instead of the text I see
squares.
How can I solve?
Thanks in advance,
-c.
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ