On Friday 18 September 2009 08:54, Laszlo Nagy wrote:
> I need to render antialiased PNG images using TTF font files and UTF-8
> text. It needs to be available at least on Linux and Windows. This is
> what I have tried:
[...]
> #4. pygame - documentation looks great, it is cross platform. But th
Laszlo Nagy wrote:
...
> looks impossible to use it for creating raster images. Details here:
http://osdir.com/ml/python.reportlab.user/2005-06/msg00015.html
OK your error occurs because we need to set up the renderPM canvas with an
initial font (for compatibility with the PDF canvas
...
the reportlab graphics renderPM(_renderPM) module does most things
with T1 and TTF and works linux/win32. We use freetype2 internally to
extract the curves from ttf and then draw them with libart_lgpl which
does anti-aliasing.
I just tried reportlab and RenderPM. I got the same error
Laszlo Nagy wrote:
Hi All,
I need to render antialiased PNG images using TTF font files and UTF-8
text. It needs to be available at least on Linux and Windows. This is
what I have tried:
#1. PIL - it has some problems and I cannot use it. Specifically, the
ImageFont.getsize() returns bad va
Hi All,
I need to render antialiased PNG images using TTF font files and UTF-8
text. It needs to be available at least on Linux and Windows. This is
what I have tried:
#1. PIL - it has some problems and I cannot use it. Specifically, the
ImageFont.getsize() returns bad value for some fonts,