OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [office] Re: [xml-dev] A few questions about the file format.

On Friday 15 August 2003 13:48, Michael Brauer wrote:
> However, the CSS2/SVG font-face declaration has the same purpose but 
> offers more powerfull font description. So I suggest we adopt it and 
> leave the "style:font-style-name" in the specification only for 
> compatibility reasons.
OK, thanks.

> > Seems very difficult for another application to implement this, if the choice
> > of the color (depending on the bg color) isn't better specified. I suggest that
> > the actual algorithm to determine the text color from the bg color be part
> > of the file format documentation...
> The style:use-window-font-color specifies that the document window's 
> text color should be used. It can be specified either by the operating 
> system or the office application, but it is not document specific and 
> can vary from system to system. Since this can result in unreadable 
> documents if the font and the background color both are very dark or 
> very light, black is used on very light background colors and dark on 
> very bright colors. Ony may include the actual algorithm for this, but 
> I'm not sure whether this is realy required, because there will be no 
> guarentee that a certain color is used anyway, and whatever color is 
> used, it is correct.

Ah, I see. Only information I'm missing: when printing, which color will
be used? Will that be always black?

What about the background color? Can it come from the system palette too?
(If not, then this is a feature I would like to see in the OASIS format).

David FAURE, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]