gimp/app/text
Jehan e992ca3e51 app, libgimp, pdb, plug-ins: GimpText* using GeglColor.
One of the big improvement in this commit is that text layers are now much
better at space accuracy. They were already space-aware, yet rendered as sRGB u8
only before being converted to the image's space. It means that text layers had
the following limitations:

* Any color out of sRGB gamut were trimmed.
* Precision was always 8-bit (even if the image was high-bit depth).

Now GimpTextLayout keeps track of its source space (for RGB and CMYK only, this
won't be as easy when we will support more backend, since Cairo has only RGB
support for image data) and the image TRC (in case it bypasses the color space's
TRB) and it draws within this gamut and space.
It means first that we are not limited to sRGB colors; we will draw text main
color in the full image gamut, with still 2 remaining limitations:

* Unbounded colors are impossible because Pango format (to color text) uses
  hexadecimal (so even with half/float images, you can't draw out-of-gamut text
  unfortunately).
* Main color precision is still 8-bit, yet a tiny bit better than before as we
  at least follow TRC (so we avoid some of the precision loss when converting,
  even though the bit-depth is still the biggest loss).

The outline color on the other hand is drawn through Cairo API entirely, in
float. This means that the outline color will now be without any precision loss.

Note that this depends on CAIRO_FORMAT_RGBA128F which is only available since
Cairo 1.17.2 which is not in Debian bookworm (our current baseline for GIMP
3.0). It means that the old precision will still happen with older Cairo
version, as determined by #if code at compilation.
2024-02-11 23:28:02 +01:00
..
gimpfont.c Fix bug when font is from a .ttc file 2023-10-27 15:48:58 +00:00
gimpfont.h Serialize GimpFont and fix loading older xcf files 2023-09-12 14:23:40 +00:00
gimpfontfactory.c Fix fonts when exporting to pdf 2023-12-08 11:09:22 +00:00
gimpfontfactory.h Fix fonts when exporting to pdf 2023-12-08 11:09:22 +00:00
gimptext-compat.c app, libgimp*, pdb, plug-ins: GimpContext is now using only GeglColor. 2024-02-11 23:28:02 +01:00
gimptext-compat.h Issue #9987: text related functions crash using string for font name. 2023-10-02 20:49:53 +02:00
gimptext-parasite.c app: fix a few bug in text markup (de)serialization. 2023-09-12 14:23:40 +00:00
gimptext-parasite.h app: new storage format for the text layer parasite implies XCF version bump. 2023-09-12 14:23:40 +00:00
gimptext-vectors.c app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimptext-vectors.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptext-xlfd.c Use g_strlcpy() instead of strncpy() everywhere 2019-08-14 23:52:38 +02:00
gimptext-xlfd.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptext.c app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimptext.h app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimptextlayer-transform.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptextlayer-transform.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptextlayer-xcf.c app: new storage format for the text layer parasite implies XCF version bump. 2023-09-12 14:23:40 +00:00
gimptextlayer-xcf.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptextlayer.c app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimptextlayer.h app: new storage format for the text layer parasite implies XCF version bump. 2023-09-12 14:23:40 +00:00
gimptextlayout-render.c MR !19: Add support for vertical text writing. 2018-07-30 19:14:49 +02:00
gimptextlayout-render.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptextlayout.c app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimptextlayout.h app, libgimp, pdb, plug-ins: GimpText* using GeglColor. 2024-02-11 23:28:02 +01:00
gimptextundo.c libgimbase: merge gimpparam.h into gimpparamspecs.h 2019-07-31 10:16:21 +02:00
gimptextundo.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson.build meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00
text-enums.c text: Add outline options to text editor 2022-10-12 22:00:40 +00:00
text-enums.h text: Add outline options to text editor 2022-10-12 22:00:40 +00:00
text-types.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00