Forum

PDF Writer - Pb with Strokes

When you export a shape with strokes using PDFWriter, the strokes behave weirdly when opened in Acrobat. Sometimes full. Sometimes way thicker than in VVVV.

But it looks fine if the PDF file is opened in a browser…

Tested on 2021.4.6 and 2021.4.11

image

image

image

i’m afraid this sounds more like an issue with how the different readers interpret the pdf file than anything we can do on our end. you can try posting the question in the [Issues · mono/SkiaSharp · GitHub](skiasharp repo) to see if anyone over there knows something about this.

Thanks,

There is a workaround:
Using SetStyle and SetStrokeWidth (instead of Stroke) works.

image

image