]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsParams.cpp
Fix bug #9319: Problems with space inside math and textrm.
[lyx.git] / src / graphics / GraphicsParams.cpp
index a88d6dc5c0c3b5b5bbc660611418e38658daa3e4..c1c32a0aba2fe41d1a7d759d4427abbd076eac4b 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "Length.h"
 
+#include <cstdlib>
 #include <sstream>
 
 using namespace std;
@@ -22,8 +23,9 @@ namespace lyx {
 namespace graphics {
 
 Params::Params()
-       : display(ColorDisplay),
+       : display(true),
          scale(100),
+         pixel_ratio(1.0),
          angle(0)
 {}
 
@@ -34,6 +36,7 @@ bool operator==(Params const & a, Params const & b)
                a.display == b.display &&
                a.bb == b.bb &&
                a.scale == b.scale &&
+               a.pixel_ratio == b.pixel_ratio &&
                a.angle == b.angle);
 }