diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-04-04 16:58:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-04-04 21:42:03 +0200 |
commit | e0e613ad27c29c35a982f34f1af84b1c342eb4e5 (patch) | |
tree | cca1dc85f09fc5c57ab1d6bc5e226045bd7882c2 /vcl/unx/generic | |
parent | 3e1ee22e8ac6d2217547bf9a591e38af5c6da440 (diff) |
remove cairo_set_matrix calls that do nothing anymore
in the past there was intermediate calls that these affected
Change-Id: I5bb15046ff5869522dfafe72e16f9be4707c1f7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150027
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/gdi/cairotextrender.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx index 1c4efb9064d4..664c8dbea9cd 100644 --- a/vcl/unx/generic/gdi/cairotextrender.cxx +++ b/vcl/unx/generic/gdi/cairotextrender.cxx @@ -361,21 +361,8 @@ void CairoTextRender::DrawTextLayout(const GenericSalLayout& rLayout, const SalG cairo_matrix_scale(&m, nWidth, nHeight); if (nGlyphRotation) - { cairo_matrix_rotate(&m, toRadian(Degree10(nGlyphRotation * 900))); - cairo_matrix_t em_square; - cairo_matrix_init_identity(&em_square); - cairo_get_matrix(cr, &em_square); - - cairo_matrix_scale(&em_square, aFace->units_per_EM, - aFace->units_per_EM); - cairo_set_matrix(cr, &em_square); - - cairo_matrix_init_identity(&em_square); - cairo_set_matrix(cr, &em_square); - } - if (rInstance.NeedsArtificialItalic()) { cairo_matrix_t shear; |