[Qt-interest] pdf printer 1200 DPI and font size
Sylvain Pointeau
sylvain.pointeau at gmail.com
Mon Apr 4 17:16:41 CEST 2011
What should I put in setPointSizeF if I use the transform like below?
QTransform transformMM = QTransform::fromScale(
printer.physicalDpiX() / 25.400,
printer.physicalDpiY() / 25.400
);
painter.setWorldTransform(transformMM, false);
setPixelSize() seems to give correct but it is only integer...
do you have any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110404/86e48809/attachment.html
More information about the Qt-interest-old
mailing list