[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - xmloff/source
David Tardon
dtardon at redhat.com
Tue Jan 6 09:04:21 PST 2015
xmloff/source/style/XMLFontAutoStylePool.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 3006f4214e58a0617f6c6344791ab89c289f0526
Author: David Tardon <dtardon at redhat.com>
Date: Mon Jan 5 18:41:14 2015 +0100
export format of embedded font too
Change-Id: Ife7dbb298861a71987501f3847d3b931c7e83715
(cherry picked from commit 2862ef7e65e4994ff3cf173a36ec59b47445455e)
Reviewed-on: https://gerrit.libreoffice.org/13752
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx
index 4800c05..7c86e29 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 );
}
}
}
More information about the Libreoffice-commits
mailing list