If I embed one font does it necessitate that I can henceforth only use
embedded fonts within my application?
For example, in a little test I wrote I have a RichTextEditor that
works just fine with different fonts. However, if I add the following
code to my MXML file:
<mx:Style>
@font-face {
src: url("verdana.TTF");
fontFamily: Verdana;
fontStyle: normal;
fontWeight: normal;
}
@font-face {
src: url("verdanab.TTF");
fontFamily: Verdana;
fontStyle: normal;
fontWeight: bold;
}
@font-face {
src: url("verdanai.TTF");
fontFamily: Verdana;
fontStyle: italic;
fontWeight: normal;
}
@font-face {
src: url("verdanaz.TTF");
fontFamily: Verdana;
fontStyle: italic;
fontWeight: bold;
}
</mx:Style>
Verdana looks really pretty and all the effects look awesome on it,
but if I try to change fonts to anything else nothing appears.
Further, if I select text that is in Verdana and change it to another
font the text disappears...what's going on here?