xmloff/source/style/XMLFontAutoStylePool.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 3006f4214e58a0617f6c6344791ab89c289f0526
Author: David Tardon <dtar...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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 );
                     }
                 }
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to