2808: fonts with xml codes don't print correctly
svn: r12525
This commit is contained in:
parent
066d39a739
commit
1031506baa
@ -1305,7 +1305,8 @@ class CairoDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc, BaseDoc.DrawDoc):
|
|||||||
#size is in thousandths of a point in pango
|
#size is in thousandths of a point in pango
|
||||||
value = str(1000 * value)
|
value = str(1000 * value)
|
||||||
|
|
||||||
return ('<span %s="%s">' % (self.STYLETAG_TO_PROPERTY[type], value),
|
return ('<span %s="%s">' % (self.STYLETAG_TO_PROPERTY[type],
|
||||||
|
self.ESCAPE_FUNC()(value)),
|
||||||
'</span>')
|
'</span>')
|
||||||
|
|
||||||
def write_note(self, text, format, style_name):
|
def write_note(self, text, format, style_name):
|
||||||
|
Loading…
Reference in New Issue
Block a user