Skip to content

[base] Improve the matrix degeneracy check.

Alexei Podtelezhnikov requested to merge master-patch-ea68 into master

Also fixes #1251 (closed).

  • src/base/ftcalc.c (FT_Matrix_Check): To avoid overflow, scale by shifting.
  • include/freetype/internal/ftcalc.h (FT_Matrix_Check): New heuristic constant.

Merge request reports