-
Notifications
You must be signed in to change notification settings - Fork 148
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
Zero-width stroke acts as fill #662
Comments
Thanks for the report! I suspect what's happening here is that the expanded lines overlap, and that confuses something. But I think @raphlinus will be more likely to give an easy answer. For the moment, I'd recommend capping your strokes to be at least 0.01 units, presuming that the issue occurs only exactly at 0. |
I think the easy fix is to just detect this in |
Yeah, internally we use a special value of 0.0 of the stroke width to indicate fill. I agree with @dfrg that the easiest thing is to encode nothing. Alternatively, we could switch to using a value of -1.0 (which I believe we did in the past), and have the predicate in the shaders that that the value is negative. |
I've made tests and i found out that every Maybe this is a dumb/not a good idea, but perhaps there could've be a flag for |
This
renders as

The text was updated successfully, but these errors were encountered: