ianrobertdouglas Posted July 1, 2016 Share Posted July 1, 2016 I've faced this issue for a long time and I'm finally getting around to asking for help / trying to verbalise it. I've attached a simple example. In the example, there is an A converted to a curve. I want to cut part of the A away, so I make a shape and nest it under the A (or within the A; not sure of the correct terminology). There is no stroke on the A. But you can see in the attached pic that nesting still leaves two light grey lines. The problem is that these grey lines also pass over into .png or .jpg output. If that shape wasn't nested (the shape is bigger than the part of the A it is covering) those lines, of course, wouldn't be there. And I know I can use the shape to cut that part of the A away entirely (so a destructive subtraction). But this is just an example to show what I'm talking about. Sometimes in more complex design situations I'd like to use this nesting concept but I face this thin grey line issue. Usually I get around it by cleaning up a design and cutting or subtracting, etc. But I often lose time doing that on what are draft proposals that may not be accepted, whereas if I didn't have that line I could "show" the concept and it would be clean without having -- in a word -- to "flatten" the vector and get rid of such lines. Am I missing something basic here? testA.afdesign Quote Link to comment Share on other sites More sharing options...
Staff MattP Posted July 1, 2016 Staff Share Posted July 1, 2016 Go to Preferences -> Performance and check 'Use precise clipping'. This has a very small performance overhead, but should resolve the issue for you. At export time, this setting would've been applied to any images you generate, so it would not have been visible in the exports. The reason for this being visible in the view by default is that it's an artefact you'll actually be able to find in most vector drawing software, introduced by the way that scanline rasterizers work and how you typically tend to implement clipping. We have a separate path that does something a little more clever, but it can't optimise away so much, so it's a tiny bit slower... ianrobertdouglas 1 Quote Link to comment Share on other sites More sharing options...
ianrobertdouglas Posted July 1, 2016 Author Share Posted July 1, 2016 Thank you! Exporting to .png / .jpg from my example indeed gets rid of the line, which is weird; I could have sworn I've seen lines like this pass over into bitmap exports before. Otherwise I have no real problem with that line. But that preference option does the trick within AD, so I'm doubly covered. Thanks! MattP 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.