vertical printing in PIL

Rick Pasotto rickp at
Mon May 7 21:59:24 CEST 2001

Recently Fredrik Lundh posted some to rotate the font in PIL and thus
give vertical printing. When I run the code I get the following

Traceback (innermost last):
  File "", line 29, in ?
  File "/usr/lib/python1.5/site-packages/PIL/", line 147, in text
    ink, fill = self._getink(fill)
  File "/usr/lib/python1.5/site-packages/PIL/", line 73, in _getink
    ink =
AttributeError: __int__

Is there something defective with my setup?

Without having traveled a great deal, I have seen countries in
which people think that agriculture can make no progress unless
the government supports experimental farms; that soon there will
no longer be any horses, if the government does not provide studs;
that fathers will not have their children educated, or will have
them taught only immorality, if the government does not decide
what it is proper to learn.
	-- Frédéric Bastiat (1801-1850)
    Rick Pasotto    rickp at

More information about the Python-list mailing list