SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,13 @@
See https://gitlab.gnome.org/GNOME/gimp/-/issues/325
Index: app/text/gimptextlayout.c
--- app/text/gimptextlayout.c.orig
+++ app/text/gimptextlayout.c
@@ -655,7 +655,7 @@ gimp_text_layout_position (GimpTextLayout *layout)
GimpTextDirection base_dir = layout->text->base_dir;
gint width;
- pango_layout_get_pixel_size (layout->layout, &width, NULL);
+ width = layout->extents.width;
if ((base_dir == GIMP_TEXT_DIRECTION_LTR && align == PANGO_ALIGN_RIGHT) ||
(base_dir == GIMP_TEXT_DIRECTION_RTL && align == PANGO_ALIGN_LEFT) ||