Bug introduced in 10.3 or earlier and persisting through 11.1.0 or later

Exporting the filled Bézier curve to PDF or EPS yields

pts1 = {{3, 0}, {-1, 3}, {1, -5}, {5, -1}, {3, 0}};
test = Graphics[{{EdgeForm[Black], GrayLevel[0.8], 
    FilledCurve[BezierCurve[pts1, SplineDegree -> 4]]}}, 
  PlotRange -> {{0.6, 3.6}, {-1.8, 1.}}, Frame -> False]
Export["i.pdf", test] // SystemOpen


In the notebook it renders correctly as

Mathematica graphics

The export to EPS and PDF, thought, remains broken. Exporting to raster formats works correctly.

  • $\begingroup$ Do you see this only when exporting or also in the notebook? This is what I see in the notebook in M version 10.0 or later, but not in version 9.0. What Mathematica version are you using? $\endgroup$
    – Szabolcs
    Feb 1 '17 at 10:27
  • $\begingroup$ I edited your question, please review it. I removed any references to exporting because I could not verify that there is a difference between export and in-notebook rendering. I tried this on OS X. Please check again, and add the necessary information: is export really different? What version, what OS? Then we will have collected more diagnostic info. $\endgroup$
    – Szabolcs
    Feb 1 '17 at 10:32
  • 1
    $\begingroup$ @Szabolcs I use 10.3. In the notebook it renders correctly. Only export is broken. Exporting to raster format and then importing and reexporting again to vector format, of course, helps (it then contains points only objects). OS is Ubuntu Linux, 14.03, (32 bit edition). $\endgroup$
    – Acus
    Feb 1 '17 at 11:50
  • 2
    $\begingroup$ I am running V11.0.1 on OS X 10.10.2. The graphic object is rendered correctly in the notebook and when saved into PDF file using the notebook menu commands. When I export it using Export, I get the broken version. $\endgroup$
    – m_goldberg
    Feb 1 '17 at 13:27
  • 1
    $\begingroup$ With Mma 11.0.1 and macOS Sierra 10.12.3 I get the "truncated" image in the notebook $\endgroup$
    – Bob Hanlon
    Feb 1 '17 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.