mirror of https://github.com/GNOME/gimp.git
Bug 774383 - Text layer created by gimp-text-fontname doesn't...
...respect border when resized gimp_text_layout_new(): in FIXED box mode, subtract (2 * border) when setting the layout width.
This commit is contained in:
parent
cc12c3a0d7
commit
1415a78fa1
|
@ -171,7 +171,8 @@ gimp_text_layout_new (GimpText *text,
|
|||
pango_units_from_double
|
||||
(gimp_units_to_pixels (text->box_width,
|
||||
text->box_unit,
|
||||
xres)));
|
||||
xres) -
|
||||
2 * layout->text->border));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue