Summary: | Lists and some headers load wrong (list and headers correct now but font-color in table is not cause we don't handle automatic font-colors) | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Edney Matias <edneymatias> |
Component: | opendocument | Assignee: | Sebastian Sauer <sebsauer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | |
Priority: | NOR | ||
Version: | 1.9.8 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
ODT File
ODT-document that shows the automatic foreground problem |
Description
David Faure
2010-12-16 00:29:44 UTC
Lists are loading correct with calligra words. But at page #2 the text in the table-header with black background color has wrong text-color (black too rather then white). Fixed with commit f1b137d01c8c09ad0bbf67bec19dbc17d3f3f09f . Still the wrong report, reopen. Guess I need more cofffeeee :) The problem is, that we are defining a wrong default font-color if not font-color was defined explicit. In ODF if no font-color was defined then we need to take the background-color into account and either use a black or a white font-color if the background-color is dark or bright. Created attachment 57160 [details]
ODT-document that shows the automatic foreground problem
Git commit 4102d598792bb66c5e11e3a2cb5e27a071714f01 by C. Boemann. Committed on 13/11/2011 at 21:16. Pushed by boemann into branch 'master'. More work on the auto color. It should work now - famous last words.. BUG:260101 BUG:260075 M +18 -9 libs/kotext/styles/KoCharacterStyle.cpp M +1 -1 libs/textlayout/KoTextDocumentLayout.h M +13 -12 libs/textlayout/KoTextLayoutArea_paint.cpp M +2 -2 libs/textlayout/KoTextLayoutTableArea.cpp http://commits.kde.org/calligra/4102d598792bb66c5e11e3a2cb5e27a071714f01 |