You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am investigating using giza as a drop-in replacement for pgplot in a large NASA software package (https://heasarc.gsfc.nasa.gov/docs/software/lheasoft/). I have run into three issues. Two of these I have solutions for, the third is more difficult.
Center or right justified text are not plotted correctly. The problem here is the usual one of spaces at the end of the string not being handled correctly when going from Fortran to C. A simple fix is in giza-pgplot.f90 to replace call giza_ptext(X, Y, ANGLE, FJUST, TEXT) with call giza_ptext(X, Y, ANGLE, FJUST, TEXT(:LEN_TRIM(TEXT))).
The giza version of PGDRAW does not update the current pen position. A simple fix in giza-pgplot.f90 is to add a call of PGMOVE immediately after the call to giza-draw. However, it might be better to fix the problem within giza-draw.
Images are blurred. If I make eg a 10 pixel by 10 pixel image then the sharp edges between pixels are blurred out. I assume that this is something do with a cairo setting but I have been unable to find out how to turn it off. See example: xspector-issue-3.pdf
The text was updated successfully, but these errors were encountered:
I am investigating using giza as a drop-in replacement for pgplot in a large NASA software package (https://heasarc.gsfc.nasa.gov/docs/software/lheasoft/). I have run into three issues. Two of these I have solutions for, the third is more difficult.
xspector-issue-3.pdf
The text was updated successfully, but these errors were encountered: