[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kword
From:       David Faure <faure () kde ! org>
Date:       2006-11-21 19:29:31
Message-ID: 1164137371.014113.26223.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 606783 by dfaure:

forwardport fix for OOo not loading our fonts properly


 M  +3 -0      KWDocument.cpp  


--- trunk/koffice/kword/KWDocument.cpp #606782:606783
@@ -3064,6 +3064,9 @@
     KoStoreDevice stylesDev( store );
     KoXmlWriter* stylesWriter = createOasisXmlWriter( &stylesDev, "office:document-styles" );
 
+    // Yeah we need to save the same font faces in both content.xml and styles.xml...
+    savingContext.writeFontFaces( *stylesWriter );
+
     stylesWriter->startElement( "office:styles" );
 
     if ( saveFlag == SaveAll )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic