> I downloaded bmptk Python 2.7.5 and PIL 1.1.7 > running it gives me this: > > C:\Users\Manu\Downloads\bmptk\tools>python ttf_to_cpp.py C:\Users\Manu\Do= wnloads > \bmptk\tools\arial.ttf font.h 16 "0123456789" font > Error: source file C:\Users\Manu\Downloads\bmptk\tools\arial.ttf could > not be opened Dit you install PIL? The script might hide the true error, check ~ line 112: try: Font =3D ImageFont.truetype( Img_File_Name, int( Size )) except: Raise( "Error: source file %s could not be opened" % Img_File_Name ) change this to Font =3D ImageFont.truetype( Img_File_Name, int( Size )) (in case you are not familiar with Python: there are now 3 spaces less=20 in front of the line! > I don't understand what's the Namespace it is asking for as argument. With the (optional) namespace argument the decratations will be=20 generated inside a namespace. Leave it out if you don't know or care=20 about namespaces. The result you get might not be very usefull unless you use it with the=20 classes in bmptk:graphics that deal with drawing characters (or strings)=20 on a graphic screen. What the script does is roughly: for each character in the set of characters that must be made available append the character to S convert S to a graphic picture P save the X-size of P, it will be the X-start of the next character get all pixels in the last P and write them out in hex format When all X steps turn out to be the same the font is apparently fixed,=20 otherwise it is proportional. Wouter --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .