TTF fonts rendered in Python

V

vald

I wonder if there is any module for rendering True
Type Fonts in Python ? I need to create a GIF files
with nice antialiased text and I'm unable to find
any module with such functionality.

Sincerely,
K.
 
C

Chris Liechti

I wonder if there is any module for rendering True
Type Fonts in Python ? I need to create a GIF files
with nice antialiased text and I'm unable to find
any module with such functionality.

lok at pygame and pil

chris
 
S

Simon Burton

One idea:
pygame can render with TTF fonts,
it can also save surfaces in tga format.
Then use PIL to convert to gif. The only
question is, can pygame do this without displaying
a window etc.

Simon Burton.
 
A

Anthony Baxter

One idea:
pygame can render with TTF fonts,
it can also save surfaces in tga format.
Then use PIL to convert to gif. The only
question is, can pygame do this without displaying
a window etc.

Absolutely - I have code here that generates animated gifs doing
just this sort of thing.

Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top