PDA

View Full Version : Font problem


epopov
01-20-2004, 11:19 AM
Hi,
I don't import any custom fonts because they are very large (in Kbytes). By default text looks great! But when I set "fontsize" attribute, text become antialiased and looks not well.

Is it possible to fix font anti-aliasing problem? May be you can recommend me some larger fonts?

antun
01-20-2004, 11:48 AM
The default fonts isn't meant to be scaled at all. The default size is 11px, but it can also be used at 9px.

Any outline font you include is (as you've noticed) going to add to the download. However it depends on the font. The /bitstream-vera-1.10/vera.ttf font, that the default is modeled on, is about 64k, which compresses to about half that when it gets sent to most browsers. Unfortunately that's 64k per font weight, so if you want bold and italic, it's three times that download size.

You can always look for TrueType fonts that aren't as complete as Vera. One of the reasons that Vera is so large is that it contains lots of accented characters.

In the final 2.0 release, there will be a version of Vera without accented characters.

-Antun