Flex compiles applications to a SWF file. SWF files are decoded and rendered by the Flash Player. The Flash Player can anti-alias fonts if the font glyph (i.e. the shape outline of each individual character) information is embedded in the SWF. You must embed each face of a font family in order to use each face (i.e. SWF supports four types of font faces: plain, bold, italic or bold-italic). You can embed a font face in a Flex application through a CSS @font-face rule. Once you've defined a font-face rule you can then create styles that use the embedded font-family and apply these styles to components that contain text (just as you would apply styles to HTML text).
Note that many fonts have copyright restrictions. You must read and respect the terms and conditions of the copyright on a font before embedding it in your Flex application. -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pilby1 Sent: Monday, June 27, 2005 10:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] RE: Font question Does Flex do anti-aliasing of fonts? My understanding of anti-aliasing is an algorithm applied to a font that makes it look smooth and refined (as I typically see in Adobe). At this point, I wonder if .ttf fonts can come already anti-aliased, and if not, does Flex have the ability to anti-alias a font? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/