Bug 45798 - Poppler doesn't render some (tikz/pgf-made) arrows while xpdf does
Summary: Poppler doesn't render some (tikz/pgf-made) arrows while xpdf does
Status: NEW
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 10:09 UTC by Milan Plzik
Modified: 2012-05-02 15:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
PDF file to reproduce the problem (16.05 KB, application/x-download)
2012-02-08 10:09 UTC, Milan Plzik
Details
LaTeX source file of the testcase. (742 bytes, application/x-tex)
2012-02-08 10:11 UTC, Milan Plzik
Details
Testcase rendered by pdftocairo -png -r 300 -cropbox test.pdf (49.08 KB, image/png)
2012-02-08 10:24 UTC, Milan Plzik
Details
Testcase rendered by pdftoppm -png -r 300 -cropbox (42.72 KB, image/x-portable-pixmap)
2012-02-08 10:27 UTC, Milan Plzik
Details
Minimal TestCase (8.26 KB, application/x-octet-stream)
2012-05-02 15:06 UTC, aatdark
Details
Minimal TestCase LaTeX-Source (191 bytes, application/x-tex)
2012-05-02 15:07 UTC, aatdark
Details

Note You need to log in before you can comment on or make changes to this bug.
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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.