[base,ot-svg] Minor fixes.

* src/svg/ftsvg.c (ft_svg_transform) Bug fix. Warning fix.

* src/base/ftglyph.c (ft_svg_glyph_transform) Warning fix.
GSoC-2019-moazin
Moazin Khatti 5 years ago
parent 561364002a
commit 3325b42e91
  1. 4
      src/base/ftglyph.c
  2. 5
      src/svg/ftsvg.c

@ -397,8 +397,8 @@
{
FT_SvgGlyph glyph = (FT_SvgGlyph)svg_glyph;
FT_Matrix* matrix = _matrix;
FT_Vector* delta = _delta;
FT_Matrix* matrix = (FT_Matrix*)_matrix;
FT_Vector* delta = (FT_Vector*)_delta;
FT_Matrix tmp_matrix;
FT_Vector tmp_delta;

@ -210,8 +210,8 @@
{
FT_SVG_Document doc = (FT_SVG_Document)slot->other;
FT_Matrix* matrix = _matrix;
FT_Vector* delta = _delta;
FT_Matrix* matrix = (FT_Matrix*)_matrix;
FT_Vector* delta = (FT_Vector*)_delta;
FT_Matrix tmp_matrix;
FT_Vector tmp_delta;
FT_Matrix a, b;
@ -230,6 +230,7 @@
{
tmp_delta.x = 0;
tmp_delta.y = 0;
delta = &tmp_delta;
}
a = doc->transform;

Loading…
Cancel
Save