On day four of the flex 3, Embedding fonts tutorial, it asks you to try and embed a font. After trying several methods to get my truetype font to rotate 45 degrees, I was unable to get the font appear. Only after using embedAsCFF attribute did it finally work. Set it to false and the Compact Font Format is ignored. This has something to do with how Adobe Flex 4 renders text.
[Embed(source='c:/windows/fonts/Consola.ttf', fontName="fontConsola",
mimeType="application/x-font-truetype", embedAsCFF="false")]
No comments:
Post a Comment