| commit | ef04e4eb205612e73675972c937272ee10bdbb69 | [log] [tgz] |
|---|---|---|
| author | Alexei Podtelezhnikov <apodtele@gmail.com> | Sat Jan 17 22:55:16 2026 -0500 |
| committer | Alexei Podtelezhnikov <apodtele@gmail.com> | Sat Jan 17 22:55:16 2026 -0500 |
| tree | ed3c78eb52cb4946b3c7078203d47d2cf5a83242 | |
| parent | dad4640660a2dcf9f94602c542b00e33392fb079 [diff] |
[base, smooth] Fortify direct rendering. This is a better fix for #1384, which is rather about signed overflow. * include/freetype/ftimage.h (FT_Span): Use unsigned position. * src/smooth/ftgrays.c (gray_sweep_direct): Sync with FT_Span. * src/smooth/ftsmooth.c (ft_smooth_render): Remove redundant shift. * src/base/ftobjs.c (ft_glyphslot_preset_bitmap): Readjust limits.