On Fri, 2011-02-11 at 17:35 +0100, Miklos Vajna wrote:
Hi,
This commit in master:
http://cgit.freedesktop.org/libreoffice/writer/commit/?id=a37fae128b4badc8f9f2201e28dca3e08948ddec
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=33653
Could someone familiar with that code (Cedric, Caolan?) sign it off and
cherry-pick, please?
Done for 3-3, not for 3-3-1 though, that needs more acks.
Background for other readers is that in the binary filters we can write
the font table *after* we have traversed all the text. For a Word 6/Word
95 document we can then convert out-of-ascii range unicode to whatever
8bit msXXXX encoding they fit into and add a font to the font table and
mark it as using that encoding in order to munge out-of-range unicode
into these 8bit only formats.
For rtf however if we wanted to do that, in order to use 8bit encodings
for text we'd need to either parse the document twice, or write to
document body some temp file and stick the font header on afterwards. Or
forget about it and just use the rtf unicode encoding mechanisms.
In master the method now also has a sane name of
"DestFileFormatSupportsUnicode" or something like that.
C.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.