https://bugs.freedesktop.org/show_bug.cgi?id=61993

          Priority: medium
            Bug ID: 61993
          Assignee: [email protected]
           Summary: doc/docx auto font color inverted in LibreOffice
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.0.0.3 release
         Component: Writer
           Product: LibreOffice

Created attachment 76135
  --> https://bugs.freedesktop.org/attachment.cgi?id=76135&action=edit
doc example

The text in the attached document shows as white in Word 2010, but black in
LibreOffice.

The text's colour is set to "automatic".  Both Word and LibreOffice interpret
this by setting the colour to white on a dark background, and to black on a
light background.  However they differ in what is considered to be a dark
background.  This example has a background of dark grey (#333333) which is
treated as dark by Word by not by LibreOffice.

Putting compatibility aside, Word's choice just looks better - subjectively
this background looks dark, and the white text looks clearer on it than the
black text.

I can see from LibreOffice source code that it considers the background to be
dark if its luminance is <= 38.

I checked the ECMA-376 specification (4th edition) to see if this defines how
automatic font colour should be shown for docx, but all it says is that the
consumer can "automatically determine the run color as appropriate", "for
example, in order to ensure that the run contents can be distinguished against
the page's background color" (from 17.3.2.6).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to