Visual artefact issues with shapes with stroke() versus filled shapes

Hi! I’m working on a generative type project based on the Mexico Olympic type. When rendering my letters with strokes I find some visual artefacts - things simply don’t seem to align properly. When exported to .pdf or when I use solid shapes without strokes I don’t have any artefacts.

Example with artefacts when using stroke():
You can easily spot the sections/slices from which the letter is build.

Example with solid shapes - no artefacts

The solution would be to not use stroke() and draw with solid shapes but could this be a bug of Processing or is this meant behaviour due to rounding of numbers?