SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
graphics/gimp/stable/patches/patch-app_text_gimptextlayout_c
Normal file
13
graphics/gimp/stable/patches/patch-app_text_gimptextlayout_c
Normal 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) ||
|
Loading…
Add table
Add a link
Reference in a new issue