-
Jehan authored
- Fonctions were renamed: s/gimp_text_fontname/gimp_text_font/ and s/gimp_text_get_extents_fontname/gimp_text_get_extents_font/ - The size_type arguments were removed. Even in 2.10, this argument was marked as "dead" and ignored. It was only kept for API compatibility. - The font name (string) was replaced by a GimpFont argument. gimp_text_font() is easily tested in the Python console with: > Gimp.text_font(Gimp.list_images()[0], None, 10, 40, "Hello World!", 1.0, True, 100, Gimp.context_get_font()) And gimp_text_get_extents_font() with: > Gimp.text_get_extents_font("Hello World!", 100, Gimp.context_get_font())