On 31/01/2013 21:44, Stephan Witt wrote:
Am 28.01.2013 um 10:02 schrieb LyX Ticket Tracker <t...@lyx.org>:

#8250: OS X with retina display
-------------------------+-------------------------
Changes (by spitz):

Does it make a difference if "Use pixmap cache" in Tools > Preferences >
Look & Feel > Screen Fonts is unchecked? (Note that this might decrease
performance). It would surprise me if Stephan wouldn't have tested this
already, but let's make sure.

Generally, this bug report is relevant:
https://bugreports.qt-project.org/browse/QTBUG-23870

Seems that some general support for HIGH_DPI is planned for Qt 5.0. In any
case, the report has some instructive background information.

Thank you, Jürgen, for the pointer to the Qt bug report.

I studied it and came to the conclusion to give LyX+Qt5 a try. The attached 
patch is a result of this effort.

Instead of push it to git I want to present it here to get some feedback. If 
the changes are ok I want to commit the patch.

Looks good after a quick parsing of it. It would be better if we minimize the number of #ifdef... maybe via some small inline wrappers?



Unfortunately it doesn't solve the problem with high resolution displays. 
There's more work to do...

The pixmap cache isn't enabled per default on Mac OS X. We have a problem with 
QPainter's text drawing mechanism.

I think you can remove the pixmap cache for 2.1, I don't think it is used.

Abdel.

Reply via email to