* src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid

compiler warning.

formatting/fixing ChangeLog
This commit is contained in:
Werner Lemberg 2002-04-14 00:54:32 +00:00
parent 737fa9acf7
commit 94ffae5239
18 changed files with 235 additions and 228 deletions

View File

@ -1,10 +1,12 @@
2002-04-13 Werner LEMBERG <wl@gnu.org>
* src/cff/cffgload.c (CFF_Parse_CharStrings): s/rand/Rand/ to avoid
compiler warning.
2002-04-12 David Turner <david@freetype.org>
* builds/unix/ftconfig.in, builds/vms/ftconfig.h: Oops, forgot to
update these files too
* README.UNX: updated the Unix-specific quick-compilation guide to
warn about the GNU Make requirement at compile time..
* README.UNX: Updated the Unix-specific quick-compilation guide to
warn about the GNU Make requirement at compile time.
* include/freetype/config/ftstdlib.h,
include/freetype/config/ftconfig.h,
@ -14,9 +16,8 @@
src/autohint/ahoptim.c,
src/base/ftdbgmem.c, src/base/ftdebug.c,
src/base/ftmac.c, src/base/ftobjs.c,
src/base/ftsystem.c,
src/base/ftdbgmem.c, src/base/ftdebug.c, src/base/ftmac.c,
src/base/ftobjs.c, src/base/ftsystem.c,
src/cache/ftcimage.c, src/cache/ftcsbits.c,
@ -35,40 +36,43 @@
src/raster/ftraster.c,
src/sfnt/sfdriver.c, src/sfnt/ttload.c, src/sfnt/ttpost.c,
src/sfnt/sfdriver.c, src/sfnt/ttload.c,
src/smooth/ftgrays.c,
src/type1/t1afm.c, src/type1/t1driver.c, src/type1/t1gload.c,
src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c:
src/type1/t1load.c, src/type1/t1objs.c, src/type1/t1parse.c,
added the new configuration file "ftstdlib.h" used to define
builds/unix/ftconfig.in, builds/vms/ftconfig.h,
builds/amiga/src/base/ftdebug.c:
Added the new configuration file "ftstdlib.h" used to define
aliases for all ISO C library functions used by the engine
(e.g. strlen, qsort, setjmp, etc...)
(e.g. strlen, qsort, setjmp, etc.).
this eases the porting of FreeType 2 to exotic environments like
XFree86 modules/extensions..
This eases the porting of FreeType 2 to environments like
XFree86 modules/extensions.
also removed many #include <string.h>, #include <stdlib.h>, etc...
from the engine's sources where they're not needed..
Also removed many #include <string.h>, #include <stdlib.h>, etc.
from the engine's sources where they are not needed.
* src/sfnt/ttpost.c: Use macro name for psnames.h.
2002-04-12 Vincent Caron <v.caron@zerodeux.net>
* configure, builds/detect.mk: updated the build system to print
* configure, builds/detect.mk: Updated the build system to print
a warning message in case GNU Make isn't used to build the library.
Very nice !
2002-04-11 David Turner <david@freetype.org>
* README, docs/CHANGES, Jamfile.in: updating for the 2.1.0 release
* README, docs/CHANGES, Jamfile.in: Updates for the 2.1.0 release.
* docs/FTL.txt: updated license text to provide a preffered disclaimer
and adjust copyright dates/extents
* docs/FTL.txt: Updated license text to provide a preferred
disclaimer and adjust copyright dates/extents.
* include/freetype/cache/ftcglyph.h: removing obsolete (and confusing
comment)
* include/freetype/cache/ftcglyph.h: Removing obsolete (and
confusing) comment.
* Jamfile.in: New file.

View File

@ -8,8 +8,8 @@ SPECIAL NOTE FOR UNIX USERS
I. Enable the TrueType bytecode hinter if you need it:
------------------------------------------------------
I. Enable the TrueType bytecode hinter if you need it
-----------------------------------------------------
The TrueType bytecode interpreter is disabled in all public
releases of the FreeType packages for patents reasons (see
@ -34,7 +34,7 @@ SPECIAL NOTE FOR UNIX USERS
II. Determine the correct installation path:
II. Determine the correct installation path
--------------------------------------------
By default, the source package will install the library in
@ -52,28 +52,29 @@ SPECIAL NOTE FOR UNIX USERS
III. Ensure that you're using GNU Make:
III. Ensure that you are using GNU Make
---------------------------------------
The FreeType build system _exclusively_ works with GNU Make. You will
not be able to compile the library with the following instructions with
any other alternative (including BSD Make !!).
The FreeType build system _exclusively_ works with GNU Make. You
will not be able to compile the library with the instructions
below using any other alternative (including BSD Make).
Trying to compile the library with a different Make tool will print a
message like:
Trying to compile the library with a different Make tool will
print a message like:
"Sorry, GNU make is required to build FreeType2."
Sorry, GNU make is required to build FreeType2.
and the build will be aborted. If this happens, install GNU Make on your
system, and use the GNUMAKE environment variable to name it.
and the build process will be aborted. If this happens, install
GNU Make on your system, and use the GNUMAKE environment variable
to name it.
IV. Build and install the library:
----------------------------------
IV. Build and install the library
---------------------------------
The following should work on all Unix systems where the 'make' command
invokes GNU Make:
The following should work on all Unix systems where the `make'
command invokes GNU Make:
./configure --prefix=<yourprefix>
make
@ -82,22 +83,20 @@ SPECIAL NOTE FOR UNIX USERS
where "<yourprefix>" must be replaced by the prefix returned by
the "freetype-config" command.
When using a different command to invoke GNU Make, use the GNUMAKE
variable. For example, if 'gmake' is the command to use on your system,
do something like:
variable. For example, if `gmake' is the command to use on your
system, do something like:
GNUMAKE=gmake ./configure --prefix=<yourprefix>
gmake
gmake install (as root)
If this still doesn't work, read the detailed compilation procedure
available in the file "docs/BUILD" for troubleshooting..
If this still doesn't work, read the detailed compilation
procedure available in the file "docs/BUILD" for troubleshooting.
V. Take care of XFree86 version 4:
----------------------------------
V. Take care of XFree86 version 4
---------------------------------
Certain recent Linux distributions will install _several_ versions
of FreeType on your system. For example, on a fresh Mandrake 8.1

View File

@ -38,7 +38,7 @@ extern void __stdargs KVPrintF( const char *formatString, const void *values );
/* */
/* - release mode: */
/* */
/* No error message is sent or generated. The code is ft_free from any */
/* No error message is sent or generated. The code is free from any */
/* debugging parts. */
/* */
/*************************************************************************/

View File

@ -122,7 +122,6 @@
#endif
/*************************************************************************/
/* */
/* @macro: */

View File

@ -2,9 +2,10 @@
/* */
/* ftstdlib.h */
/* */
/* ANSI-specific configuration file */
/* ANSI-specific library and header configuration file (specification */
/* only). */
/* */
/* Copyright 1996-2001, 2002 by */
/* Copyright 2002 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -13,56 +14,61 @@
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/* */
/* This file is used to group all #includes to the ANSI C library */
/* that FreeType normally requires. It also defines macros to rename */
/* the standard functions within the FT source code */
/* */
/* (You're free to provide alternative when working in exotic */
/* runtime environments :-) */
/* */
/***************************************************************************/
#ifndef __FT_STANDARD_LIBRARY_H__
#define __FT_STANDARD_LIBRARY_H__
/*************************************************************************/
/* */
/* This file is used to group all #includes to the ANSI C library that */
/* FreeType normally requires. It also defines macros to rename the */
/* standard functions within the FreeType source code. */
/* */
/* Load a file which defines __FTSTDLIB_H__ before this one to override */
/* it. */
/* */
/*************************************************************************/
/************************************************************************/
#ifndef __FTSTDLIB_H__
#define __FTSTDLIB_H__
/**********************************************************************/
/* */
/* integer limits */
/* */
/* UINT_MAX and ULONG_MAX are used to automatically compute the size */
/* of 'int' and 'long' in bytes at compile-time. So far, this works */
/* of `int' and `long' in bytes at compile-time. So far, this works */
/* for all platforms the library has been tested on. */
/* */
/* Note that on the extremely rare platforms that do not provide */
/* integer types that are _exactly_ 16 and 32 bits wide (e.g. some */
/* old Crays where 'int' is 36 bits !!), we do not make any guarantee */
/* about the correct behaviour of FT2 with all fonts.. */
/* */
/* in these case, "ftconfig.h" will refuse to compile anyway with a */
/* message like "couldn't find 32-bit type" or something similar */
/* anyway.. */
/* old Crays where `int' is 36 bits), we do not make any guarantee */
/* about the correct behaviour of FT2 with all fonts. */
/* */
/* In these case, "ftconfig.h" will refuse to compile anyway with a */
/* message like "couldn't find 32-bit type" or something similar. */
/* */
/* IMPORTANT NOTE: We do not define aliases for heap management and */
/* i/o routines (i.e. malloc/free/fopen/fread/...) */
/* since these functions should all be encapsulated */
/* by platform-specific implementations of */
/* "ftsystem.c" anyway !! */
/* "ftsystem.c". */
/* */
/************************************************************************/
/**********************************************************************/
#include <limits.h>
#define FT_UINT_MAX UINT_MAX
#define FT_ULONG_MAX ULONG_MAX
/************************************************************************/
/**********************************************************************/
/* */
/* character and string processing */
/* */
/************************************************************************/
/**********************************************************************/
#include <ctype.h>
#define ft_isalnum isalnum
@ -81,27 +87,28 @@
#define ft_memmove memmove
/************************************************************************/
/**********************************************************************/
/* */
/* sorting */
/* */
/************************************************************************/
/**********************************************************************/
#include <stdlib.h> /* for qsort() */
#include <stdlib.h>
#define ft_qsort qsort
/************************************************************************/
/**********************************************************************/
/* */
/* execution control */
/* */
/************************************************************************/
/**********************************************************************/
#include <setjmp.h>
#define ft_jmp_buf jmp_buf /* note: this cannot be a typedef since */
/* jmp_buf is defined as a macro */
/* on certain platforms.. */
/* on certain platforms */
#define ft_setjmp setjmp /* same thing here */
#define ft_longjmp longjmp /* " */
@ -113,4 +120,7 @@
#include <stdarg.h>
#endif /* __FT_STANDARD_LIBRARY_H__ */
#endif /* __FTSTDLIB_H__ */
/* END */

View File

@ -1724,16 +1724,16 @@
case cff_op_random:
{
FT_Fixed rand;
FT_Fixed Rand;
FT_TRACE4(( " rand" ));
rand = seed;
if ( rand >= 0x8000 )
rand++;
Rand = seed;
if ( Rand >= 0x8000 )
Rand++;
args[0] = rand;
args[0] = Rand;
seed = FT_MulFix( seed, 0x10000L - seed );
if ( seed == 0 )
seed += 0x2873;

View File

@ -2094,7 +2094,7 @@
{
target[0] |= f1;
/* ft_memset() is slower than the following code on many platforms. */
/* memset() is slower than the following code on many platforms. */
/* This is due to the fact that, in the vast majority of cases, */
/* the span length in bytes is relatively small. */
c2--;

View File

@ -99,11 +99,6 @@
#define ErrRaster_MemoryOverflow -4
#ifdef _STANDALONE_
#include <string.h> /* for ft_memcpy() */
@ -1088,7 +1083,7 @@
#ifdef QUICK_SORT
/* This is a non-recursive quicksort that directly process our cells */
/* array. It should be faster than calling the stdlib ft_qsort(), and we */
/* array. It should be faster than calling the stdlib qsort(), and we */
/* can even tailor our insertion threshold... */
#define QSORT_THRESHOLD 9 /* below this size, a sub-array will be sorted */