mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 05:18:10 +02:00
* src/smooth/ftsmooth.c (ft_smooth_raster_lcd): Fix clip_box.
The bug is discussed in #1412, without security repercussions.
This commit is contained in:
parent
32c0722622
commit
3221895b3f
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@
|
|||
|
||||
params.clip_box.xMin = 0;
|
||||
params.clip_box.yMin = 0;
|
||||
params.clip_box.xMax = bitmap->width;
|
||||
params.clip_box.xMax = bitmap->width / 3;
|
||||
params.clip_box.yMax = bitmap->rows;
|
||||
|
||||
if ( bitmap->pitch < 0 )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue