Using Adobe® Flex® 4 - Adobe Blogs
Using Adobe® Flex® 4 - Adobe Blogs
Using Adobe® Flex® 4 - Adobe Blogs
- TAGS
- using
- adobe
- blogs
- blogs.adobe.com
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Resolved code-reference.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
@font-face {<br />
src:url("../assets/MyriadWebPro.ttf");<br />
fontFamily: myCFFFont;<br />
advancedAntiAliasing: false;<br />
embedAsCFF: true;<br />
}<br />
@font-face {<br />
src:url("../assets/MyriadWebPro.ttf");<br />
fontFamily: myFontNoCFF;<br />
advancedAntiAliasing: true;<br />
embedAsCFF: false;<br />
}<br />
.myCFFStyle {<br />
fontSize: 32;<br />
fontFamily: myCFFFont;<br />
}<br />
.myStyleNoCFF {<br />
fontSize: 32;<br />
fontFamily: myFontNoCFF;<br />
}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
USING FLEX 4<br />
Fonts<br />
As this example illustrates, if you mix Halo and Spark controls inside the same application, you might not be able to<br />
use the same embedded font.<br />
There are two possible remedies to this situation:<br />
Specify that the Halo controls use FTE classes style to render text, rather than their default text renderers.<br />
Embed both the non-CFF version of the font in addition to the CFF version of the font.<br />
25