Back to index

tetex-bin  3.0
Defines
t1misc.h File Reference
#include <setjmp.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define LINE_BUF   512
#define BUF_SIZE   512
#define NULLPTR   (void *) 0
#define T1GLYPH_PAD   8
#define T1GLYPH_BIT   0
#define T1GLYPH_BYTE   0
#define PAD(bits, pad)   (((bits)+(pad)-1)&-(pad))
#define SLEEP   for(j=0; j<50; j++){for (k=0; k<65536; k++);}
#define KERN_FLAG   0x01
#define LIGATURE_FLAG   0x02
#define T1_YES   0x1
#define T1_NO   0x0
#define MAXPSNAMELEN   256
#define MAXPATHLEN   4096
#define DEFAULT_RES   72.0
#define BIGPOINTSPERINCH   72.0
#define T1_CONFIGFILENAME   ".t1librc"
#define ENV_CONF_STRING   "T1LIB_CONFIG"
#define GLOBAL_CONFIG_FILE   "t1lib.config"
#define DIRECTORY_SEP   "/"
#define DIRECTORY_SEP_CHAR   '/'
#define PATH_SEP   ":"
#define PATH_SEP_CHAR   ':'
#define INTERNAL_PATH_SEP   "\001"
#define INTERNAL_PATH_SEP_CHAR   '\1'
#define ENV_LOG_STRING   "T1LIB_LOGMODE"
#define T1_LOG_FILE   "t1lib.log"
#define T1LOG_ERROR   1
#define T1LOG_WARNING   2
#define T1LOG_STATISTIC   3
#define T1LOG_DEBUG   4
#define NO_LOGFILE   0x0
#define LOGFILE   0x1
#define IGNORE_FONTDATABASE   0x2 /* Default is to read database */
#define IGNORE_CONFIGFILE   0x4 /* Default is to read config file */
#define T1_AA_CACHING   0x8 /* Cache aa-bytes */
#define T1_NO_AFM   0x10 /* Don't load AFM files or generate AFM data */
#define MAX_LIGS   20
#define AAMAXPLANES   17
#define T1_AA_NONE   1
#define T1_AA_LOW   2
#define T1_AA_HIGH   4
#define T1_AA_SMARTLIMIT1   20.0
#define T1_AA_SMARTLIMIT2   60.0
#define ADVANCE_FONTPRIVATE   10
#define NO_ANTIALIAS   0
#define ANTIALIAS   1
#define T1_PFAB_PATH   0x01
#define T1_AFM_PATH   0x02
#define T1_ENC_PATH   0x04
#define T1_FDB_PATH   0x08
#define T1_APPEND_PATH   0x00
#define T1_PREPEND_PATH   0x01
#define T1_DEFAULT   0x0000
#define T1_UNDERLINE   0x0001
#define T1_OVERLINE   0x0002
#define T1_OVERSTRIKE   0x0004
#define T1_DOUBLEOVERSTRIKE   0x0008
#define T1_RIGHT_TO_LEFT   0x0010
#define T1_SUBSCRIPT   0x0100
#define T1_SUPERSCRIPT   0x0200
#define T1_STROKED   0x1000
#define T1_KERNING   0x2000
#define T1ERR_SCAN_FONT_FORMAT   -5
#define T1ERR_SCAN_FILE_OPEN_ERR   -4
#define T1ERR_SCAN_OUT_OF_MEMORY   -3
#define T1ERR_SCAN_ERROR   -2
#define T1ERR_SCAN_FILE_EOF   -1
#define T1ERR_PATH_ERROR   1
#define T1ERR_PARSE_ERROR   2
#define T1ERR_TYPE1_ABORT   3
#define T1ERR_INVALID_FONTID   10
#define T1ERR_INVALID_PARAMETER   11
#define T1ERR_OP_NOT_PERMITTED   12
#define T1ERR_ALLOC_MEM   13
#define T1ERR_FILE_OPEN_ERR   14
#define T1ERR_UNSPECIFIED   15
#define T1ERR_NO_AFM_DATA   16
#define T1ERR_X11   17
#define T1ERR_COMPOSITE_CHAR   18
#define T1ERR_SCAN_ENCODING   19
#define AFM_SUCCESS   (short)0x0001
#define AFM_SLOPPY_SUCCESS   (short)0x0002
#define AFM_SELFGEN_SUCCESS   (short)0x0004
#define USES_STANDARD_ENCODING   (short)0x0008
#define RASTER_STROKED   (short)0x0010
#define CACHE_STROKED   (short)0x0020
#define FONT_NOCACHING   (short)0x0100
#define PI   3.1415927
#define T1_IGNORE_FORCEBOLD   0x0001
#define T1_IGNORE_FAMILYALIGNMENT   0x0002
#define T1_IGNORE_HINTING   0x0004
#define T1_DEBUG_LINE   0x0100
#define T1_DEBUG_REGION   0x0200
#define T1_DEBUG_PATH   0x0400
#define T1_DEBUG_FONT   0x0800
#define T1_DEBUG_HINT   0x1000
#define DO_RASTER   0x1
#define DO_NOT_RASTER   0x0
#define FF_NOTDEF_SUBST   -1

Define Documentation

#define AAMAXPLANES   17

Definition at line 119 of file t1misc.h.

#define ADVANCE_FONTPRIVATE   10

Definition at line 130 of file t1misc.h.

#define AFM_SELFGEN_SUCCESS   (short)0x0004

Definition at line 185 of file t1misc.h.

#define AFM_SLOPPY_SUCCESS   (short)0x0002

Definition at line 184 of file t1misc.h.

#define AFM_SUCCESS   (short)0x0001

Definition at line 183 of file t1misc.h.

#define ANTIALIAS   1

Definition at line 133 of file t1misc.h.

#define BIGPOINTSPERINCH   72.0

Definition at line 62 of file t1misc.h.

#define BUF_SIZE   512

Definition at line 32 of file t1misc.h.

#define CACHE_STROKED   (short)0x0020

Definition at line 188 of file t1misc.h.

#define DEFAULT_RES   72.0

Definition at line 61 of file t1misc.h.

#define DIRECTORY_SEP   "/"

Definition at line 78 of file t1misc.h.

#define DIRECTORY_SEP_CHAR   '/'

Definition at line 79 of file t1misc.h.

#define DO_NOT_RASTER   0x0

Definition at line 210 of file t1misc.h.

#define DO_RASTER   0x1

Definition at line 209 of file t1misc.h.

#define ENV_CONF_STRING   "T1LIB_CONFIG"

Definition at line 68 of file t1misc.h.

#define ENV_LOG_STRING   "T1LIB_LOGMODE"

Definition at line 96 of file t1misc.h.

#define FF_NOTDEF_SUBST   -1

Definition at line 214 of file t1misc.h.

#define FONT_NOCACHING   (short)0x0100

Definition at line 189 of file t1misc.h.

#define GLOBAL_CONFIG_FILE   "t1lib.config"

Definition at line 69 of file t1misc.h.

#define IGNORE_CONFIGFILE   0x4 /* Default is to read config file */

Definition at line 109 of file t1misc.h.

#define IGNORE_FONTDATABASE   0x2 /* Default is to read database */

Definition at line 108 of file t1misc.h.

#define INTERNAL_PATH_SEP   "\001"

Definition at line 91 of file t1misc.h.

#define INTERNAL_PATH_SEP_CHAR   '\1'

Definition at line 92 of file t1misc.h.

#define KERN_FLAG   0x01

Definition at line 47 of file t1misc.h.

#define LIGATURE_FLAG   0x02

Definition at line 48 of file t1misc.h.

#define LINE_BUF   512

Definition at line 31 of file t1misc.h.

#define LOGFILE   0x1

Definition at line 107 of file t1misc.h.

#define MAX_LIGS   20

Definition at line 115 of file t1misc.h.

#define MAXPATHLEN   4096

Definition at line 58 of file t1misc.h.

#define MAXPSNAMELEN   256

Definition at line 57 of file t1misc.h.

#define NO_ANTIALIAS   0

Definition at line 132 of file t1misc.h.

#define NO_LOGFILE   0x0

Definition at line 106 of file t1misc.h.

#define NULLPTR   (void *) 0

Definition at line 33 of file t1misc.h.

#define PAD (   bits,
  pad 
)    (((bits)+(pad)-1)&-(pad))

Definition at line 40 of file t1misc.h.

#define PATH_SEP   ":"

Definition at line 87 of file t1misc.h.

#define PATH_SEP_CHAR   ':'

Definition at line 88 of file t1misc.h.

#define PI   3.1415927

Definition at line 192 of file t1misc.h.

#define RASTER_STROKED   (short)0x0010

Definition at line 187 of file t1misc.h.

#define SLEEP   for(j=0; j<50; j++){for (k=0; k<65536; k++);}

Definition at line 44 of file t1misc.h.

#define T1_AA_CACHING   0x8 /* Cache aa-bytes */

Definition at line 110 of file t1misc.h.

#define T1_AA_HIGH   4

Definition at line 122 of file t1misc.h.

#define T1_AA_LOW   2

Definition at line 121 of file t1misc.h.

#define T1_AA_NONE   1

Definition at line 120 of file t1misc.h.

#define T1_AA_SMARTLIMIT1   20.0

Definition at line 125 of file t1misc.h.

#define T1_AA_SMARTLIMIT2   60.0

Definition at line 126 of file t1misc.h.

#define T1_AFM_PATH   0x02

Definition at line 138 of file t1misc.h.

#define T1_APPEND_PATH   0x00

Definition at line 141 of file t1misc.h.

#define T1_CONFIGFILENAME   ".t1librc"

Definition at line 67 of file t1misc.h.

#define T1_DEBUG_FONT   0x0800

Definition at line 204 of file t1misc.h.

#define T1_DEBUG_HINT   0x1000

Definition at line 205 of file t1misc.h.

#define T1_DEBUG_LINE   0x0100

Definition at line 201 of file t1misc.h.

#define T1_DEBUG_PATH   0x0400

Definition at line 203 of file t1misc.h.

#define T1_DEBUG_REGION   0x0200

Definition at line 202 of file t1misc.h.

#define T1_DEFAULT   0x0000

Definition at line 146 of file t1misc.h.

#define T1_DOUBLEOVERSTRIKE   0x0008

Definition at line 150 of file t1misc.h.

#define T1_ENC_PATH   0x04

Definition at line 139 of file t1misc.h.

#define T1_FDB_PATH   0x08

Definition at line 140 of file t1misc.h.

#define T1_IGNORE_FAMILYALIGNMENT   0x0002

Definition at line 198 of file t1misc.h.

#define T1_IGNORE_FORCEBOLD   0x0001

Definition at line 197 of file t1misc.h.

#define T1_IGNORE_HINTING   0x0004

Definition at line 199 of file t1misc.h.

#define T1_KERNING   0x2000

Definition at line 155 of file t1misc.h.

#define T1_LOG_FILE   "t1lib.log"

Definition at line 97 of file t1misc.h.

#define T1_NO   0x0

Definition at line 53 of file t1misc.h.

#define T1_NO_AFM   0x10 /* Don't load AFM files or generate AFM data */

Definition at line 111 of file t1misc.h.

#define T1_OVERLINE   0x0002

Definition at line 148 of file t1misc.h.

#define T1_OVERSTRIKE   0x0004

Definition at line 149 of file t1misc.h.

#define T1_PFAB_PATH   0x01

Definition at line 137 of file t1misc.h.

#define T1_PREPEND_PATH   0x01

Definition at line 142 of file t1misc.h.

#define T1_RIGHT_TO_LEFT   0x0010

Definition at line 151 of file t1misc.h.

#define T1_STROKED   0x1000

Definition at line 154 of file t1misc.h.

#define T1_SUBSCRIPT   0x0100

Definition at line 152 of file t1misc.h.

#define T1_SUPERSCRIPT   0x0200

Definition at line 153 of file t1misc.h.

#define T1_UNDERLINE   0x0001

Definition at line 147 of file t1misc.h.

#define T1_YES   0x1

Definition at line 52 of file t1misc.h.

#define T1ERR_ALLOC_MEM   13

Definition at line 173 of file t1misc.h.

#define T1ERR_COMPOSITE_CHAR   18

Definition at line 178 of file t1misc.h.

#define T1ERR_FILE_OPEN_ERR   14

Definition at line 174 of file t1misc.h.

#define T1ERR_INVALID_FONTID   10

Definition at line 170 of file t1misc.h.

#define T1ERR_INVALID_PARAMETER   11

Definition at line 171 of file t1misc.h.

#define T1ERR_NO_AFM_DATA   16

Definition at line 176 of file t1misc.h.

#define T1ERR_OP_NOT_PERMITTED   12

Definition at line 172 of file t1misc.h.

#define T1ERR_PARSE_ERROR   2

Definition at line 167 of file t1misc.h.

#define T1ERR_PATH_ERROR   1

Definition at line 166 of file t1misc.h.

#define T1ERR_SCAN_ENCODING   19

Definition at line 179 of file t1misc.h.

#define T1ERR_SCAN_ERROR   -2

Definition at line 163 of file t1misc.h.

#define T1ERR_SCAN_FILE_EOF   -1

Definition at line 164 of file t1misc.h.

#define T1ERR_SCAN_FILE_OPEN_ERR   -4

Definition at line 161 of file t1misc.h.

#define T1ERR_SCAN_FONT_FORMAT   -5

Definition at line 160 of file t1misc.h.

#define T1ERR_SCAN_OUT_OF_MEMORY   -3

Definition at line 162 of file t1misc.h.

#define T1ERR_TYPE1_ABORT   3

Definition at line 168 of file t1misc.h.

#define T1ERR_UNSPECIFIED   15

Definition at line 175 of file t1misc.h.

#define T1ERR_X11   17

Definition at line 177 of file t1misc.h.

#define T1GLYPH_BIT   0

Definition at line 38 of file t1misc.h.

#define T1GLYPH_BYTE   0

Definition at line 39 of file t1misc.h.

#define T1GLYPH_PAD   8

Definition at line 37 of file t1misc.h.

#define T1LOG_DEBUG   4

Definition at line 102 of file t1misc.h.

#define T1LOG_ERROR   1

Definition at line 99 of file t1misc.h.

#define T1LOG_STATISTIC   3

Definition at line 101 of file t1misc.h.

#define T1LOG_WARNING   2

Definition at line 100 of file t1misc.h.

#define USES_STANDARD_ENCODING   (short)0x0008

Definition at line 186 of file t1misc.h.