DPI
Unsolved
General and Desktop
-
Hi,
I use a QPainter widget to writing text into a QImage.
QImage image(WIDTH, height, QImage::Format_RGBA8888); image.fill(Style::textBackgroundColor); QPainter painter(&image); painter.setPen(Style::textColor); painter.drawText(0, 0, "test");
I look a difference between windows and mac (http://stackoverflow.com/questions/25761556/qt5-font-rendering-different-on-various-platforms). The DPI of windows seem smaller than mac. (96 DPI versus 72 ?).
I need some help to have a clean solution at this problem.Regards,
Robin