PDA

View Full Version : Pixel fonts are antialiased. How to disable that?


mkaram
10-21-2002, 02:36 PM
Hi,

I installed a couple of free Pixel Fonts for Flash. However when i export the movie I see the pixel font antialiased. I tried all sizes 6, 8, 10 etc... I use Flash 5. I want the pixel fonts to look crisp and sharp. Any idea?

Thanks
Michel

crabcake
10-24-2002, 01:11 AM
They have to be on whole number coordinates (4.0, 29.0, 137.0, etc.).

remka
10-25-2002, 11:36 PM
You should also be sure that your fonts are vector-fonts (screen fonts). I tell this because a lot of pixel fonts aren't, and the effect is really ugly when you use them in flash. You could find good pixel-fonts for flash here (http://www.vectorize.de/) , here (http://www.fontsforflash.com/) and also here (http://www.miniml.com/) ...

wannaBgeek
10-29-2002, 06:51 PM
Check out this tech note on Macromedia's site:
http://www.macromedia.com/support/f.../flashfonts.htm

In addition to what people have already said here, it provides information to help you understand why the font is anti-aliasing and suggests some possible workarounds.

I personally have not found anything that works well with a font like this. You can't set the text field to the "use device fonts" option because most people will not have your special font on their computers so the font will just be substituted with one they do have. You can make sure the HTML page specifies the quality as "low," and then it won't anti-alias, but then if you have nice curves that you want anti-aliased, they will be pixellated.

remka
10-29-2002, 09:33 PM
You just need to integrate your font to the swf before publishing. For this, while you're typing your text (or creating your dynamic text area), press "character", and choose which you want to integrate.
For me this works pretty well.
The hooge 05_55 (for example) font looks crispy, and pixelised, even if you set it in a big scale.

To download hooge fonts:

http://www.piregwan.com/ressources/ressources_screenfonts.php

wannaBgeek
10-29-2002, 09:55 PM
Sorry -- the URL in my previous post was messed up:
Using fonts in Flash 5 and later (http://www.macromedia.com/support/flash/ts/documents/flashfonts.htm)

You just need to integrate your font to the swf before publishing. For this, while you're typing your text (or creating your dynamic text area), press "character", and choose which you want to integrate.

Depending on the type of text area and type of font you're using, this may not help. Embedding the font anti-aliases it by default, unless it's a bitmap or other font with no outline information, in which case it will never anti-alias. Many times you have to use a font specified by a client or by the designer. Unfortunately, this is what I have to deal with most of the time!:rolleyes:

p.s. - piregwan.com fonts look vy. cool -- thanks for the tip!

crabcake
10-29-2002, 10:48 PM
As I said in an earlier post, they need to be on the exact pixel. I'm currently using pixel fonts in a project. I have to make sure that my fonts are on a whole number pixel and that, if they are enclosed in any instances, these are also on a whole number pixel, both on the x and y axis. That way they stay sharp, otherwise they anti-alias.