* include/freetype/freetype.h (FT_Vector_Transform),
include/freetype/ftimage.h (FT_Raster_Params), include/freetype/ftoutln.h, src/base/ftoutln.c (FT_Outline_Get_CBox, FT_Outline_Copy, FT_Outline_Transform, FT_Vector_Transform, FT_Outline_Get_Bitmap), src/raster/ftraster.c (ft_black_render), src/smooth/ftgrays.c (gray_raster_render): Decorate parameters with `const' where appropriate. * src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Fix arguments to call of tt_sbit_decoder_load_bitmap.
This commit is contained in:
parent
e7602c4b4a
commit
c01c904249
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2005-04-14 Kirill Smelkov <kirr@mns.spb.ru>
|
||||
|
||||
* include/freetype/freetype.h (FT_Vector_Transform),
|
||||
include/freetype/ftimage.h (FT_Raster_Params),
|
||||
include/freetype/ftoutln.h, src/base/ftoutln.c (FT_Outline_Get_CBox,
|
||||
FT_Outline_Copy, FT_Outline_Transform, FT_Vector_Transform,
|
||||
FT_Outline_Get_Bitmap), src/raster/ftraster.c (ft_black_render),
|
||||
src/smooth/ftgrays.c (gray_raster_render): Decorate parameters with
|
||||
`const' where appropriate.
|
||||
|
||||
2005-04-14 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/type1/t1load.c (parse_charstrings): Catch this non-standard
|
||||
|
@ -7,6 +17,9 @@
|
|||
Private begin
|
||||
CharStrings begin
|
||||
|
||||
* src/sfnt/ttsbit0.c (tt_sbit_decoder_load_image): Fix arguments
|
||||
to call of tt_sbit_decoder_load_bitmap.
|
||||
|
||||
2005-04-13 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* docs/TODO: Updated.
|
||||
|
|
|
@ -3075,7 +3075,7 @@ FT_BEGIN_HEADER
|
|||
/* */
|
||||
FT_EXPORT( void )
|
||||
FT_Vector_Transform( FT_Vector* vec,
|
||||
FT_Matrix* matrix );
|
||||
const FT_Matrix* matrix );
|
||||
|
||||
|
||||
/* */
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
/* FreeType glyph image formats and default raster interface */
|
||||
/* (specification). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -1030,7 +1030,7 @@ FT_BEGIN_HEADER
|
|||
/* */
|
||||
typedef struct FT_Raster_Params_
|
||||
{
|
||||
FT_Bitmap* target;
|
||||
const FT_Bitmap* target;
|
||||
void* source;
|
||||
int flags;
|
||||
FT_SpanFunc gray_spans;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
/* Support for the FT_Outline type used to store glyph shapes of */
|
||||
/* most scalable font formats (specification). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -229,7 +229,7 @@ FT_BEGIN_HEADER
|
|||
/* acbox :: The outline's control box. */
|
||||
/* */
|
||||
FT_EXPORT( void )
|
||||
FT_Outline_Get_CBox( FT_Outline* outline,
|
||||
FT_Outline_Get_CBox( const FT_Outline* outline,
|
||||
FT_BBox *acbox );
|
||||
|
||||
|
||||
|
@ -275,7 +275,7 @@ FT_BEGIN_HEADER
|
|||
/* FreeType error code. 0 means success. */
|
||||
/* */
|
||||
FT_EXPORT( FT_Error )
|
||||
FT_Outline_Copy( FT_Outline* source,
|
||||
FT_Outline_Copy( const FT_Outline* source,
|
||||
FT_Outline *target );
|
||||
|
||||
|
||||
|
@ -300,7 +300,7 @@ FT_BEGIN_HEADER
|
|||
/* */
|
||||
FT_EXPORT( void )
|
||||
FT_Outline_Transform( FT_Outline* outline,
|
||||
FT_Matrix* matrix );
|
||||
const FT_Matrix* matrix );
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
@ -355,7 +355,7 @@ FT_BEGIN_HEADER
|
|||
FT_EXPORT( FT_Error )
|
||||
FT_Outline_Get_Bitmap( FT_Library library,
|
||||
FT_Outline* outline,
|
||||
FT_Bitmap *abitmap );
|
||||
const FT_Bitmap *abitmap );
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* FreeType outline management (body). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -347,7 +347,7 @@
|
|||
/* documentation is in ftoutln.h */
|
||||
|
||||
FT_EXPORT_DEF( FT_Error )
|
||||
FT_Outline_Copy( FT_Outline* source,
|
||||
FT_Outline_Copy( const FT_Outline* source,
|
||||
FT_Outline *target )
|
||||
{
|
||||
FT_Int is_owner;
|
||||
|
@ -414,7 +414,7 @@
|
|||
/* documentation is in ftoutln.h */
|
||||
|
||||
FT_EXPORT_DEF( void )
|
||||
FT_Outline_Get_CBox( FT_Outline* outline,
|
||||
FT_Outline_Get_CBox( const FT_Outline* outline,
|
||||
FT_BBox *acbox )
|
||||
{
|
||||
FT_Pos xMin, yMin, xMax, yMax;
|
||||
|
@ -593,7 +593,7 @@
|
|||
FT_EXPORT_DEF( FT_Error )
|
||||
FT_Outline_Get_Bitmap( FT_Library library,
|
||||
FT_Outline* outline,
|
||||
FT_Bitmap *abitmap )
|
||||
const FT_Bitmap *abitmap )
|
||||
{
|
||||
FT_Raster_Params params;
|
||||
|
||||
|
@ -619,7 +619,7 @@
|
|||
|
||||
FT_EXPORT_DEF( void )
|
||||
FT_Vector_Transform( FT_Vector* vector,
|
||||
FT_Matrix* matrix )
|
||||
const FT_Matrix* matrix )
|
||||
{
|
||||
FT_Pos xz, yz;
|
||||
|
||||
|
@ -642,7 +642,7 @@
|
|||
|
||||
FT_EXPORT_DEF( void )
|
||||
FT_Outline_Transform( FT_Outline* outline,
|
||||
FT_Matrix* matrix )
|
||||
const FT_Matrix* matrix )
|
||||
{
|
||||
FT_Vector* vec = outline->points;
|
||||
FT_Vector* limit = vec + outline->n_points;
|
||||
|
|
|
@ -3258,7 +3258,7 @@
|
|||
FT_Raster_Params* params )
|
||||
{
|
||||
FT_Outline* outline = (FT_Outline*)params->source;
|
||||
FT_Bitmap* target_map = params->target;
|
||||
const FT_Bitmap* target_map = params->target;
|
||||
|
||||
|
||||
if ( !raster || !raster->buff || !raster->sizeBuff )
|
||||
|
|
|
@ -927,7 +927,7 @@
|
|||
|
||||
return tt_sbit_decoder_load_bitmap( decoder,
|
||||
image_format,
|
||||
image_offset + image_start,
|
||||
image_start,
|
||||
image_end,
|
||||
x_pos,
|
||||
y_pos );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* A new `perfect' anti-aliasing renderer (body). */
|
||||
/* */
|
||||
/* Copyright 2000-2001, 2002, 2003 by */
|
||||
/* Copyright 2000-2001, 2002, 2003, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -1964,7 +1964,7 @@
|
|||
FT_Raster_Params* params )
|
||||
{
|
||||
FT_Outline* outline = (FT_Outline*)params->source;
|
||||
FT_Bitmap* target_map = params->target;
|
||||
const FT_Bitmap* target_map = params->target;
|
||||
|
||||
|
||||
if ( !raster || !raster->cells || !raster->max_cells )
|
||||
|
|
Loading…
Reference in New Issue