Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members  

ttf42_types.h File Reference

Go to the source code of this file.

Compounds

struct  Box
struct  Fixed
struct  GlyphName
struct  hashtable
struct  hashtable_bucket
struct  hashtable_entry
struct  HeadTable
struct  HheaTable
struct  KernEntry0
struct  KernSubTable0
struct  KernSubTableHeader
struct  KernTable
struct  longDateTime
struct  longHorMetric
struct  NameRecord
struct  OffsetTable
struct  PostTable
struct  TableDirectoryEntry

Defines

#define H(x)    ((SHORT)((((SHORT)(x))&0xFF)<<8)+(((USHORT)(x))>>8))
#define UH(x)    ((USHORT)((((USHORT)(x))&0xFF)<<8)+(((USHORT)(x))>>8))
#define L(x)    ((LONG)(((LONG)UH((x)&0xFFFF))<<16)+UH(((ULONG)(x))>>16))
#define UL(x)    ((ULONG)(((ULONG)UH((x)&0xFFFF))<<16)+UH(((ULONG)(x))>>16))
#define FIX_H(x)    x=H(x)
#define FIX_UH(x)    x=UH(x)
#define FIX_L(x)    x=L(x)
#define FIX_UL(x)    x=UL(x)
#define FIX_Fixed(x)    {(x).mantissa=H((x).mantissa); (x).fraction=UH((x).fraction);}
#define MAKE_ULONG(a,b,c,d)    ((ULONG)(((ULONG)(a)<<24)|((b)<<16)|((c)<<8)|(d)))
#define FIX_OffsetTable(x)
#define FIX_TableDirectoryEntry(x)
#define FIX_HeadTable(x)
#define FIX_NameRecord(x)
#define FIX_PostTable(x)
#define FIX_HheaTable(x)
#define FIX_Box(x)    {FIX_H((x).xMin); FIX_H((x).yMin); FIX_H((x).xMax); FIX_H((x).yMax);}
#define FIX_longHorMetric(x)    {FIX_UH((x).advanceWidth); FIX_H((x).lsb);}
#define FIX_KernTable(x)    {FIX_UH((x).version); FIX_UH((x).nTables);}
#define FIX_KernSubTableHeader(x)
#define kernHorizontal   0x0001
#define kernMinimum   0x0002
#define kernCrossStream   0x0004
#define kernOverride   0x0008
#define kernFormat(coverage)    ((coverage)>>8)
#define FIX_KernSubTable0(x)
#define FIX_KernEntry0(x)

Typedefs

typedef unsigned char BYTE
typedef signed char CHAR
typedef unsigned short USHORT
typedef short SHORT
typedef unsigned long ULONG
typedef long LONG
typedef USHORT uFWord
typedef SHORT FWord
typedef USHORT F2Dot14


Detailed Description


Define Documentation

#define FIX_HeadTable( x )
 

Initializer:

\
  {FIX_Fixed((x).version); FIX_Fixed((x).fontRevision);\
   FIX_UL((x).checkSumAdjustment); FIX_UL((x).magicNumber);\
   FIX_UH((x).flags); FIX_UH((x).unitsPerEm);\
   FIX_UH((x).xMin); FIX_UH((x).yMin); FIX_UH((x).xMax); FIX_UH((x).yMax);\
   FIX_UH((x).macStyle); FIX_UH((x).lowestRecPPEM);\
   FIX_H((x).fontDirectionHint); FIX_H((x).indexToLocFormat);\
   FIX_H((x).glyphDataFormat);}

#define FIX_HheaTable( x )
 

Initializer:

\
  {FIX_Fixed((x).version); FIX_H((x).Ascender); FIX_H((x).Descender); FIX_H((x).LineGap);\
   FIX_UH((x).advanceWidthMax);\
   FIX_H((x).minLeftSideBearing); FIX_H((x).minRightSideBearing);\
   FIX_H((x).xMaxExtent); FIX_H((x).caretSlopeRise); FIX_H((x).caretSlopeRun);\
   FIX_H((x).metricDataFormat); FIX_UH((x).numberOfHMetrics);}

#define FIX_KernEntry0( x )
 

Initializer:

\
  {FIX_UH((x).left); FIX_UH((x).right); FIX_H((x).value);}

#define FIX_KernSubTable0( x )
 

Initializer:

\
  {FIX_UH((x).nPairs); FIX_UH((x).searchRange);\
   FIX_UH((x).entrySelector); FIX_UH((x).rangeShift);}

#define FIX_KernSubTableHeader( x )
 

Initializer:

\
  {FIX_UH((x).version); FIX_UH((x).length); FIX_UH((x).coverage);}

#define FIX_NameRecord( x )
 

Initializer:

\
  {FIX_UH((x).platformID); FIX_UH((x).encodingID); FIX_UH((x).languageID);\
   FIX_UH((x).nameID); FIX_UH((x).length); FIX_UH((x).offset);}

#define FIX_OffsetTable( x )
 

Initializer:

\
  {FIX_Fixed((x).version);\
   FIX_UH((x).numTables);\
   FIX_UH((x).searchRange);\
   FIX_UH((x).entrySelector);}

#define FIX_PostTable( x )
 

Initializer:

\
  {FIX_Fixed((x).formatType); FIX_Fixed((x).italicAngle);\
   FIX_H((x).underlinePosition); FIX_H((x).underlineThickness);\
   FIX_UL((x).isFixedPitch);\
   FIX_UL((x).minMemType42); FIX_UL((x).maxMemType42);\
   FIX_UL((x).minMemType1); FIX_UL((x).maxMemType1); }

#define FIX_TableDirectoryEntry( x )
 

Initializer:

\
  {FIX_UL((x).tag); FIX_UL((x).checkSum);\
   FIX_UL((x).offset); FIX_UL((x).length);}


Generated at Mon Dec 11 22:46:30 2000 for Postscript Utility Library by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000