Jump to content

remove super fine line from contour


Recommended Posts

Hi, either I can't see the forest for the trees or there's a bug here.
I have a simple text frame with an outline. The text frame is filled with red, the outline is a very light grey.

Unfortunately, the red filling flashes out very finely from behind the outline - this is the case in Affinity, but also when I export it to a .pdf, how can I prevent this?

1.jpg

Link to comment
Share on other sites

The problem, as I understand it, is not specifically to do with the width of the stroke, but it’s to do with how the stroke and fill are rendered.

The area of the fill is calculated separately from the area of the stroke and the results from those calculations don’t ‘align’ precisely so that there is often a very small discrepancy between those areas which is where the very thin lines come from – basically the stroke area is calculated as being a tiny bit smaller than the area of the fill so the fill ‘pokes out’ at the sides.

This has been mentioned in the forums before and the advice, as far as I can remember, in this specific case, is that if you really want to make sure that you don’t get the very thin line, you should place a Rectangle behind the Frame Text layer (in this case filled grey), not give the Frame Text layer a stroke, and make the Frame Text layer smaller – the grey rectangle ‘standing in for’ the outline of the frame.

See attached image where the example on the left has a stroke on the Frame Text and the example on the right uses a Rectangle (you might need to zoom in to see the difference).

It’s not an ideal situation but there’s not much we users can do about it as far as I’m aware.

image.thumb.png.1ff4e5c367e74e478c111c49b989547e.png

Link to comment
Share on other sites

You’re welcome.

Sometimes the solution to this sort of thing can be to change the Blend Options Anti-aliasing to OFF for the layer but, in this case, that will probably make the text look horrible.

Another option can be to make sure that the position and size of the Frame Text layer and the Stroke width are set as to make everything aligned to the pixel grid (all integer pixel values) but that’s often way too much hassle.

Link to comment
Share on other sites

As another workaround, you might try changing the stroke alignment from inside to centered, and adjusting its width slightly larger. 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.