diff --git a/common/common_plotPS_functions.cpp b/common/common_plotPS_functions.cpp index 7f27bd5632..44e00aa6c0 100644 --- a/common/common_plotPS_functions.cpp +++ b/common/common_plotPS_functions.cpp @@ -19,6 +19,9 @@ extern const double hvb_widths[256]; extern const double hvo_widths[256]; extern const double hvbo_widths[256]; +const double PSLIKE_PLOTTER::postscriptTextAscent = 0.718; + + // Common routines for Postscript-like plotting engines void PSLIKE_PLOTTER::SetDefaultLineWidth( int width ) diff --git a/include/plot_common.h b/include/plot_common.h index 7c439fb739..8c342356f3 100644 --- a/include/plot_common.h +++ b/include/plot_common.h @@ -533,7 +533,7 @@ protected: virtual void emitSetRGBColor( double r, double g, double b ) = 0; /// Height of the postscript font (from the AFM) - static const double postscriptTextAscent = 0.718; + static const double postscriptTextAscent; // = 0.718; int returnPostscriptTextWidth( const wxString& aText, int aXSize, bool aItalic, bool aBold );