Storing image data (fonts) in hexadecimal format in Python
<p>I'm trying to modify this code (<a href="http://code.google.com/p/pypng/source/browse/trunk/code/texttopng" rel="nofollow">http://code.google.com/p/pypng/source/browse/trunk/code/texttopng</a>) so that it can render extended ASCII symbols. Currently I'm trying to figure out how storing the fonts in hexadecimal format works, but after extensive googling around I haven't been able to understand it, nor extend it.</p>

<p>And another problem I'm trying to solve is to render even multi-line documents with this script. I'm thinking it's something to do with this line of code</p>

<p><code>return x,y,itertools.imap(lambda row: itertools.chain(*row),
                              zip(*map(char, m)))</code></p>

<p>Thank you.</p>
