When I try to outline the stroke in the screenshot below, the tip of the line gets changed. Please help me here? What should I do to get the exact image, but filled instead of stroked.

Screenshot of the problem

  • 1
    Hi Siamak. Welcome to GDSE. Unfortunately, I can't replicate the problem. When I expand a stroke I get the expected result. – Billy Kerr Sep 3 '18 at 10:40
  • Most likely you have 2 points on top of eachother – joojaa Sep 3 '18 at 18:21

This is a bug which happens for paths drawn with the pen tool and start with the Default appearance applied. I know it exists in AICS6 and a couple of the CC versions. I'm not booted into a machine running CC2018 to test that version at the moment. But it absolutely occurs in CS6 and CC2017 / Mac.

It only happens if the path is manually created with the Pen Tool and under specific circumstances. Most often you'll see this if you:

  1. Create the path with the Pen Tool
  2. Initially the path had the Default appearance applied (1pt black stroke and a white fill)
  3. You removed the fill, added the caps, set the stroke weight (any order)
  4. Then expanding/outlining may result in the lost end cap.

Note that pretty much all of these have to be in play to see the issue most of the time. It's one of those bugs that is kind of obscure, but not that rare. If you know what I mean.

I know in AICS6 and AICC2017, the above steps will result in the issue every time.

So, to get around it...

  • Set the appearance first. Set the stroke width, cap, and the fill before you draw anything. And make certain New Art Has Basic Appearance is not set in the Appearance Panel Menu. Then draw your path with the Pen Tool and the bug should not present itself. This often means you need to do this and redraw the path. It's difficult to correct on an existing path if it's happening already.
  • Create the path by editing shapes (i.e. Daiello's method) and the issue should not appear.
  • For an existing path, if you really don't want to redraw.... Use Object > Flatten Transparency rather than Outline Stroke (or Expand). This keeps the round caps but may result in way more anchor points than it should.

I found a workaround, make sure all ending nodes of the stroke are curve nodes. Here's the result with the last stroke being a sharp node The stroke before expanding:

enter image description here

And after expanding

enter image description here

Now, if we make sure that all end nodes are curve nodes:

enter image description here

Expanding results on this:

enter image description here

Is annoying but is what I found so far.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.