[Openicc] Suggested update to "ICC Profiles in X Specification 0.4"

Graeme Gill graeme at argyllcms.com
Wed Nov 16 20:40:59 UTC 2016


Kai-Uwe Behrmann wrote:

Hi,

> Looking at the Oyranos X11 module, it appears that screens are a corner
> case and not well supported. ICC_PROFILE counting is related to Xinerama
> and if that's not available then XRandR numbering of the active outputs.
> Your reference to Screen might irritate the few existing multi monitor
> aware applications and color servers ;-) It is a one _or_ the other
> thing. And that should be clear in the spec IMO.

The 0.2 spec. clearly indicates Screen should be the index. If 0.3 and
0.4 now specify something else, then these are not backwards compatible
standards!

I've also no idea how you determine the Xinerama Screen order for
an XRANDR based system (the XRANDR API doesn't mention Xinerama).

> I even read often:
>   int screen = DefaultScreen( display );
> ..., which suggests that a separate Screen is no supported.
> 
> The _ICC_PROFILE_0 name is ot clear to me. Suggestion

By definition there is no _ICC_PROFILE_0 name since it
is the first Screen, and the first screen uses the atom
_ICC_PROFILE.

> - xxx is the X11 Screen index, starting at 0
> + The Monitor index starts at 0. xxx is the X11 Monitor index. (The
> + second monitor should be set to xxx=1.)

As far as I can tell there is no definition of Monitor that is applicable
to X11, Xinerama or XRANDR < V1.5, so this doesn't make any sense to me.

Graeme.


More information about the openicc mailing list