diff options
Diffstat (limited to 'dviware/dvisvgm/src/PSPreviewFilter.hpp')
-rw-r--r-- | dviware/dvisvgm/src/PSPreviewFilter.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dviware/dvisvgm/src/PSPreviewFilter.hpp b/dviware/dvisvgm/src/PSPreviewFilter.hpp index 7de5a2e2a8..630a277b16 100644 --- a/dviware/dvisvgm/src/PSPreviewFilter.hpp +++ b/dviware/dvisvgm/src/PSPreviewFilter.hpp @@ -30,7 +30,7 @@ class SpecialActions; class PSPreviewFilter : public PSFilter { public: - explicit PSPreviewFilter (PSInterpreter &psi); + explicit PSPreviewFilter (PSInterpreter &psi) : PSFilter(psi) {} void activate (); void execute (const char *code, size_t len) override; bool active () const override {return _active;} @@ -44,11 +44,11 @@ class PSPreviewFilter : public PSFilter { double width () const; private: - std::string _version; ///< version string of preview package - bool _active; ///< true if filter is active - bool _tightpage; ///< true if tightpage option was given - double _dvi2bp; ///< factor to convert dvi units to PS points - std::vector<int> _boxExtents; ///< bounding box data set by the preview package (in DVI units) + std::string _version; ///< version string of preview package + bool _active=false; ///< true if filter is active + bool _tightpage=false; ///< true if tightpage option was given + double _dvi2bp=1.0/65536.0; ///< factor to convert dvi units to PS points + std::vector<int> _boxExtents; ///< bounding box data set by the preview package (in DVI units) }; #endif |