Bug 581338 - Layer size does not change using the pdb 'gimp-text-layer-resize'
Fix the fix: use box-unit, not unit, for the box extents.
This commit is contained in:
@ -1112,10 +1112,10 @@ text_layer_resize_invoker (GimpProcedure *procedure,
|
||||
_("Set text layer attribute"),
|
||||
"box-mode", GIMP_TEXT_BOX_FIXED,
|
||||
"box-width", gimp_pixels_to_units (width,
|
||||
text->unit,
|
||||
text->box_unit,
|
||||
xres),
|
||||
"box-height", gimp_pixels_to_units (height,
|
||||
text->unit,
|
||||
text->box_unit,
|
||||
yres),
|
||||
NULL);
|
||||
}
|
||||
|
@ -1185,10 +1185,10 @@ HELP
|
||||
_("Set text layer attribute"),
|
||||
"box-mode", GIMP_TEXT_BOX_FIXED,
|
||||
"box-width", gimp_pixels_to_units (width,
|
||||
text->unit,
|
||||
text->box_unit,
|
||||
xres),
|
||||
"box-height", gimp_pixels_to_units (height,
|
||||
text->unit,
|
||||
text->box_unit,
|
||||
yres),
|
||||
NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user