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

List:       kde-commits
Subject:    koffice/filters/kword/rtf/export
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-09-23 16:48:19
[Download RAW message or body]

CVS commit by goutte: 

We cannot declare the font with \fcharset0, as it may be non-CP1252
(See also AbiWord Bug #5656)


  M +3 -3      ExportFilter.cc   2.88


--- koffice/filters/kword/rtf/export/ExportFilter.cc  #2.87:2.88
@@ -797,5 +797,5 @@ void RTFWorker::writeFontData(void)
 #endif
         // ### TODO: check if QFontInfo::fixedPitch is really working
-        *m_streamOut << "\\fcharset0\\fprq" << (info.fixedPitch()?1:2) << " "; // \
font definition +        *m_streamOut << "\\fprq" << (info.fixedPitch()?1:2) << " "; \
                // font definition
         *m_streamOut << escapeRtfText(info.family()); // ### TODO: does RTF allows \
                brackets in the font names?
         *m_streamOut <<  ";}" << m_eol; // end font table entry


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

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