Go to file
Werner Lemberg 4af3c4d7ee Add many checks to protect against malformed PCF files.
* src/pcf/pcfdrivr.c (PCF_Face_Done): Protect against NULL pointers.
(PCF_Face_Init): Add calls to PCF_Face_Done in case of errors.

* src/pcf/pcfread.c (pcf_read_TOC): Protect against malformed table
data and check that tables don't overlap (using a simple
bubblesort).
(PCF_METRIC_SIZE, PCF_COMPRESSED_METRIC_SIZE, PCF_PROPERTY_SIZE):
New macros which give the size of data structures in the data
stream.
(pcf_get_properties): Use rough estimates to get array size limits.
Assign `face->nprops' and `face->properties' earlier so that a call
to PCF_Face_Done can do the clean-up in case of error.
Protect against invalid string offsets.
(pcf_get_metrics): Clean up code.
Adjust tracing message levels.
Use rough estimate to get array size limit.
(pcf_get_bitmaps): Clean up code.
Adjust tracing message levels.
Use rough estimates to get offset limits.
(pcf_get_encodings): Adjust tracing message level.
(pcf_get_accel): Clean up code.
2006-07-08 21:31:24 +00:00
builds * builds/unix/unix-cc.in (LINK_LIBRARY): Don't comment out 2006-05-26 06:30:05 +00:00
devel * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. 2006-05-06 16:44:58 +00:00
docs typo; spotted by George 2006-06-16 06:51:37 +00:00
include more doc fixes 2006-07-03 12:36:46 +00:00
objs Minor change for testing purposes. 2006-05-09 08:31:39 +00:00
src Add many checks to protect against malformed PCF files. 2006-07-08 21:31:24 +00:00
.cvsignore Formatting. 2000-10-31 19:42:53 +00:00
ChangeLog Add many checks to protect against malformed PCF files. 2006-07-08 21:31:24 +00:00
ChangeLog.20 * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset. 2006-05-12 14:20:43 +00:00
ChangeLog.21 * src/tools/docmaker/tohtml.py (html_header_1): Use `utf-8' charset. 2006-05-12 14:20:43 +00:00
Jamfile * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. 2006-05-06 16:44:58 +00:00
Jamrules Add license. 2005-06-04 23:04:30 +00:00
Makefile * Makefile, *.mk: Use `?=' where appropriate. 2006-02-01 07:52:11 +00:00
README * README: Minor updates. 2006-05-12 04:00:44 +00:00
README.CVS * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1. 2006-05-06 16:44:58 +00:00
autogen.sh Put version information into the configure script. Reported by Paul 2006-05-08 07:10:29 +00:00
configure Implement new, simplified module selection. With GNU make it is now 2006-01-31 20:17:42 +00:00
modules.cfg Clean-ups, copyright years, formatting. 2006-02-22 08:23:35 +00:00
version.sed Put version information into the configure script. Reported by Paul 2006-05-08 07:10:29 +00:00
vms_make.com Add license. 2005-06-04 23:04:30 +00:00

README

  Special notes to Unix users
  ===========================

  Please  read  the file  `docs/UPGRADE.UNX'.   It contains  important
  information regarding the installation  of FreeType on Unix systems,
  especially GNU based operating systems like GNU/Linux.

  FreeType 2's  library is called `libfreetype',  FreeType 1's library
  is called `libttf'.  They are *not* compatible!


  FreeType 2.2.1
  ==============

  Please   read   the  docs/CHANGES   file,   it  contains   IMPORTANT
  INFORMATION.

  Read the files `docs/INSTALL' for installation instructions.

  The FreeType 2 API reference is located in `docs/reference'; use the
  file   `ft2-doc.html'   as   the   top  entry   point.    Additional
  documentation is available as a separate package from our sites.  Go
  to

    http://download.savannah.gnu.org/releases/freetype/

  and download one of the following files.

    freetype-doc-2.2.1.tar.bz2
    freetype-doc-2.2.1.tar.gz
    ftdoc221.zip


  Bugs
  ====

  Please report bugs  by e-mail to `freetype-devel@nongnu.org'.  Don't
  forget to  send a  detailed explanation of  the problem --  there is
  nothing  worse than  receiving a  terse message  that only  says `it
  doesn't work'.

  Alternatively, you may submit a bug report at

    https://savannah.nongnu.org/bugs/?group=freetype


  Enjoy!


    The FreeType Team

----------------------------------------------------------------------

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,
modified,  and distributed  under the  terms of  the  FreeType project
license,  LICENSE.TXT.  By  continuing to  use, modify,  or distribute
this file you  indicate that you have read  the license and understand
and accept it fully.


--- end of README ---