diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2012-11-22 02:19:17 +0000 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2012-12-28 18:54:27 +0200 |
commit | 91b0e50da385723853969b2d3814b70d21a36077 (patch) | |
tree | c9241fde30ad6a31f1a6986e22b9ab229a680b0d /test/test.c | |
parent | 7e4553211048d0cdf5f23fb7532e2d619f6edccb (diff) | |
download | libass-91b0e50da385723853969b2d3814b70d21a36077.tar.bz2 libass-91b0e50da385723853969b2d3814b70d21a36077.tar.xz |
Fix fix_freetype_stroker
The first point in a countour is not allowed to be a cubic control
point, which is sometimes violated by blindly reversing a countour,
producing the following errors:
[ass] FT_Stroker_ParseOutline failed, error: 20
[ass] Failed to rasterize glyph: 1
To avoid this, let the first point remain the first
and only reverse the order of the remaining points.
Diffstat (limited to 'test/test.c')
0 files changed, 0 insertions, 0 deletions