diff options
author | David Tardon <dtardon@redhat.com> | 2015-01-05 18:41:14 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-01-05 18:59:08 +0100 |
commit | 2862ef7e65e4994ff3cf173a36ec59b47445455e (patch) | |
tree | 597280ccace84da393fc8bb89a8df91a715fc459 /xmloff/source/style/XMLFontAutoStylePool.cxx | |
parent | 0a0496858905622374f9880b21b35ac1943c7a19 (diff) |
export format of embedded font too
Change-Id: Ife7dbb298861a71987501f3847d3b931c7e83715
Diffstat (limited to 'xmloff/source/style/XMLFontAutoStylePool.cxx')
-rw-r--r-- | xmloff/source/style/XMLFontAutoStylePool.cxx | 4 |
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 ); } } } |