On Thursday 17 October 2002 2:39 pm, Dekel Tsur wrote: > On Thu, Oct 17, 2002 at 03:26:06PM +0200, Lars Gullik Bj?nnes wrote: > > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Patch to both appended. Ok? > > > > pretty much ok. > > > > | - return pdm.logicalDpiY(); > > | + return 0.5 * (pdm.logicalDpiX() + pdm.logicalDpiY()); > > > > I would have prefred some (pdm.logicalDpiX() + > > pdm.logicalDpiY()) / 2.0 > > I'm not sure we should use this. > We should use the same value that QT uses as DPI (logicalDpiY > ?) in order, for example, to make the math preview match the > mathed display.
Well, I understand what you mean by this, but can't follow the Qt source too well in this regard. Presumably somewhere in qfont.cpp there's a switch from pointSize to asscociated pixelSize to ascertain the desired font size, but I have been unable to track this down. I guess that you too have had difficulties here. Hence the ?... Angus