When drawing a line from the point to the offset text with **-Dj**_offset_**+v**_pen_, unless you fill in the text box the line shows up: `echo "1.91739628589 1.59140756803 T" | gmt text -R-5/5/-5/5 -Jx1 -D-5c+v0.5p,black -F+f32,Helvetica,black+a0+jCB -W0.25p,red -png`  map It would be better to set up a clip path if no fill is used so that the line stops at the (imaginary or drawn) textbox. [Moved from old GMT wiki issues from 2013].
Activity
joa-quim commentedon May 25, 2026
With #9035 it now produces
pstext: clip lines by text box (#9035)