joshtynjala / astra-flex

Fork of Astra Flex components
http://github.com/joshtynjala/astra-flex/wiki
Other
17 stars 6 forks source link

TimeStepper Embedded Fonts #12

Open jgrasmeder opened 13 years ago

jgrasmeder commented 13 years ago

Trying to use an embedded font but not having any luck. The console displays the following error "warning: incompatible embedded font 'Magistral' specified for mx.core::UITextField (UITextField2000) . This component requires that the embedded font be declared with embedAsCff=false." Normally when an <mx: control displays this message I would just change to the spark version and everything would be OK or if a Spark control is not available adding the following "textFieldClass: ClassReference("mx.core.UIFTETextField");" to the Style.css would also solve the issue for the mx controls.

How can I get the astra-flex controls to function when embedded fonts are used?

joshtynjala commented 13 years ago

For now, the only way to do it would be to embed the font twice. Once with CFF, once without.

I'll try to add the textFieldClass style, but I cannot guarantee that it will happen soon.