pstext -Gc not working
|Target version:||Candidate for next bugfix release|
If I understood the man page, I can do a pstext with -Gc then do ie. a grdcontour to plot contour lines and, then psclip -Cs to plot the pstext's text. That isn't working.
Also pstext and grdcontour man pages talk about psclip -Ct but that doesn't exist.
#8 Updated by Paul almost 7 years ago
Notes while working on this bug. I added test script pstext/boxtext.sh which shows (at least part of) the problem. Problem 1: The font is set correctly, but then the basemap is annotated with another font size, and by the time psclip comes to finish the plotting the font size has changed. Problem 2: The clipbox is not honored. More specifically: gv does actually show the clip box, but it is offset in x as the x margin of 1 cm is ignored; the y margin of 1 cm is honored, however. Also, gs (hence ps2raster) and Adobe Distiller fail to show the clipbox at all if PDF is produced, but ps2raster shows the clipbox if rasterized to JPG, PNG,etc. Not sure if our PS for clipping is incorrect (but understood by gs unless we ask for PDF) or if there are bugs in gs and Distiller at this point. My PostScript printer also fails to show the clip box hence I lean towards incorrect PS clip implementation by us.