Re: Gamma, AA and Fonts

Billy Biggs <[email protected]>
Newsgroups gmane.comp.xfree86.render
Message-ID <[email protected]>
  Hi Simon,

  I posted a patch to this list for gamma correct compositing:

  http://www.xfree86.org/pipermail/render/2001-December/001502.html

  Unfortunately, I haven't had time to try it myself.  I was hoping
someone like you would have more time than myself. :)

> I browsed through several discussions of this topic on this list, but
> AFAIK there is generally seen no need to apply gamma correction to
> antialiased fonts.

  I think it's generally understood that any time you interpolate colour
you must take gamma into account.

> AFAIK there is no way to get a display's gamma from X (which could be
> known through configfile or maybe DDC), which IMHO is a design flaw.
> Microsoft made the sRGB standard which provides a default of
> gamma=2.2; things are a little more complicated anyway, but a loose
> match is ok for antialiasing issues.

  The standard gamma of 2.2 is pretty prevalent.  I was told that the
gamma returned by most monitors isn't correct anyway.  I agree that X
should provide some way of querying a global display gamma value so we
can use it for image processing (and compositing).

  Yes, I do intend to do more research on doing a proper patch etc, but
school has been alot of work this term.  Next month should be better.

-- 
Billy Biggs
[email protected]
_______________________________________________
Render mailing list
[email protected]
http://XFree86.Org/mailman/listinfo/render
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.