mirror of
https://github.com/freetype/freetype.git
synced 2026-10-23 11:08:54 +03:00
* src/base/ftobjs.c (FT_Set_Matrix): Validate matrix.
This should fix #1465.
This commit is contained in:
@@ -792,7 +792,7 @@
|
||||
|
||||
internal->transform_flags = 0;
|
||||
|
||||
if ( !matrix )
|
||||
if ( !matrix || !FT_Matrix_Check( matrix ) )
|
||||
{
|
||||
internal->transform_matrix.xx = 0x10000L;
|
||||
internal->transform_matrix.xy = 0;
|
||||
|
||||
Reference in New Issue
Block a user