Hi,
I would like to use the embed font for the only Numberic and English
letter but use the default for different country language (eg. Chinese). I
found that i cannot do that in the following code. Can some expert give me
advice on it?
thx
capho
<?xml version="1.0"?>
<!-- fonts/EmbeddedFontCharacterRange.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Style>
@font-face {
src:url("test.ttf");
fontFamily: myFontFamily;
unicodeRange:
U+0041-U+005A, /* Upper-Case [A..Z] */
U+0061-U+007A, /* Lower-Case a-z */
U+0030-U+0039, /* Numbers [0..9] */
U+002E-U+002E; /* Period [.] */
}
</mx:Style>
<mx:Panel title="Embedded Font Character Range">
<mx:TextArea width="400" height="150" text="abcdTest測試"
fontFamily="myFontFamily"/>
</mx:Panel>
</mx:Application>