Commit 436c17f6 authored by Craig Southeren's avatar Craig Southeren Committed by Dick Hollenbeck

This fixes a MSVC compile error caused by a static scalar initialiser.

parent 534c8a89
...@@ -19,6 +19,9 @@ extern const double hvb_widths[256]; ...@@ -19,6 +19,9 @@ extern const double hvb_widths[256];
extern const double hvo_widths[256]; extern const double hvo_widths[256];
extern const double hvbo_widths[256]; extern const double hvbo_widths[256];
const double PSLIKE_PLOTTER::postscriptTextAscent = 0.718;
// Common routines for Postscript-like plotting engines // Common routines for Postscript-like plotting engines
void PSLIKE_PLOTTER::SetDefaultLineWidth( int width ) void PSLIKE_PLOTTER::SetDefaultLineWidth( int width )
......
...@@ -533,7 +533,7 @@ protected: ...@@ -533,7 +533,7 @@ protected:
virtual void emitSetRGBColor( double r, double g, double b ) = 0; virtual void emitSetRGBColor( double r, double g, double b ) = 0;
/// Height of the postscript font (from the AFM) /// 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, int returnPostscriptTextWidth( const wxString& aText, int aXSize,
bool aItalic, bool aBold ); bool aItalic, bool aBold );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment