Menu

#63 more postscript fixes

closed-fixed
nobody
None
5
2013-05-07
2013-04-26
Joanna
No

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

Discussion

  • Alain C.

    Alain C. - 2013-04-29
    • status: open --> closed-fixed
     
  • Alain C.

    Alain C. - 2013-04-29

    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

     
  • Marc Schellens

    Marc Schellens - 2013-05-07
    • status: closed-fixed --> pending-fixed
     
  • Marc Schellens

    Marc Schellens - 2013-05-07
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.