1
0
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:
Alexei Podtelezhnikov
2026-09-17 15:27:52 -04:00
parent 6f5bcbbad5
commit f4e40ad03e

View File

@@ -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;