Christian Girstmair Posted October 23 Share Posted October 23 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? Quote Link to comment Share on other sites More sharing options...
street79 Posted October 23 Share Posted October 23 this must be 0 Quote Link to comment Share on other sites More sharing options...
GarryP Posted October 23 Share Posted October 23 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. Christian Girstmair 1 Quote Link to comment Share on other sites More sharing options...
Christian Girstmair Posted October 23 Author Share Posted October 23 @GarryP Thank you very much, that's exactly what I meant. It's a shame that it's a "bug" but once you know about it, you can solve it. Quote Link to comment Share on other sites More sharing options...
GarryP Posted October 23 Share Posted October 23 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. Christian Girstmair 1 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted October 23 Share Posted October 23 As another workaround, you might try changing the stroke alignment from inside to centered, and adjusting its width slightly larger. Quote -- 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 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.