PDFDocument on windows not rendering correctly

I have an app I am compiling for both Mac and Windows. One of the menu items creates a PDFDocument by drawing other windows and canvases into it. It works as expected on Mac, but some things on the Canvas do not render in the Windows produced PDF. Dots and some text appears, but CurveShapes and OvalShapes and some other text are not. The on screen depiction of the same graphics object renders as expected, it is only in the PDF that it does not.

So I need to do something different for Windows, not needed on Mac?

Please would you mind to send an example project reproducing the issue so I can look at it? You can send it as a private message or opening an Issue.

Thank you!

The private message does not seem to allow attaching a project to it. I’ll try opening an issue.

I put up an issue with the same subject heading, it has the necessary files.

Post the case number :slight_smile:

I guess is private.

1 Like

case is 71908. I marked it private without much thought as the whole source is there. Now it won’t let me change it. Odd, since I am the author. A bug in the bug tracking system?

My guess is a security setting that is not allowed for non-staff.

You can add a comment there and even ping Robin if you want your case to be public.

Hi @Jon_Fitch

I tried to reproduce the bug on Windows, and it looks like it is exhibited even when the drawing is done on a regular Picture graphic context… so I feel more inclined to think that this is not a PDFDocument bug but something happening in the code when it is run on Windows or when the several “DrawInto” / “DrawPicture” snippets of code inside of that menu item is executed on any Graphics context under Windows as you can see in the following screenshot: