formatting, copyright years
This commit is contained in:
parent
c07ee52005
commit
422d2a052a
23
ChangeLog
23
ChangeLog
@ -6,19 +6,22 @@
|
||||
|
||||
2006-02-27 David Turner <david@freetype.org>
|
||||
|
||||
* src/base/ftutil.c: `ft_mem_alloc' and related functions now return
|
||||
an error if a negative size is passed in parameters.
|
||||
* src/base/ftutil.c (ft_mem_alloc, ft_mem_qalloc, ft_mem_realloc,
|
||||
ft_mem_qrealloc): Return an error if a negative size is passed in
|
||||
parameters.
|
||||
|
||||
* src/cache/ftccache.c: Make ftc_node_destroy FT_BASE_DEF, it needs
|
||||
to be exported for rogue clients.
|
||||
|
||||
* src/pshinter/pshglob.c: Prevent problems with malformed fonts
|
||||
which have an odd number of blue values (these are broken according
|
||||
to the specs).
|
||||
* src/pshinter/pshglob.c (psh_blues_set_zones_0): Prevent problems
|
||||
with malformed fonts which have an odd number of blue values (these
|
||||
are broken according to the specs).
|
||||
|
||||
* src/cff/cffload.c, src/type1/t1load.c: Modify the loaders to force
|
||||
even-ness of `num_blue_values'. Also change the CFF loader so that
|
||||
invalid entries in index files are ignored.
|
||||
* src/cff/cffload.c (cff_subfont_load), src/type1/t1load.c
|
||||
(T1_Open_Face): Modify the loaders to force even-ness of
|
||||
`num_blue_values'.
|
||||
|
||||
(cff_index_access_element): Ignore invalid entries in index files.
|
||||
|
||||
2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
|
||||
|
||||
@ -33,10 +36,10 @@
|
||||
builds/mac/FreeType.ppc_classic.make.txt:
|
||||
Update to new header inclusion introduced on 2006-02-16.
|
||||
|
||||
>>>>>>> 1.1258
|
||||
2006-02-27 Chia-I Wu <b90201047@ntu.edu.tw>
|
||||
|
||||
* src/base/ftobjs.c (ft_glyphslot_grid_fit_metrics, FT_Load_Glyph):
|
||||
* src/base/ftobjs.c (GRID_FIT_METRICS): New macro.
|
||||
(ft_glyphslot_grid_fit_metrics, FT_Load_Glyph) [GRID_FIT_METRICS]:
|
||||
Re-enable glyph metrics grid-fitting. It is now done in the base
|
||||
layer.
|
||||
(FT_Set_Char_Size, FT_Set_Pixel_Sizes): Make sure the width and
|
||||
|
@ -115,6 +115,7 @@
|
||||
|
||||
if ( size < 0 || current < 0 )
|
||||
{
|
||||
/* may help catch/prevent nasty security issues */
|
||||
error = FT_Err_Invalid_Argument;
|
||||
}
|
||||
else if ( size == 0 )
|
||||
@ -161,6 +162,7 @@
|
||||
|
||||
if ( size < 0 || current < 0 )
|
||||
{
|
||||
/* may help catch/prevent nasty security issues */
|
||||
error = FT_Err_Invalid_Argument;
|
||||
}
|
||||
else if ( size == 0 )
|
||||
@ -190,6 +192,7 @@
|
||||
return block;
|
||||
}
|
||||
|
||||
|
||||
FT_BASE_DEF( void )
|
||||
ft_mem_free( FT_Memory memory,
|
||||
const void *P )
|
||||
@ -211,6 +214,7 @@
|
||||
{
|
||||
FT_Error error = FT_Err_Ok;
|
||||
|
||||
|
||||
FT_ASSERT( P != 0 );
|
||||
|
||||
if ( size > 0 )
|
||||
@ -250,6 +254,7 @@
|
||||
{
|
||||
FT_Error error = FT_Err_Ok;
|
||||
|
||||
|
||||
FT_ASSERT( P != 0 );
|
||||
|
||||
if ( size > 0 )
|
||||
|
@ -2041,7 +2041,7 @@
|
||||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
/* ensure that 'num_blue_values' is even */
|
||||
/* ensure that `num_blue_values' is even */
|
||||
priv->num_blue_values &= ~1;
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
/* PostScript hinter global hinting management (body). */
|
||||
/* Inspired by the new auto-hinter module. */
|
||||
/* */
|
||||
/* Copyright 2001, 2002, 2003, 2004 by */
|
||||
/* Copyright 2001, 2002, 2003, 2004, 2006 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used */
|
||||
|
@ -1990,7 +1990,7 @@
|
||||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
/* ensure even-ness of 'num_blue_values' */
|
||||
/* ensure even-ness of `num_blue_values' */
|
||||
priv->num_blue_values &= ~1;
|
||||
|
||||
#ifndef T1_CONFIG_OPTION_NO_MM_SUPPORT
|
||||
|
Loading…
Reference in New Issue
Block a user