[smooth] Fix left shifts of negative numbers.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36241

* src/smooth/ftgrays.c (LEFT_SHIFT): New macro.
(gray_render_conic) [BEZIER_USE_DDA]: Use it.
1076-regression-ft_render_glyph-returns-error-when-trying-to-render-bitmap-otb-fonts
Werner Lemberg 3 years ago
parent 09195a82a4
commit 6be8bfe499
Loading…
Cancel
Save