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 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0000889: Dot produces bad spacing for hyphens in PS output
Description
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 a1.dot file produced two different outputs
(unless I made some mistake). For example, \<A HREF=b703a.ps\>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.
AUXILLARY-FILEShttp://www.graphviz.org/bugs/b703a.ps [^]
DATE-FIXED
FIX-COMMENT
FORMER-ID703
INPUT-FILEhttp://www.graphviz.org/bugs/b703.dot [^]
OUTPUT-FILEhttp://www.graphviz.org/bugs/b703.ps [^]
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