2808: fonts with xml codes don't print correctly
svn: r12524
This commit is contained in:
parent
505ec7440c
commit
5386daf355
@ -1302,7 +1302,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…
x
Reference in New Issue
Block a user