Pdf export

I’m struggling with the PDF exporter on several levels. Firstly, it doesn’t seem to handle strokes properly. I was surprised by this, but when I adjust the help patch as shown in the image below,

I get this PDF:

Even changing the stroke thickness does not fix the issue. That looks like a bug to me.

In addition, I do not understand how to create precise exports. For example, if I draw a rectangle of 100 × 100 units, I would expect to get a PDF with a rectangle of 100 × 100 mm. That would allow me to export Skia drawings accurately to A4 or A3. Is that possible, or is there something I have missed?

Below is the unmodified PDF exported from the help patch, opened in Illustrator. The sizes are not clear to me, and I’m struggling to understand how the scaling is being handled. In red is what I was expecting…

@vincent.now I think this is quite fine and expected, better work with pt or pixels and set your space accordingly in vvvv. For instance 1 unit in Normal space is 1000px or 240pt and 1 unit in DIP is 100pt.
Generally when you work with screens it doesn’t make a lot of sense to use mm or other metric systems than pt, picas and pixels.
If you still need to convert then usually 1 pixel (X) = 0.2645833333 mm but normally this involves DPI which should be taken in account. In any case, if you stick with pt and pixels everything starts to make sense.

1 Like

great, thank you. that is very useful!