Official tool for generating Allegro 5 fonts?
roger levy

Is there a tool (official or not) out there for generating bitmap fonts in the format Allegro 5 expects?

Niunio

This?
[edit] May be this too?

roger levy

I realized there was the TTF addon so I ended up just using that.

The quality isn't great, though. Consolas for instance doesn't look as nice as usual, it's like the thickness is inconsistent. Is there any way to improve it?

Edgar Reynaldo

Yes, turn anti-aliasing off. ALLEGRO_FONT_MONOCHROME or something like that when you load it.

roger levy

That made it worse. I tried out the Bold variant and that helped. Still looks kinda bad, though.

Niunio

As documentation says bitmap flags will affect the way fonts are rendered. You should play with such flags to find the best combination for your case.

roger levy

Thank you i will try that.

Thread #616907. Printed from Allegro.cc