On Wed, 22 Sep 2004 17:19:01 +0200, Frank Heckenbach frank@g-n-u.de wrote:
Here <<attachment>> are some other small bugfixes for GRX, I'm not sure which of them are applied already
Did you mean to send an attachment with this mail? I didn't get any, sorry.
Hmmm... well, let's do that again. Note: these are GRX- specific and not related to the GRX_font fixes/changes.
BTW, I forgot to mention yet another bug. When resizing and boldifing / italicizing a scalable font in one step, the characters are first rasterized to raww by hgt:
if(!(*bitmap)(chr, raww, hgt, bmp)) goto error;
and then resized from oldw to raww: (?)
neww = cvtbitmap(oldw, raww, &cv, bmp);
The 2nd pass should convert from raww to neww (that is, do boldify/italicize only, since raww ::= neww - boldwdt - italwdt). Using oldw => raww causes buffer underflows.