Here is how I got it to work:
@font-face {
src: local("Arial Unicode MS");
unicode-range: "Basic Latin";
fontFamily: "ArialUnicodeEN";
fontWeight: "Bold";
}
@font-face {
src: local("Arial Unicode MS");
unicode-range: "Japanese (All)";
fontFamily: "ArialUnicodeJP";
}
You will need to read up on how to define unicode ranges in your
flex-config.xml file, and pass that in as a compiler argument. There is
another outlying bug with specifying the unicode-range directly in CSS
that doesn't allow you to copy-and-paste the ranges from the
flash-unicode-config.xml. (I did file that one.)
Note - I just checked and I never received confirmation on embedding
Arial Unicode MS via the src: syntax. Let me know if you file it.
Thanks,
-D
dadrobson wrote:
>
> Daniel:
>
> How did you get Flex to embed a subset of the characters? I can't get
> it to embed any part of Arial Unicode. The following code, for
> example, throws the same error as embedding the entire font. What
> method did you use?
>
> @font-face {
> src:url("fonts/ARIALUNI.TTF");
> fontFamily:arialUnicode;
> unicode-range:U+0020-U+0040;
> }
>
> --- In [email protected]
> <mailto:flexcoders%40yahoogroups.com>, Daniel Wabyick <[EMAIL PROTECTED]>
> wrote:
> >
> >
> > I had this exact same issue. I solved it by using the local("Arial
> > Unicode MS") and specifying a subset of unicode characters to embed. We
> > should report this.
> >
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/