Changing Color::IsDark() to match MS Word

Luke Deller luke at deller.id.au
Fri Mar 8 06:54:12 PST 2013


Hi,

I have now submitted a patch for this:
https://gerrit.libreoffice.org/2601

(BTW it seems to take a while for my emails to get through due to the 
need for moderation - is that normal or am I doing something wrong to 
trigger that?)

Regards,
Luke.

On 08/03/13 16:55, Luke Deller wrote:
> I am a bit shy of proposing a change to core LibreOffice code to fix
> a doc/docx compatibility issue, so want to ask for opinions here.
>
> fdo#61993 "doc/docx auto font color inverted in LibreOffice"
>
> Do you think it is the right solution to change Color::IsDark()
> in tools/source/generic/color.cxx to match what Microsoft Word does?
>
> Neither the OpenDocument spec nor the Office Open XML spec define
> what background colour should be considered "dark", leaving it up to the
> implementation.
>
> OpenDocument v1.2 section 20.385:
> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1420234_253892949



More information about the LibreOffice mailing list