You are not logged in.
If I try to render a simple EMF vector graphic (using PdfDocument.Canvas.RenderMetaFile) I get a pdf with an "invalid content stream state" (by Acrobat Preflight PDF syntax check).
After some testing I found out that this happens when the operator rg (set in TPdfCanvas.SetRGBFillColor) or the operator d (set in TPdfCanvas.SetDash) is included. When I generate the pdf without these operators no syntax errors are reported.
Any ideas how to fix (or avoid) these syntax errors?
Offline