Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line in text -D..+v is not clipped #3927

Open
PaulWessel opened this issue Aug 11, 2020 · 0 comments
Open

Line in text -D..+v is not clipped #3927

PaulWessel opened this issue Aug 11, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@PaulWessel
Copy link
Member

When drawing a line from the point to the offset text with -Djoffset+vpen, 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
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].

@PaulWessel PaulWessel added the bug Something isn't working label Aug 11, 2020
@PaulWessel PaulWessel self-assigned this Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant