30.11.2012 Views

Using Adobe® Flex® 4 - Adobe Blogs

Using Adobe® Flex® 4 - Adobe Blogs

Using Adobe® Flex® 4 - Adobe Blogs

SHOW MORE
SHOW LESS

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 />

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 />

USING FLEX 4<br />

Fonts<br />

Note that when embedding a non-CFF font, you have the option of specifying the advancedAntiAliasing property.<br />

With CFF fonts, this property is not ignored. The advanced anti-aliasing functionality is provided with FTE.<br />

Troubleshooting fonts in Flex applications<br />

[Output: IPH, Print, Web] [EditorialStatus: Preliminary Review]<br />

There are some techniques that you can use to successfully embed fonts into your Flex applications.<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!