forked from minhngoc25a/freetype2
[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.
This commit is contained in:
parent
561364002a
commit
3325b42e91
|
@ -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…
Reference in New Issue