Hi Kay,

Kay Schenk schrieb:
On Mon, Oct 27, 2014 at 8:27 AM, Regina Henschel <rb.hensc...@t-online.de>
wrote:

Hi Kay,

Kay Schenk schrieb:


Hi Regina --

I saw that you had already made some changes yesterday  re i118191

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

I have not investigated color renderings in AOO at all in terms of values,
but my first thought is we should be consistent across modules on how this
is done. RGB vs HTML?


I have compared Calc to StarMath to HTML in the attachments. There is
currently no consistence between Calc and Math.

Kind regards
Regina


Thanks for your research. I started thinking maybe making these consistent
across all modules (really I have not looked into this yet), would be a
good "easy" fix for a new volunteer. What do you think?

For module Math it is too late to make it an "easy" fix, because the fix is finished, beside the question, what color to use. When I started I had no idea how easy or hard it would be.

For Calc I have looked around, but could not find the place yet. So if someone can provide a pointer, then it might work. But I'm not sure because localization is involved.

Back to the question, which color to use:
Foreign (not OpenOffice or LibreOffice) .odf documents will use the html-color-names and those names are standardized. So for that names I think, there is no choice, we have to render them as they are defined in the standard. Do you agree?

So the color name "red" will be #ff0000 in Math as it is already in Calc, and the color name "blue" will be #0000ff in Math as it is already in Calc. That gives a more consistent use and solves issue i118191. But old documents will be rendered different.

The color name green in Math has the same rendering as green in html, so that can stay. For Calc it can be solved, when the color name "lime" is allowed too and mapped to the light green and "green" to the dark green. Color names are not stored in the Calc files and therefore old documents are not affected.

The question is, what to do with names "cyan" and "magenta"? These names do not belong to the standard. So we can decide, which color OpenOffice renders and which color it writes to the file. If Math will use them the same way as Calc, then "cyan" has to be rendered same as "aqua" and "magenta" same as "fuchsia". OpenOffice writes currently "aqua" and "fuchsia" to the MathML part of the file already. That would make the names consistent between Math and Calc and between rendering via StarMath and rendering via pure MathML. But old documents would be rendered different. Shall I change the rendering of "cyan" and "magenta" to the light colors too?

Kind regards
Regina





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to