]> git.lyx.org Git - lyx.git/commit
#9130 Text in main work area isn't rendered with high resolution
authorStephan Witt <switt@lyx.org>
Sun, 12 Oct 2014 17:23:13 +0000 (19:23 +0200)
committerStephan Witt <switt@lyx.org>
Sat, 18 Oct 2014 09:53:16 +0000 (11:53 +0200)
commit9135dcee0743538db730cd05b3daff029d50119f
tree4783cb90ffd6dbd234204279651a308fa4ac237c
parent2ca21d2c155215ca53efc865fdd05cdc42fe6e50
#9130 Text in main work area isn't rendered with high resolution
Introduce the concept of pixel ratio: the ratio of physical and device independent pixels.
This is useful for rendering of content on Retina-displays of Mac hardware with high resolution.
Qt has real support for this starting with Qt5 - therefore it has to be compiled conditionally.
This change uses some work of Marcelo Galvão Póvoa, thank you.
src/frontends/Painter.h
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiApplication.h
src/frontends/qt4/GuiPainter.cpp
src/frontends/qt4/GuiPainter.h
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/GuiWorkArea.h
src/frontends/qt4/GuiWorkArea_Private.h