-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111681/#review37994
-----------------------------------------------------------


To be honest i'm a bit confused by all the different patches trying to fix the 
same thing, there's this one, the other one that tries to use kcolorscheme, the 
other one that tries to let the user choose.

And what I don't understand is why we need these patches. I would understand 
that if an epub sets the background color it will also set the text color (so 
all is fine, none of "our" colors is used) and if no color is set, i would 
undertand that the color scheme by the user provides acceptable colors.

So where is the problem?

- Albert Astals Cid


On July 25, 2013, noon, Christoph Feck wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111681/
> -----------------------------------------------------------
> 
> (Updated July 25, 2013, noon)
> 
> 
> Review request for Okular and Albert Astals Cid.
> 
> 
> Description
> -------
> 
> As indicated in bug 322547, some documents do not specify a text color, and 
> probably assume the default text color to be black. QTextDocument, however, 
> defaults to using the system text color.
> 
> This patch changes the default text color to Qt::black. It should affect 
> epub, fb2, odt, and plain text generators.
> 
> I think it is better to use this approach instead of changing the paper color 
> to use the system background color (see bug 253583), because
> 
> 1) the document might specify a text color in some places,
> 
> 2) the user is able to change the fg/bg colors anyway using Okular's 
> Accessibility options, and those probably expect black on white.
> 
> 
> This addresses bugs 253583 and 322547.
>     http://bugs.kde.org/show_bug.cgi?id=253583
>     http://bugs.kde.org/show_bug.cgi?id=322547
> 
> 
> Diffs
> -----
> 
>   core/textdocumentgenerator.cpp b260b3f 
> 
> Diff: http://git.reviewboard.kde.org/r/111681/diff/
> 
> 
> Testing
> -------
> 
> I tested the document from bug 322547 comment #3.
> 
> 
> Thanks,
> 
> Christoph Feck
> 
>

_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to