Gimp/app/text
Øyvind Kolås ee97c1f4ff app: correct usage of babl formats
GIMP was doing evil hacks lying to GEGL about it's pixels being in a linear
color space when they are not. This causes incorrect rendering, makes gaussian
blur misbehave etc.

The legacy projection modes should be implemented using the same 2.2 gamma
formats that are correct to specify for sRGB data. (for proper color
management in higher bitdepths; icc backend babl formats should be used.)

For the old image modes correct babl formats are:

R'G'B'A u8  -  8 bit RGB with 2.2 gamma (sRGB) with linear alpha component
R'G'B' u8   -  8 bit RGB with 2.2 gamma (sRGB)
Y'A u8      -  8 bit Grayscale with 2.2 gamma with linear alpha component
Y' u8       -  8 bit Grayscale with 2.2 gamma

Y u8        -  8 bit linear data, used for masks/channels
A u8        -  8 bit linear alpha

-----------------------------------------------

RGBA float  -     32bit floating point linear light RGB
RaGaBaA float  -  32bit floating point linear light RGB, premultiplied alpha
                  to be used for processing that needs to scale by the alpha,
                  (blurs, resampling etc)
R'G'B'A float  -  32bit floating point sRGB with gamma, to be used where
                  the result depends on being closer to perceptual when
                  processing, can be used a cheaper alternative to CIE Lab
                  based modes.

-----------------------------------------------

The legacy layer modes should use the formats with gamma 2.2 only for loading
and rendering legacy XCF files correctly, in the brave new world compositing
should most likely be done in linear light with "RGBA float" and even better
"RaGaBaA float" like GEGL does for porter duff and other compositing modes.

The ability to chose the legacy layer modes should probably be hidden from the
user unless an old .xcf has been opened.
2012-05-02 17:50:38 +02:00
..
.gitignore
gimp-fonts.c
gimp-fonts.h
gimpfont.c Remove GIMP_OBJECT() casts when calling gimp_object_get_name() 2009-08-31 22:47:18 +02:00
gimpfont.h
gimpfontlist.c app/text: nuke gimpfont-utils.[ch] 2011-09-19 15:44:26 +02:00
gimpfontlist.h
gimptext-compat.c app/text: nuke gimpfont-utils.[ch] 2011-09-19 15:44:26 +02:00
gimptext-compat.h
gimptext-parasite.c libgimpwidgets/color: move the cairo color utility functions to libgimpcolor 2011-04-28 15:50:39 +02:00
gimptext-parasite.h
gimptext-vectors.c app: change image parameter in gimp_text_layout_new() to xres,yres 2011-03-18 02:31:20 +01:00
gimptext-vectors.h
gimptext-xlfd.c
gimptext-xlfd.h
gimptext.c app: add gimp_gegl_buffer_get_tile_manager() 2012-05-02 17:46:07 +02:00
gimptext.h app: don't include individual files from libgimp* 2011-04-28 14:23:33 +02:00
gimptextlayer-transform.c app: don't include individual files from libgimp* 2011-04-28 14:23:33 +02:00
gimptextlayer-transform.h
gimptextlayer-xcf.c app: use a GeglBuffer instead of TileManager as storage in drawables \o/ 2012-05-02 17:46:06 +02:00
gimptextlayer-xcf.h
gimptextlayer.c app: correct usage of babl formats 2012-05-02 17:50:38 +02:00
gimptextlayer.h Port stuff to gimp_item_is_text_layer() 2010-10-05 07:39:00 +02:00
gimptextlayout-render.c app: fix publically reported layout offset for a couple of cases 2010-03-11 20:58:11 +01:00
gimptextlayout-render.h app: take the rendering direction into account when adjusting the x-offset 2010-02-21 17:47:21 +01:00
gimptextlayout.c plugged memory leaks 2012-02-07 17:32:02 +01:00
gimptextlayout.h app: change image parameter in gimp_text_layout_new() to xres,yres 2011-03-18 02:31:20 +01:00
gimptextundo.c app: implement GObject::constructed() instead of ::constructor() 2011-01-12 23:06:03 +01:00
gimptextundo.h
Makefile.am Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
text-enums.c app: register descriptions for the GimpTextBoxMode enum 2010-02-17 20:28:13 +01:00
text-enums.h app: register descriptions for the GimpTextBoxMode enum 2010-02-17 20:28:13 +01:00
text-types.h