[Dot] missing some characters in record's label
Ported Issue from Mantis Original ID: 2444 Reported By: znz
SEVERITY: NORMAL Submitted: 2014-04-25 08:31:14
OS: OS X
OS BUILD: 10.9.2
PLATFORM: X86_64
DESCRIPTION
When label starts with some Japanese characters in record, they are not in output.
STEPS TO REPRODUCE
% cat a.dot
graph {
WAP [shape=record; label="無線LAN"];
}
% dot -Tsvg a.dot -o a.svg
% dot -V
dot - graphviz version 2.36.0 (20140111.2315)
% grep LAN a.svg
<text text-anchor="middle" x="36" y="-19.21" font-family="Times,serif" font-size="14.00">無線LAN</text>
# brew upgrade graphviz
% dot -V
dot - graphviz version 2.38.0 (20140413.2041)
% dot -Tsvg a.dot -o a.svg
% grep LAN a.svg
<text text-anchor="middle" x="26.8862" y="-14.3" font-family="Times,serif" font-size="14.00">LAN</text>
% cat b.dot
graph {
WAP [shape=record; label=" 無線LAN"];
}
% dot -Tsvg b.dot -o b.svg
% grep LAN b.svg
<text text-anchor="middle" x="36.3862" y="-18.71" font-family="Times,serif" font-size="14.00">無線LAN</text>
ADDITIONAL INFORMATION
I installed graphviz (graphviz-2.38.0.mavericks.bottle.tar.gz) using homebrew.