summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-01-05 18:41:14 +0100
committerDavid Tardon <dtardon@redhat.com>2015-01-05 18:59:08 +0100
commit2862ef7e65e4994ff3cf173a36ec59b47445455e (patch)
tree597280ccace84da393fc8bb89a8df91a715fc459 /xmloff
parent0a0496858905622374f9880b21b35ac1943c7a19 (diff)
export format of embedded font too
Change-Id: Ife7dbb298861a71987501f3847d3b931c7e83715
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/XMLFontAutoStylePool.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx
index c121842cbed9..813f01023c1c 100644
--- a/xmloff/source/style/XMLFontAutoStylePool.cxx
+++ b/xmloff/source/style/XMLFontAutoStylePool.cxx
@@ -311,6 +311,10 @@ void XMLFontAutoStylePool::exportXML()
GetExport().AddAttribute( XML_NAMESPACE_XLINK, XML_TYPE, "simple" );
SvXMLElementExport fontFaceUri( GetExport(), XML_NAMESPACE_SVG,
XML_FONT_FACE_URI, true, true );
+
+ GetExport().AddAttribute( XML_NAMESPACE_SVG, XML_STRING, "truetype" );
+ SvXMLElementExport fontFaceFormat( GetExport(), XML_NAMESPACE_SVG,
+ XML_FONT_FACE_FORMAT, true, true );
}
}
}