Bug 45798

Summary: Poppler doesn't render some (tikz/pgf-made) arrows while xpdf does
Product: poppler Reporter: Milan Plzik <emempi>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: bernhardredl
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: PDF file to reproduce the problem
LaTeX source file of the testcase.
Testcase rendered by pdftocairo -png -r 300 -cropbox test.pdf
Testcase rendered by pdftoppm -png -r 300 -cropbox
Minimal TestCase
Minimal TestCase LaTeX-Source

Description Milan Plzik 2012-02-08 10:09:26 UTC
Created attachment 56760 [details]
PDF file to reproduce the problem

After attempting to render attached PDF, one should see an arrow at the end of all edges connecting vertices (which holds for xpdf). However, poppler-rendered images contain arrows only for upper edges, and (from some strange reason) semi-transparent arrow when using specific rotation.
Comment 1 Milan Plzik 2012-02-08 10:11:51 UTC
Created attachment 56761 [details]
LaTeX source file of the testcase.

Attaching source file to produce testcase PDF. When changing 'in' angle at line:

			(VN1) edge[out=-35,in=-145] (VN3)

one can get variety of cases with visible/semi-visible/invisible arrow.
Comment 2 Albert Astals Cid 2012-02-08 10:18:39 UTC
Please attach a screenshot.

Also please check if pdftoppm and/or okular give you correct results.
Comment 3 Milan Plzik 2012-02-08 10:24:45 UTC
Created attachment 56762 [details]
Testcase rendered by pdftocairo -png -r 300 -cropbox test.pdf
Comment 4 Milan Plzik 2012-02-08 10:27:27 UTC
Created attachment 56763 [details]
Testcase rendered by pdftoppm -png -r 300 -cropbox
Comment 5 Albert Astals Cid 2012-02-08 10:48:20 UTC
Moving to cairo renderer then

Thought it works for me in the cairo renderer, maybe some cairo library issue?
Comment 6 aatdark 2012-05-02 15:05:05 UTC
i created a more minimal LaTeX example with just 2 arrows. Both arrows are created the same the only difference:

the first (broken) arrow points toward up,right
the other arrow points toward down,right

so it depends on the direction of the arrow!

Xpdf,okular both render them correctly

Evince 3.2.1
Comment 7 aatdark 2012-05-02 15:06:04 UTC
Created attachment 60940 [details]
Minimal TestCase

minimal testcase, only 2 arrows. Both should have an tip. Only one has.
Comment 8 aatdark 2012-05-02 15:07:14 UTC
Created attachment 60941 [details]
Minimal TestCase LaTeX-Source
Comment 9 GitLab Migration User 2018-08-20 21:58:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/140.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.