Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000889graphvizDotpublic2005-05-04 12:132011-04-28 04:03
ReporterFederico Prat 
Assigned Toerg 
PlatformOS*-*-OS Version
Summary0000889: Dot produces bad spacing for hyphens in PS output
Dot produces bad spacing for hyphens in PS output if accents are present

Without the accented character or with monospace font, the output is okay.

Additional Information

As shown in attached TGZ, bad spacing seems to happen when an
accented char is present, just in PS output (not for JPEG, for
instance) with Times or Arial font (not for a monospace one like
Courier). Moreover, behaviour seems unstable: the same command
applied to the same file produced two different outputs
(unless I made some mistake). For example, \<A\>here\</A\>
is the output of another run.

[erg] The very strange behavior is due to using Latin1 input. The newer
version of graphviz explicitly supports Latin1 with the charset attribute.
The bad spacing comes from the postscript code switching to the Latin1
encoding, which also remaps 45 from hyphen to minus, the latter being a
lot wider. It's not clear where the actual problem is here, since libgd
should be using Unicode 45 and the same font. For now, we fix this by
resetting 45 to map to hyphen.
TagsNo tags attached.
STATUS-COMMENTFixed (4 May 2005)
VERSION     2.2.1
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 => erg

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