xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark">
@font-face {
src:url("a.ttf");
fontFamily: myFont;
embedAsCFF:true;
}
@font-face {
/* Note the different filename for boldface. */
src:url("a.ttf");
fontFamily: myFont;
/* Notice that this is the same alias. */
fontWeight: bold;
embedAsCFF: true;
}
@font-face {
/* Note the different filename for italic face. */
src:url("a.ttf");
fontFamily: myFont;
/* Notice that this is the same alias. */
fontStyle: italic;
embedAsCFF: true;
}
.myPlainStyle {
fontSize: 32;
fontFamily: myFont;
}
.myBoldStyle {
fontSize: 32;
fontFamily: myFont;
fontWeight: bold;
}
.myItalicStyle {
fontSize: 32;
fontFamily: myFont;
fontStyle: italic;
}