more postscript fixes
Status: Beta
Brought to you by:
m_schellens
Two more postscript fixes:
The xsize and ysize keywords on device have the opposite affects that are expected. This is the fix:
Line 82 of deviceps.hpp should be
PLFLT pageRatio=XPageSize/YPageSize
and not
PLFLT pageRatio=YPageSize/XPageSize;
The default foreground colour for PS should be black (it isn't when calling tvlct). This is the fix:
Line 50 of plotting_misc.cpp should be
(*static_cast<DLongGDL*>(pStruct->GetTag(colorTag, 0)))[0]=0;
and line 52 should be
(*static_cast<DLongGDL*>(pStruct->GetTag(bckTag, 0)))[0]=255;
Regards,
Joanna
I applied first fix, but second is not working for me :(
What can we do to solve all these problems related to PS outputs ??
Alain