In my Flex 3 app, when I use an embedded font, I notice that some of my
labels appear against a backgroundColor that is lighter than the
surrounding backgroundColor (sometimes, in repeatable conditions), even
though this is nowhere specified explictly.
If I use a system font like '_sans' this does not happen.
Can anyone explain why this would be, or how I can fix this behavior?
My css code:
@font-face {
src: url('/assets/fonts/MyriadWebPro/MyriadWebPro.ttf');
fontFamily: myriadWebPro;
advancedAntiAliasing: true;
}
global {
fontFamily: myriadWebPro;
fontSize: 12;
border: 1px;
borderStyle: solid;
advancedAntiAliasing: true;
color: white;
}
I also observe that if I say
fontFamily: myriadWebPro,
it loads the myriadWebPro font, but if I say
fontFamily: myriadWebPro, '_sans',
it will load a default serif font instead. That seems very strange.
--Henry