https://issues.apache.org/ooo/show_bug.cgi?id=124134

            Bug ID: 124134
        Issue Type: DEFECT
           Summary: Wrong fontnames when importing docs on a bigendian
                    system
           Product: Writer
           Version: 3.4.1
          Hardware: All
                OS: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: formatting
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 82417
  --> https://issues.apache.org/ooo/attachment.cgi?id=82417&action=edit
fixes the fontname problem on bigendian-systems

Hello everybody

I recently wrote an email to the mailinglist because of an error when reading
doc files. The mail can be found on:

http://markmail.org/thread/7vytc465pi4wqhok

In the meantime I was able to fix the bug. The bug only appears on bigendian
systems (I'm running solaris/sparc). The problem was that the length of the
fontname was wrong detected because someone accidentally compared sizeof() with
length(). The result was that only fontnames with a shorter name than 12
characters was read correctly. Beside the fix I also added some comments to
make it more clear what the code is doing. The patch can be applied for free :)

Wishes Matthieu Riolo

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to