Fix handling of transformations if no renderer is present.
* src/base/ftobjs.c (FT_Load_Glyph): Thinko.
This commit is contained in:
parent
298608d1d2
commit
72185cb5f4
|
@ -1,3 +1,9 @@
|
||||||
|
2011-10-15 Kal Conley <kcconley@gmail.com>
|
||||||
|
|
||||||
|
Fix handling of transformations if no renderer is present.
|
||||||
|
|
||||||
|
* src/base/ftobjs.c (FT_Load_Glyph): Thinko.
|
||||||
|
|
||||||
2011-10-15 Kal Conley <kcconley@gmail.com>
|
2011-10-15 Kal Conley <kcconley@gmail.com>
|
||||||
|
|
||||||
Fix conditions for autohinting.
|
Fix conditions for autohinting.
|
||||||
|
|
|
@ -757,11 +757,11 @@
|
||||||
else if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
|
else if ( slot->format == FT_GLYPH_FORMAT_OUTLINE )
|
||||||
{
|
{
|
||||||
/* apply `standard' transformation if no renderer is available */
|
/* apply `standard' transformation if no renderer is available */
|
||||||
if ( &internal->transform_matrix )
|
if ( internal->transform_flags & 1 )
|
||||||
FT_Outline_Transform( &slot->outline,
|
FT_Outline_Transform( &slot->outline,
|
||||||
&internal->transform_matrix );
|
&internal->transform_matrix );
|
||||||
|
|
||||||
if ( &internal->transform_delta )
|
if ( internal->transform_flags & 2 )
|
||||||
FT_Outline_Translate( &slot->outline,
|
FT_Outline_Translate( &slot->outline,
|
||||||
internal->transform_delta.x,
|
internal->transform_delta.x,
|
||||||
internal->transform_delta.y );
|
internal->transform_delta.y );
|
||||||
|
|
Loading…
Reference in New Issue