freetype2/src/smooth
Alexei Podtelezhnikov 1e0cef9e72 [smooth, raster] Fix up and align error codes.
FT_Render_Glyph picked up FAILURE or 1 returned from the raster
function, which became a confusing error code. Instead, return
Raster_Overflow in the unlikely event that banding does not help or
another meaningful error.

* src/smooth/ftgrays.c (gray_convert_glyph_inner, gray_convert_glyph):
Use Raster_Overflow when the rendering pool is exhausted and return it
if banding does not help.
(gray_raster_render): Use Smooth_Err_Ok.

* src/raster/ftraster.c (Render_Single_Pass): Return Raster_Overflow
if banding does not help or another error code.
2021-06-24 00:19:50 -04:00
..
ftgrays.c [smooth, raster] Fix up and align error codes. 2021-06-24 00:19:50 -04:00
ftgrays.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftsmerrs.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftsmooth.c Update all copyright notices. 2021-01-17 07:18:48 +01:00
ftsmooth.h Update all copyright notices. 2021-01-17 07:18:48 +01:00
module.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
rules.mk Update all copyright notices. 2021-01-17 07:18:48 +01:00
smooth.c Update all copyright notices. 2021-01-17 07:18:48 +01:00