Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001081graphvizDotpublic2006-03-13 06:592011-04-28 04:03
ReporterPeer Sommerlund 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Windows-2000OS Version
Summary0001081: Danish characters not visible in postscript output
Description



Danish characters Ê (ae) Þ (o-slash) Ã¥ (a-circle) are not shown
in postscript output, but works with png/jpeg



postscript command:
dot test.dot -Tps -o test.ps



png command:
dot test.dot -Tpng -o test.png
Steps To Reproduce

graph {
    "Ã rhus" -- "SamsÞ" [label="FÊrge"]
}
Additional Information

I have recently upgraded from graphviz 1.12 where the problem was not
present.

For display of postscript file I use GhostScript 8.53 and GSview 4.8

[erg] Latin-1 input was never officially supported until recently. The fact that it
worked at all was due to luck and some badly incorrect contributed code. Around
version 2.6, we cleaned this up. As part of this work, Graphviz now accepts
Latin-1 input but you have to tell it that that is what you are using (rather
than the default UTF-8). This is done by setting the graph attribute
<CD>
    charset=Latin1
</CD>
See http://www.graphviz.org/doc/info/attrs.html#d:charset. [^]

By the way, the reason the bitmap output works without the charset attribute
is still from luck (if you had chosen some other Latin-1 characters, it wouldn't have
worked) and that the output is not text-based, so the character set plays no role.

[erg] The handling of Latin-2 characters has been fixed. The problem of the
cluster bounding box is still open.
 
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
I know almost zero about the postscript language, but comparing files
generated with the old program and the new, I see that some generic
postscript code is different:
1) The old file contains a lot of EncodingVector stuff in
the start of the file, like
FORMER-ID903
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b903.png [^]
STATUS-COMMENTFixed
VERSION     2.8
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


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