On Wed, 22 Jul 2009 21:41:34 -0500, James Bursa wrote: > On Tuesday 21 July 2009, Daniel Silverstone wrote: > > On Mon, 2009-07-20 at 16:18 +0100, John-Mark Bell wrote: > > > if (!plot.text(x, y + (int) > > > (height * 0.75 * scale), > > > > This *0.75 malarky... If this is for RISC OS's > > baseline-rather-than-top-left behaviour for font plotting, then why not > > do it in the RISC OS frontend instead of here to be undone in all the > > other frontends? Or am I simply mistaken? > > > > Since you're refactoring the font plotting API a bit, now is the time to > > fix this particular nit. > > Yes, that's what it's for. Unfortunately I think there is a complication. > Also > I can't find anywhere in the GTK code that undoes this so I think Pango also > plots at baseline.
Hmm, I'll have to change this in my code. I don't think I'm plotting at baseline and this might explain why I lose the odd pixel at the top of characters on some occasions. Chris
