Fix of issue 2790 for nonlatin-1 letters.
svn: r12328
This commit is contained in:
parent
c2db8cf1fb
commit
d48d1122f3
@ -416,7 +416,7 @@ class GVPsDoc(GVDocBase):
|
|||||||
dotfile.close()
|
dotfile.close()
|
||||||
|
|
||||||
# Generate the PS file.
|
# Generate the PS file.
|
||||||
os.system( 'dot -Tps2 -o"%s" "%s"' % (self._filename, tmp_dot) )
|
os.system( 'dot -Tps:cairo -o"%s" "%s"' % (self._filename, tmp_dot) )
|
||||||
|
|
||||||
# Delete the temporary dot file
|
# Delete the temporary dot file
|
||||||
os.remove(tmp_dot)
|
os.remove(tmp_dot)
|
||||||
@ -743,7 +743,7 @@ class GVPdfGsDoc(GVDocBase):
|
|||||||
os.close( handle )
|
os.close( handle )
|
||||||
|
|
||||||
# Generate PostScript using dot
|
# Generate PostScript using dot
|
||||||
command = 'dot -Tps -o"%s" "%s"' % ( tmp_ps, tmp_dot )
|
command = 'dot -Tps:cairo -o"%s" "%s"' % ( tmp_ps, tmp_dot )
|
||||||
os.system(command)
|
os.system(command)
|
||||||
|
|
||||||
# Add .5 to remove rounding errors.
|
# Add .5 to remove rounding errors.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user