Hi,

I was looking at the FT_Load_Glyph source and the following got my attention:

          /* apply `standard' transformation if no renderer is available */
          if ( &internal->transform_matrix )
            FT_Outline_Transform( &slot->outline,
&internal->transform_matrix );

          if ( &internal->transform_delta )
            FT_Outline_Translate( &slot->outline,
                                  internal->transform_delta.x,
                                  internal->transform_delta.y );

Both of those ifs appear to always be true, maybe someone meant the following?

          /* apply `standard' transformation if no renderer is available */
          if ( internal->transform_flags & 1 )
            FT_Outline_Transform( &slot->outline,
&internal->transform_matrix );

          if ( internal->transform_flags & 2 )
            FT_Outline_Translate( &slot->outline,
                                  internal->transform_delta.x,
                                  internal->transform_delta.y );

--Kal

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to