]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.cpp
Fix bug #9319: Problems with space inside math and textrm.
[lyx.git] / src / graphics / PreviewImage.cpp
index 58e25fbd06122d2fc4126635a059c7f32c145db0..5eecfcc48a8f1a7add5a059b1726c9414e48ae10 100644 (file)
@@ -11,6 +11,8 @@
 #include <config.h>
 
 #include "PreviewImage.h"
+
+#include "Dimension.h"
 #include "GraphicsImage.h"
 #include "GraphicsLoader.h"
 #include "PreviewLoader.h"
@@ -103,6 +105,7 @@ PreviewImage::Impl::Impl(PreviewImage & p, PreviewLoader & l,
        : parent_(p), ploader_(l), iloader_(bf),
          snippet_(s), ascent_frac_(af)
 {
+       iloader_.setDisplayPixelRatio(l.displayPixelRatio());
        iloader_.connect(bind(&Impl::statusChanged, this));
 }