Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002538graphvizOutput Generationpublic2015-04-08 15:062015-04-09 04:02
Assigned To 
PlatformLinuxOSopenSUSEOS Version13.2
Summary0002538: Imposible to create multipage PS/PDF with unicode support from GraphViz DOT file
DescriptionSeveral years ago it was possible to create multipage PS/PDF files with unicode support.

Now it is impossible or I can no longer found a solution...
Steps To ReproduceTry

> dot -O -Tps rel_graph-2p.gv
Warning: UTF-8 input uses non-Latin1 characters which cannot be handled by this PostScript driver
- Result is two-page PS file, but with distorted characters!

> dot -O -Tps:cairo rel_graph-2p.gv
- Result is only ONE-page PS file, but with good characters!
Additional InformationNow I have:

Graphviz 2.38
GhostScript 9.15
cairo 1.14

Last known good konfiguration was in about 2008-2009 years in openSUSE Linux 11.1 version with:

cairo 1.8.0

More details: [^]
TagsNo tags attached.
Attached Files? file icon rel_graph-2p.gv (Attachment missing)
pdf file icon rel_graph-2-gs-GOOD.pdf (Attachment missing)
pdf file icon rel_graph-2p-gv-BAD-ENCODING.pdf (Attachment missing)
pdf file icon rel_graph-2p-gv-cairo-BAD-number-of-PAGES.pdf (Attachment missing)
? file icon (Attachment missing)
? file icon (Attachment missing)

- Relationships

-  Notes
User avatar (0000923)
north (administrator)
2015-04-08 20:27

Looks Ok in Mac OSX to me. Wonder what is wrong. I don't understand "distorted characters" but the driver is clearly giving a warning. I don't think the problem with -Tps:ps:core is graphviz related; it may depend on what viewer is being used and what fonts it can find.

It's not clear to me if pagination is "supposed" to work in the cairopango based driver. Maybe John Ellson can illuminate this topic.

Sorry for the troubles. Fonts have always been a moving target for us.
User avatar (0000924)
embar (reporter)
2015-04-09 00:47

Example of GOOD output: [^]
It is generated inside old openSUSE 11.1 version, that I was installed in 2013 years for this purpose.
User avatar (0000925)
embar (reporter)
2015-04-09 01:12
edited on: 2015-04-09 01:12

BAD examples:

PS [^]
PDF [^]
is with wrong unicode displaying:
First word shown as "Å iaukÄ ̇liÅ«tÄ ̇, MÄ ̄slÄ ̇" instead of "Šiaukėliūtė, Mįslė"

PS [^]
PDF [^]
contains only one page instead of two.

User avatar (0000926)
embar (reporter)
2015-04-09 03:08

See related topics: [^] [^] [^]
User avatar (0000927)
embar (reporter)
2015-04-09 04:01
edited on: 2015-04-12 03:17

> dot -O -Tps:lasi /tmp/rel_graph-2p.gv
Format: "ps:lasi" not recognized. Use one of: ps:ps:core ps:cairo:cairo

Installing package libLASi1 (Library to write UTF-8 strings to Postscript stream) did not helped. My Graphviz maybe compiled without lasi support...

After recompiling Graphviz, I finally can produce multipage PDF with unicode by

dot -O -Tps:lasi

So you can close this bug

- Issue History
Date Modified Username Field Change
2015-04-08 15:06 embar New Issue
2015-04-08 15:06 embar File Added: rel_graph-2p.gv
2015-04-08 20:27 north Note Added: 0000923
2015-04-09 00:44 embar File Added: rel_graph-2-gs-GOOD.pdf
2015-04-09 00:47 embar Note Added: 0000924
2015-04-09 00:56 embar File Added: rel_graph-2p-gv-BAD-ENCODING.pdf
2015-04-09 00:57 embar File Added: rel_graph-2p-gv-cairo-BAD-number-of-PAGES.pdf
2015-04-09 01:04 embar File Added:
2015-04-09 01:10 embar File Added:
2015-04-09 01:12 embar Note Added: 0000925
2015-04-09 01:12 embar Note Edited: 0000925 View Revisions
2015-04-09 03:08 embar Note Added: 0000926
2015-04-09 04:01 embar Note Added: 0000927
2015-04-09 04:02 embar Note Added: 0000928
2015-04-12 03:12 embar Note Deleted: 0000928
2015-04-12 03:17 embar Note Edited: 0000927 View Revisions

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker