summaryrefslogtreecommitdiff
path: root/include/freetype/internal/t1types.h
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2006-01-27 12:11:22 +0000
committerDavid Turner <david@freetype.org>2006-01-27 12:11:22 +0000
commit6a681fa84a0ba1164726cedfc3623d84f1e3d60a (patch)
tree9a37cda39d61769041249a403808d915c7124f9d /include/freetype/internal/t1types.h
parent97c64185603a94d8251255a4325d2464aad72918 (diff)
downloadfreetype2-6a681fa84a0ba1164726cedfc3623d84f1e3d60a.tar.gz
* src/autofit/afwarp.c: simple #ifdef to prevent compilation when
the warp hinter isn't active (it shouldn't, still experimental) * Jamfile, include/freetype/config/ftmodule.h: removed "gxvalid" and "otvalid" from the list of modules that are linked statically to a given FreeType library. Functionality has been moved to the "ftvalid" CVS module. note also that current Make-based build system still compiles the modules though... * include/freetype/config/ftoption.h: added FT_STRICT_ALIASING, which controls the definitions of the memory management functions to avoid warnings with recent versions of GCC. this macro is only here to be disabled, in case we detect problems with the new scheme. NOTE: disable macro to use the memory debugger. this will be fixed later !!
Diffstat (limited to 'include/freetype/internal/t1types.h')
-rw-r--r--include/freetype/internal/t1types.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/freetype/internal/t1types.h b/include/freetype/internal/t1types.h
index 75f737bb2..0a16453f1 100644
--- a/include/freetype/internal/t1types.h
+++ b/include/freetype/internal/t1types.h
@@ -134,6 +134,48 @@ FT_BEGIN_HEADER
/*************************************************************************/
/*** ***/
/*** ***/
+ /*** AFM FONT INFORMATION STRUCTURES ***/
+ /*** ***/
+ /*** ***/
+ /*************************************************************************/
+ /*************************************************************************/
+ /*************************************************************************/
+
+ typedef struct AFM_TrackKernRec_
+ {
+ FT_Int degree;
+ FT_Fixed min_ptsize;
+ FT_Fixed min_kern;
+ FT_Fixed max_ptsize;
+ FT_Fixed max_kern;
+
+ } AFM_TrackKernRec, *AFM_TrackKern;
+
+ typedef struct AFM_KernPairRec_
+ {
+ FT_Int index1;
+ FT_Int index2;
+ FT_Int x;
+ FT_Int y;
+
+ } AFM_KernPairRec, *AFM_KernPair;
+
+ typedef struct AFM_FontInfoRec_
+ {
+ FT_Bool IsCIDFont;
+ AFM_TrackKern TrackKerns; /* free if non-NULL */
+ FT_Int NumTrackKern;
+ AFM_KernPair KernPairs; /* free if non-NULL */
+ FT_Int NumKernPair;
+
+ } AFM_FontInfoRec, *AFM_FontInfo;
+
+
+ /*************************************************************************/
+ /*************************************************************************/
+ /*************************************************************************/
+ /*** ***/
+ /*** ***/
/*** ORIGINAL T1_FACE CLASS DEFINITION ***/
/*** ***/
/*** ***/