Gimp/app/text
Jehan 21a329dae6 app: nearly all GimpFont object now have an associated file.
(except from the aliases "Sans-serif", "Serif" and "Monospace")

The code to get the file path was inspired by code in MR !1011 by Idriss Fekir.

My initial idea was to use FcFreeTypeQueryAll() when adding each font
individually through FcConfigAppFontAddFile() but we were only doing this for
our additional directories (not the system ones) and also before we actually
loaded all the fonts through FontConfig. So this would have required more work
to get right. Though it also means that now the ! USE_FONTCONFIG_DIRECTLY code
path is more broken than ever (as we consider this path information quite
important for plug-ins now).

Additionally to make this work, I got rid of the code making all GimpFont
objects internal data by default, which is nonsense to begin with. Fonts are not
writable by GIMP, sure, yet they are external to GIMP and loaded from a file!

This will be important for an upcoming commit (which is currently in a branch
related to issues #50 and #9250), where we want to implement GimpResource
storage as plug-in settings, because fonts were the only GimpData without a file
and we are using this information to generate a collection identifier.
2023-07-25 23:10:29 +02:00
..
gimpfont.c app: nearly all GimpFont object now have an associated file. 2023-07-25 23:10:29 +02:00
gimpfont.h Implement support for custom fonts 2023-07-25 21:16:04 +02:00
gimpfontfactory.c app: nearly all GimpFont object now have an associated file. 2023-07-25 23:10:29 +02:00
gimpfontfactory.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptext-compat.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptext-compat.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptext-parasite.c text: Add outline options to text editor 2022-10-12 22:00:40 +00:00
gimptext-parasite.h text: Add outline options to text editor 2022-10-12 22:00:40 +00:00
gimptext-vectors.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02: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 core: Add color/pattern only fill options 2023-06-24 19:42:58 +00:00
gimptext.h core: Add color/pattern only fill options 2023-06-24 19:42:58 +00: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 text: Add outline options to text editor 2022-10-12 22:00: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 core: Add color/pattern only fill options 2023-06-24 19:42:58 +00:00
gimptextlayer.h Fixed that anchor position of text is shifted when text direction is changed. 2018-08-02 10:29:54 +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 Issue #2509: Adding support for 'locl' in Text Tool 2022-03-09 17:53:19 +00:00
gimptextlayout.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02: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