Fix parameter handling of `FT_Set_Renderer'.
Reported by Kirill Tishin <siege@bk.ru>. * src/base/ftobjs.c (FT_Set_Renderer): Increment `parameters'.
This commit is contained in:
parent
396b11b840
commit
312d26a491
@ -1,3 +1,10 @@
|
||||
2010-12-13 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix parameter handling of `FT_Set_Renderer'.
|
||||
Reported by Kirill Tishin <siege@bk.ru>.
|
||||
|
||||
* src/base/ftobjs.c (FT_Set_Renderer): Increment `parameters'.
|
||||
|
||||
2010-12-09 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] Allow `hlineto' and `vlineto' without arguments.
|
||||
|
@ -212,6 +212,14 @@ FT_BEGIN_HEADER
|
||||
/* */
|
||||
/* This doesn't change the current renderer for other formats. */
|
||||
/* */
|
||||
/* Currently, only the B/W renderer, if compiled with */
|
||||
/* FT_RASTER_OPTION_ANTI_ALIASING (providing a 5-levels */
|
||||
/* anti-aliasing mode; this option must be set directly in */
|
||||
/* `ftraster.c' and is undefined by default) accepts a single tag */
|
||||
/* `pal5' to set its gray palette as a character string with */
|
||||
/* 5~elements. Consequently, the third and fourth argument are zero */
|
||||
/* normally. */
|
||||
/* */
|
||||
FT_EXPORT( FT_Error )
|
||||
FT_Set_Renderer( FT_Library library,
|
||||
FT_Renderer renderer,
|
||||
|
@ -3887,6 +3887,7 @@
|
||||
error = set_mode( renderer, parameters->tag, parameters->data );
|
||||
if ( error )
|
||||
break;
|
||||
parameters++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user