https://bugs.documentfoundation.org/show_bug.cgi?id=158225

--- Comment #6 from osnola <[email protected]> ---
I've applied a hacked patch to the libmwaw sources but I have to rewrite the
code differently  ( like this, it's unreadable).

---------------- patch --------------------------
diff --git a/src/lib/MWAWFontConverter.cxx b/src/lib/MWAWFontConverter.cxx
index 6f9c7da..33ff37e 100644
--- a/src/lib/MWAWFontConverter.cxx
+++ b/src/lib/MWAWFontConverter.cxx
@@ -1276,7 +1276,8 @@ MWAWFontConverter::~MWAWFontConverter()
 // mac font name <-> id functions
 std::string MWAWFontConverter::getValidName(std::string const &name)
 {
-  std::string fName("");
+  if (name=="\x8b\xe0\xf2\xe8\xed\xf1\xea\xe8\xe9") return "Times CY";
+  std::string fName;
   static bool first = true;
   for (auto c : name) {

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to