Daewon YOON wrote:
Hi.
I tried to convert a bdf file using pilfont.py script. Instead producing
pretty font images, it complained like following.
**
daewian:~/fonting$ ./pilfont.py gulim24.bdf
gulim24.bdf...
Traceback (most recent call last):
File ./pilfont.py, line 47
Hi.
I tried to convert a bdf file using pilfont.py script. Instead producing
pretty font images, it complained like following.
**
daewian:~/fonting$ ./pilfont.py gulim24.bdf
gulim24.bdf...
Traceback (most recent call last):
File ./pilfont.py, line 47, in ?
p.save(f)
File
I learned from http://www.jorendorff.com/articles/unicode/python.html that
one can specify a unicode character by u'\N {name of the character}'.
Is there any method that I do the reverse of this process? For example,
when
I have a unicode character '', uc.method() should return the character name
Hi. I'm a newbie to this python world.
PIL has 'text(position, string, options)' method in its ImageDraw module.
Does this work with unicode or other 2byte encoded string?
It seems not working on my python2.3.5 with PIL 1.1.5.
How can I accomplish this task? Specifically I'm trying to generate
Python 1.5.2 (#1, Jul 5 2001, 03:02:19) [GCC 2.96 2731 (Red Hat
Linux 7.1 2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
x=9
y=4
x%y
1
for z in range(44):
... z%9
File stdin, line 2
z%9
^
SyntaxError: invalid syntax
What's wrong with