2000-06-16 08:49:56 +02:00
|
|
|
/***************************************************************************/
|
|
|
|
/* */
|
Complete redesign of error codes. Please check ftmoderr.h for more
details.
* include/freetype/internal/cfferrs.h,
include/freetype/internal/tterrors.h,
include/freetype/internal/t1errors.h: Removed. Replaced with files
local to the module. All extra error codes have been moved to
`fterrors.h'.
* src/sfnt/ttpost.h: Move error codes to `fterrors.h'.
* src/autohint/aherrors.h, src/cache/ftcerror.h, src/cff/cfferrs.h,
src/cid/ciderrs.h, src/pcf/pcferror.h, src/psaux/psauxerr.h,
src/psnames/psnamerr.h, src/raster/rasterrs.h, src/sfnt/sferrors.h,
src/smooth/ftsmerrs.h, src/truetype/tterrors.h,
src/type1/t1errors.h, src/winfonts/fnterrs.h: New files defining the
error names for the module it belongs to.
* include/freetype/ftmoderr.h: New file, defining the module error
offsets. Its structure is similar to `fterrors.h'.
* include/freetype/fterrors.h (FT_NOERRORDEF): New macro.
(FT_ERRORDEF): Redefined to use module error offsets.
All internal error codes are now public; unused error codes have
been removed, some are new.
* include/freetype/config/ftheader.h (FT_MODULE_ERRORS_H): New
macro.
* include/freetype/config/ftoption.h
(FT_CONFIG_OPTION_USE_MODULE_ERRORS): New macro.
All other source files have been updated to use the new error codes;
some already existing (internal) error codes local to a module have
been renamed to give them the same name as in the base module.
All make files have been updated to include the local error files.
* src/cid/cidtokens.h: Replaced with...
* src/cid/cidtoken.h: This file for 8+3 consistency.
* src/raster/ftraster.c: Use macros for header file names.
2001-06-06 19:30:41 +02:00
|
|
|
/* cidtoken.h */
|
2000-06-16 08:49:56 +02:00
|
|
|
/* */
|
|
|
|
/* CID token definitions (specification only). */
|
|
|
|
/* */
|
2001-06-28 19:49:10 +02:00
|
|
|
/* Copyright 1996-2001 by */
|
2000-06-16 08:49:56 +02:00
|
|
|
/* 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. */
|
|
|
|
/* */
|
|
|
|
/***************************************************************************/
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
|
2000-07-31 20:59:02 +02:00
|
|
|
#undef FT_STRUCTURE
|
2002-02-28 19:59:37 +01:00
|
|
|
#define FT_STRUCTURE CID_FaceInfoRec
|
2000-06-16 08:49:56 +02:00
|
|
|
#undef T1CODE
|
2002-03-14 11:09:35 +01:00
|
|
|
#define T1CODE T1_FIELD_LOCATION_CID_INFO
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-08-24 18:29:15 +02:00
|
|
|
T1_FIELD_STRING( "CIDFontName", cid_font_name )
|
|
|
|
T1_FIELD_NUM ( "CIDFontVersion", cid_version )
|
|
|
|
T1_FIELD_NUM ( "CIDFontType", cid_font_type )
|
|
|
|
T1_FIELD_STRING( "Registry", registry )
|
|
|
|
T1_FIELD_STRING( "Ordering", ordering )
|
|
|
|
T1_FIELD_NUM ( "Supplement", supplement )
|
|
|
|
T1_FIELD_NUM ( "UIDBase", uid_base )
|
|
|
|
T1_FIELD_NUM ( "CIDMapOffset", cidmap_offset )
|
|
|
|
T1_FIELD_NUM ( "FDBytes", fd_bytes )
|
|
|
|
T1_FIELD_NUM ( "GDBytes", gd_bytes )
|
|
|
|
T1_FIELD_NUM ( "CIDCount", cid_count )
|
2000-06-16 08:49:56 +02:00
|
|
|
|
|
|
|
|
2000-07-31 20:59:02 +02:00
|
|
|
#undef FT_STRUCTURE
|
2002-02-28 19:59:37 +01:00
|
|
|
#define FT_STRUCTURE PS_FontInfoRec
|
2000-06-01 05:27:48 +02:00
|
|
|
#undef T1CODE
|
2002-03-14 11:09:35 +01:00
|
|
|
#define T1CODE T1_FIELD_LOCATION_FONT_INFO
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-08-24 00:47:44 +02:00
|
|
|
T1_FIELD_STRING( "version", version )
|
|
|
|
T1_FIELD_STRING( "Notice", notice )
|
|
|
|
T1_FIELD_STRING( "FullName", full_name )
|
|
|
|
T1_FIELD_STRING( "FamilyName", family_name )
|
|
|
|
T1_FIELD_STRING( "Weight", weight )
|
|
|
|
T1_FIELD_FIXED ( "ItalicAngle", italic_angle )
|
2002-02-28 17:10:29 +01:00
|
|
|
T1_FIELD_TYPE_BOOL ( "isFixedPitch", is_fixed_pitch )
|
2000-08-24 00:47:44 +02:00
|
|
|
T1_FIELD_NUM ( "UnderlinePosition", underline_position )
|
|
|
|
T1_FIELD_NUM ( "UnderlineThickness", underline_thickness )
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
|
2000-07-31 20:59:02 +02:00
|
|
|
#undef FT_STRUCTURE
|
2002-02-28 19:59:37 +01:00
|
|
|
#define FT_STRUCTURE CID_FaceDictRec
|
2000-06-01 05:27:48 +02:00
|
|
|
#undef T1CODE
|
2002-03-14 11:09:35 +01:00
|
|
|
#define T1CODE T1_FIELD_LOCATION_FONT_DICT
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-08-24 18:29:15 +02:00
|
|
|
T1_FIELD_NUM ( "PaintType", paint_type )
|
|
|
|
T1_FIELD_NUM ( "FontType", font_type )
|
|
|
|
T1_FIELD_NUM ( "SubrMapOffset", subrmap_offset )
|
|
|
|
T1_FIELD_NUM ( "SDBytes", sd_bytes )
|
|
|
|
T1_FIELD_NUM ( "SubrCount", num_subrs )
|
|
|
|
T1_FIELD_NUM ( "lenBuildCharArray", len_buildchar )
|
|
|
|
T1_FIELD_FIXED( "ForceBoldThreshold", forcebold_threshold )
|
|
|
|
T1_FIELD_FIXED( "ExpansionFactor", expansion_factor )
|
|
|
|
T1_FIELD_NUM ( "StrokeWidth", stroke_width )
|
2000-06-16 08:49:56 +02:00
|
|
|
|
|
|
|
|
2000-07-31 20:59:02 +02:00
|
|
|
#undef FT_STRUCTURE
|
2002-02-28 19:59:37 +01:00
|
|
|
#define FT_STRUCTURE PS_PrivateRec
|
2000-06-01 05:27:48 +02:00
|
|
|
#undef T1CODE
|
2002-03-14 11:09:35 +01:00
|
|
|
#define T1CODE T1_FIELD_LOCATION_PRIVATE
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-08-24 00:47:44 +02:00
|
|
|
T1_FIELD_NUM ( "UniqueID", unique_id )
|
|
|
|
T1_FIELD_NUM ( "lenIV", lenIV )
|
|
|
|
T1_FIELD_NUM ( "LanguageGroup", language_group )
|
|
|
|
T1_FIELD_NUM ( "password", password )
|
2000-07-01 16:06:46 +02:00
|
|
|
|
2000-08-24 00:47:44 +02:00
|
|
|
T1_FIELD_FIXED ( "BlueScale", blue_scale )
|
|
|
|
T1_FIELD_NUM ( "BlueShift", blue_shift )
|
|
|
|
T1_FIELD_NUM ( "BlueFuzz", blue_fuzz )
|
2000-07-01 16:06:46 +02:00
|
|
|
|
2000-08-24 00:47:44 +02:00
|
|
|
T1_FIELD_NUM_TABLE ( "BlueValues", blue_values, 14 )
|
|
|
|
T1_FIELD_NUM_TABLE ( "OtherBlues", other_blues, 10 )
|
|
|
|
T1_FIELD_NUM_TABLE ( "FamilyBlues", family_blues, 14 )
|
|
|
|
T1_FIELD_NUM_TABLE ( "FamilyOtherBlues", family_other_blues, 10 )
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-08-24 00:47:44 +02:00
|
|
|
T1_FIELD_NUM_TABLE2( "StdHW", standard_width, 1 )
|
|
|
|
T1_FIELD_NUM_TABLE2( "StdVW", standard_height, 1 )
|
|
|
|
T1_FIELD_NUM_TABLE2( "MinFeature", min_feature, 2 )
|
|
|
|
|
|
|
|
T1_FIELD_NUM_TABLE ( "StemSnapH", snap_widths, 12 )
|
|
|
|
T1_FIELD_NUM_TABLE ( "StemSnapV", snap_heights, 12 )
|
2000-06-16 08:49:56 +02:00
|
|
|
|
2000-06-01 05:27:48 +02:00
|
|
|
|
2000-06-16 08:49:56 +02:00
|
|
|
/* END */
|