* CHANGES: Reformatted, minor fixes.

* TODO: Updated.
* include/freetype/freetype.h: Formatting.

* Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles to
the source tree.  See www.freetype.org/jam/index.html for details.
This commit is contained in:
Werner Lemberg 2001-04-02 21:30:06 +00:00
parent 8f031b08ec
commit ab6d10759a
4 changed files with 822 additions and 766 deletions

1384
CHANGES

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,9 @@
2001-04-02 Werner Lemberg <wl@gnu.org>
* CHANGES: Reformatted, minor fixes.
* TODO: Updated.
* include/freetype/freetype.h: Formatting.
2001-04-02 Tom Kacvinsky <tjk@ams.org> 2001-04-02 Tom Kacvinsky <tjk@ams.org>
* src/sfnt/ttload.c (TT_Load_Metrics): Fix an improper pointer * src/sfnt/ttload.c (TT_Load_Metrics): Fix an improper pointer
@ -11,8 +17,8 @@
2001-03-24 David Turner <david.turner@freetype.org> 2001-03-24 David Turner <david.turner@freetype.org>
* Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles * Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles to
to the source tree. see www.freetype.org/jam/index.html for details the source tree. See www.freetype.org/jam/index.html for details.
* Version 2.0.2 released. * Version 2.0.2 released.

6
TODO
View File

@ -2,11 +2,13 @@ Here is a list of items that need to be addressed in FreeType 2:
* Add synthesized Unicode charmap processing to the CFF driver. * Add synthesized Unicode charmap processing to the CFF driver.
* Fix Visual C++ project file * Fix Visual C++ project file.
* Fix a bug in the TrueType driver: linear horizontal advances of composites * Fix a bug in the TrueType driver: linear horizontal advances of composites
are not returned properly. are not returned properly.
* Change the build system to work with the "Jam" tool instead of the * Change the build system to work with the "Jam" tool instead of the
terribly complex and error-prone GNU Makefiles we're currently using terribly complex and error-prone GNU Makefiles we are currently using.
* Fix exact bbox calculation for cubics. The current code uses an iterative
algorithm which can fail miserably.

View File

@ -822,123 +822,141 @@ FT_BEGIN_HEADER
/* */ /* */
#define FT_FACE_FLAG_EXTERNAL_STREAM 0x4000 #define FT_FACE_FLAG_EXTERNAL_STREAM 0x4000
/* */ /* */
/***********************************************************************
* /*************************************************************************/
* @macro: FT_HAS_HORIZONTAL (face) /* */
* /* @macro: FT_HAS_HORIZONTAL (face) */
* @description: /* */
* a macro that returns true whenever a face object contains horizontal /* @description: */
* metrics. (this is true for all font formats though). /* A macro that returns true whenever a face object contains */
* /* horizontal metrics (this is true for all font formats though). */
* @also: /* */
* @FT_HAS_VERTICAL can be used to check for vertical metrics. /* @also: */
*/ /* @FT_HAS_VERTICAL can be used to check for vertical metrics. */
/* */
#define FT_HAS_HORIZONTAL( face ) \ #define FT_HAS_HORIZONTAL( face ) \
( face->face_flags & FT_FACE_FLAG_HORIZONTAL ) ( face->face_flags & FT_FACE_FLAG_HORIZONTAL )
/***********************************************************************
* /*************************************************************************/
* @macro: FT_HAS_VERTICAL (face) /* */
* /* @macro: FT_HAS_VERTICAL (face) */
* @description: /* */
* a macro that returns true whenever a face object contains vertical /* @description: */
* metrics. /* A macro that returns true whenever a face object contains vertical */
*/ /* metrics. */
/* */
#define FT_HAS_VERTICAL( face ) \ #define FT_HAS_VERTICAL( face ) \
( face->face_flags & FT_FACE_FLAG_VERTICAL ) ( face->face_flags & FT_FACE_FLAG_VERTICAL )
/***********************************************************************
* /*************************************************************************/
* @macro: FT_HAS_KERNING (face) /* */
* /* @macro: FT_HAS_KERNING (face) */
* @description: /* */
* a macro that returns true whenever a face object contains kerning /* @description: */
* data that can be accessed with @FT_Get_Kerning /* A macro that returns true whenever a face object contains kerning */
*/ /* data that can be accessed with @FT_Get_Kerning. */
/* */
#define FT_HAS_KERNING( face ) \ #define FT_HAS_KERNING( face ) \
( face->face_flags & FT_FACE_FLAG_KERNING ) ( face->face_flags & FT_FACE_FLAG_KERNING )
/***********************************************************************
* /*************************************************************************/
* @macro: FT_IS_SCALABLE (face) /* */
* /* @macro: FT_IS_SCALABLE (face) */
* @description: /* */
* a macro that returns true whenever a face object contains a scalable /* @description: */
* font face. I.e., true for TrueType, Type 1, CID and OpenType/CFF /* A macro that returns true whenever a face object contains a */
* font formats. /* scalable font face (true for TrueType, Type 1, CID, and */
*/ /* OpenType/CFF font formats. */
/* */
#define FT_IS_SCALABLE( face ) \ #define FT_IS_SCALABLE( face ) \
( face->face_flags & FT_FACE_FLAG_SCALABLE ) ( face->face_flags & FT_FACE_FLAG_SCALABLE )
/*********************************************************************** /*************************************************************************/
* /* */
* @macro: FT_IS_SFNT (face) /* @macro: FT_IS_SFNT (face) */
* /* */
* @description: /* @description: */
* a macro that returns true whenever a face object contains a font whose /* A macro that returns true whenever a face object contains a font */
* format is based on the SFNT storage scheme. This usually means: /* whose format is based on the SFNT storage scheme. This usually */
* TrueType fonts, OpenType fonts, as well as SFNT-based embedded bitmap /* means: TrueType fonts, OpenType fonts, as well as SFNT-based */
* fonts. /* embedded bitmap fonts. */
* /* */
* When this macro is true, all functions defined in @FT_SFNT_NAMES_H /* If this macro is true, all functions defined in @FT_SFNT_NAMES_H */
* and @FT_TRUETYPE_TABLES_H are available /* and @FT_TRUETYPE_TABLES_H are available. */
*/ /* */
#define FT_IS_SFNT( face ) \ #define FT_IS_SFNT( face ) \
( face->face_flags & FT_FACE_FLAG_SFNT ) ( face->face_flags & FT_FACE_FLAG_SFNT )
/***********************************************************************
* /*************************************************************************/
* @macro: FT_IS_FIXED_WIDTH (face) /* */
* /* @macro: FT_IS_FIXED_WIDTH (face) */
* @description: /* */
* a macro that returns true whenever a face object contains a font /* @description: */
* face that contains fixed-width (or "monospace", "fixed-pitch", etc..) /* A macro that returns true whenever a face object contains a font */
* glyphs. /* face that contains fixed-width (or "monospace", "fixed-pitch", */
*/ /* etc.) glyphs. */
/* */
#define FT_IS_FIXED_WIDTH( face ) \ #define FT_IS_FIXED_WIDTH( face ) \
( face->face_flags & FT_FACE_FLAG_FIXED_WIDTH ) ( face->face_flags & FT_FACE_FLAG_FIXED_WIDTH )
/*********************************************************************** /*************************************************************************/
* /* */
* @macro: FT_IS_FIXED_SIZES (face) /* @macro: FT_IS_FIXED_SIZES (face) */
* /* */
* @description: /* @description: */
* a macro that returns true whenever a face object contains some /* A macro that returns true whenever a face object contains some */
* embedded bitmaps. See the 'fixed_sizes' field of the @FT_FaceRec /* embedded bitmaps. See the `fixed_sizes' field of the @FT_FaceRec */
* structure. /* structure. */
*/ /* */
#define FT_HAS_FIXED_SIZES( face ) \ #define FT_HAS_FIXED_SIZES( face ) \
( face->face_flags & FT_FACE_FLAG_FIXED_SIZES ) ( face->face_flags & FT_FACE_FLAG_FIXED_SIZES )
/* */ /* */
/*************************************************************************/
/* */
/* @macro: FT_HAS_FAST_GLYPHS (face) */
/* */
/* @description: */
/* XXX */
/* */
#define FT_HAS_FAST_GLYPHS( face ) \ #define FT_HAS_FAST_GLYPHS( face ) \
( face->face_flags & FT_FACE_FLAG_FAST_GLYPHS ) ( face->face_flags & FT_FACE_FLAG_FAST_GLYPHS )
/***********************************************************************
* /*************************************************************************/
* @macro: FT_HAS_GLYPH_NAMES (face) /* */
* /* @macro: FT_HAS_GLYPH_NAMES (face) */
* @description: /* */
* a macro that returns true whenever a face object contains some /* @description: */
* glyph names that can be accessed through @FT_Get_Glyph_Names /* A macro that returns true whenever a face object contains some */
*/ /* glyph names that can be accessed through @FT_Get_Glyph_Names. */
/* */
#define FT_HAS_GLYPH_NAMES( face ) \ #define FT_HAS_GLYPH_NAMES( face ) \
( face->face_flags & FT_FACE_FLAG_GLYPH_NAMES ) ( face->face_flags & FT_FACE_FLAG_GLYPH_NAMES )
/***********************************************************************
* /*************************************************************************/
* @macro: FT_HAS_MULTIPLE_MASTERS (face) /* */
* /* @macro: FT_HAS_MULTIPLE_MASTERS (face) */
* @description: /* */
* a macro that returns true whenever a face object contains some /* @description: */
* multiple masters. The functions provided by @FT_MULTIPLE_MASTERS_H /* A macro that returns true whenever a face object contains some */
* are then available to choose the exact design you want. /* multiple masters. The functions provided by */
*/ /* @FT_MULTIPLE_MASTERS_H are then available to choose the exact */
/* design you want. */
/* */
#define FT_HAS_MULTIPLE_MASTERS( face ) \ #define FT_HAS_MULTIPLE_MASTERS( face ) \
( face->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS ) ( face->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )