mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 01:13:24 +00:00
Merge branch 'text_layout_matrix_transform_bug' into 'master'
gimptextlayout-render.c: Don't apply matrix transformtion Closes #1028 See merge request GNOME/gimp!1377
This commit is contained in:
commit
19e2901ca9
1 changed files with 5 additions and 2 deletions
|
@ -47,8 +47,11 @@ gimp_text_layout_render (GimpTextLayout *layout,
|
|||
gimp_text_layout_get_offsets (layout, &x, &y);
|
||||
cairo_translate (cr, x, y);
|
||||
|
||||
gimp_text_layout_get_transform (layout, &trafo);
|
||||
cairo_transform (cr, &trafo);
|
||||
/*TODO matrix transformation should be applied here
|
||||
* but since it causes some problems and is not doing anything
|
||||
* (it's for the future when we will implement text transformations)
|
||||
* disabling it fixes some text layout problems (see bug #1028)
|
||||
*/
|
||||
|
||||
if (base_dir == GIMP_TEXT_DIRECTION_TTB_RTL ||
|
||||
base_dir == GIMP_TEXT_DIRECTION_TTB_RTL_UPRIGHT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue