Looking at the manuals, I need to use embeded fonts if I want
rotation, however the drawbacks of embeded fonts as specified in the
manual are:
You can only embed TrueType fonts.
Embedded fonts increase the file size of your application, because
the document must contain font outlines for the text. This can
result in longer download times for your users.
Embedded fonts decrease legibility of the text at sizes below 10
points. All embedded fonts use anti-aliasing to render the font
information on the client screen. As a result, fonts may look
fuzzy or illegible at small sizes.
You can only specify a single fontFamily style property when
embedding fonts. Flex does not support a list of embedded fonts.
So I may be stuck with the poor quality of text that I am
observing. This just doesnt sound like an acceptable solution.
Anyone had more luck than me ?
--- In flexcoders@yahoogroups.com, viraf_bankwalla
[EMAIL PROTECTED] wrote:
Yes - it is - however the embeded font looks very different from
the
inline font. I am using verdana.ttf from windows/font directory.
I have declared the font as:
mx:Style
@font-face { fontFamily:headerFont; src:url
(assets/verdana.ttf); }
/mx:Style
and using it like:
mx:Label id=line1 fontFamily=headerFont fontSize=10/
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED]
wrote:
Only difference I can see in the header font is that it's bold.
Otherwise
it looks like it's Verdana 10pt (maybe it's 9pt but I don't
think
so).
You can see the default styles by checking in
mx/skins/halo/Default.as which
you can find in the FlexForFlash.zip which came with your
install.
Matt
_
From: viraf_bankwalla [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 26, 2005 5:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] inline vs embedded fonts
Hi,
In order to rotate text, I have discovered that I need to use
embeded fonts. I would like text in a datagrid header to be
rotated.
How do I discover the inline font being used in the data grid
header.
I thought that the default font was vernanda size 10, however
columns with embeded font look very different from the inline
font.
How do I get them to match ?
Thanks.
Yahoo! Groups Sponsor
ADVERTISEMENT
http://us.ard.yahoo.com/SIG=129qbk7rj/M=298184.6018725.7038619.30011
76/D=gr
oups/S=1705007207:HM/EXP=1109553930/A=2593423/R=0/SIG=11el9gslf/*http
:/www.n
etflix.com/Default?mqso=60190075 click here
http://us.adserver.yahoo.com/l?
M=298184.6018725.7038619.3001176/D=groups/S=
:HM/A=2593423/rand=478941882
_
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
subject=Unsubscribe
* Your use of Yahoo! Groups is subject to the Yahoo!
http://docs.yahoo.com/info/terms/ Terms of Service.