Commit 00bbeaba authored by Adam Fontenot's avatar Adam Fontenot Committed by Jehan

Issue #6210: Subpixel font rendering system settings should only…

… apply to GIMP GUI not text layer rendering in image.

Reviewer note: this is the theoretical fix, but it won't work right now
because Cairo explicitly bypasses grayscale antialiasing when system set
subpixel one. Still let's push this first patch, but the issue will be
actually fixed when Cairo will merge my MR too:
https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/114
parent 1873f0d6
Pipeline #248351 passed with stages
in 73 minutes and 1 second
......@@ -701,7 +701,7 @@ gimp_text_get_font_options (GimpText *text)
cairo_font_options_t *options = cairo_font_options_create ();
cairo_font_options_set_antialias (options, (text->antialias ?
CAIRO_ANTIALIAS_DEFAULT :
CAIRO_ANTIALIAS_GRAY :
CAIRO_ANTIALIAS_NONE));
switch (text->hint_style)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment