Back to index

tetex-bin  3.0
Classes | Defines | Typedefs
dvips.h File Reference
#include <stdio.h>
#include <strings.h>
#include "paths.h"
#include "debug.h"
#include <stdlib.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  resfont
struct  tcd
struct  tfd
struct  tft
struct  frametype
struct  charusetype
struct  t
struct  header_list
struct  papsiz

Defines

#define BANNER   "This is dvips(k) 5.95a Copyright 2005 Radical Eye Software"
#define BANNER2   "(www.radicaleye.com)"
#define DEBUG
#define STRINGSIZE   (200000) /* maximum total chars in strings in program */
#define RASTERCHUNK   (8192) /* size of chunk of raster */
#define MINCHUNK   (240) /* minimum size char to get own raster */
#define STACKSIZE   (350) /* maximum stack size for dvi files */
#define MAXFRAME   (10) /* maximum depth of virtual font recursion */
#define MAXFONTHD   (100) /* number of unique names of included fonts */
#define STDOUTSIZE   (75) /* width of a standard output line */
#define SWMEM   (180000) /* available virtual memory in PostScript printer */
#define DPI   (actualdpi) /* dots per inch */
#define VDPI   (vactualdpi) /* dots per inch */
#define RES_TOLERANCE(dpi)   ((int)(1+dpi/500))
#define FONTCOST   (298) /* overhead cost of each sw font */
#define PSFONTCOST   (1100) /* overhead cost for PostScript fonts */
#define PSCHARCOST   (20) /* overhead cost for PostScript font chars */
#define DNFONTCOST   (35000) /* overhead cost for downloaded PS font */
#define CHARCOST   (15) /* overhead cost for each character */
#define OVERCOST   (30000) /* cost of overhead */
#define DICTITEMCOST   (20) /* cost per key, value in dictionary */
#define NAMECOST   (40) /* overhead cost of each new name */
#define RESHASHPRIME   (73)
#define EXISTS   (1)
#define PREVPAGE   (2)
#define THISPAGE   (4)
#define TOOBIG   (8) /* not used at the moment */
#define REPACKED   (16)
#define BIGCHAR   (32)
#define STATUSFLAGS   (EXISTS|REPACKED|BIGCHAR)
#define putlong   was_putlong
#define VOID   void
#define USE_PCLOSE   (801)
#define USE_FCLOSE   (802)
#define FOPEN_ABIN_MODE   "a"
#define FOPEN_RBIN_MODE   "r"
#define WRITEBIN   "w"
#define SET_BINARY(fd)
#define IS_DEVICE_SEP(c)   0
#define STREQ(s1, s2)   (((s1) != NULL) && ((s2) != NULL) && !strcmp((s1), (s2)))
#define NAME_BEGINS_WITH_DEVICE(name)   0
#define IS_DIR_SEP(c)   ((c) == DIRSEP)
#define FILESTRCASEEQ   STREQ
#define TOLOWER(c)   tolower(c)
#define ISALNUM(c)   isalnum(c)
#define ISXDIGIT(c)   (isascii (c) && isxdigit(c))
#define AA(args)   ()
#define P1H(p1)   ()
#define P2H(p1, p2)   ()
#define P3H(p1, p2, p3)   ()
#define P4H(p1, p2, p3, p4)   ()
#define P5H(p1, p2, p3, p4, p5)   ()
#define P6H(p1, p2, p3, p4, p5, p6)   ()
#define P1C(t1, n1)   (n1) t1 n1;
#define P2C(t1, n1, t2, n2)   (n1,n2) t1 n1; t2 n2;
#define P3C(t1, n1, t2, n2, t3, n3)   (n1,n2,n3) t1 n1; t2 n2; t3 n3;
#define P4C(t1, n1, t2, n2, t3, n3, t4, n4)
#define P5C(t1, n1, t2, n2, t3, n3, t4, n4, t5, n5)
#define P6C(t1, n1, t2, n2, t3, n3, t4, n4, t5, n5, t6, n6)
#define P9C(t1, n1, t2, n2, t3, n3, t4, n4, t5, n5, t6, n6, t7, n7, t8, n8, t9, n9)   t1 n1; t2 n2; t3 n3; t4 n4; t5 n5; t6 n6; t7 n7; t8 n8; t9 n9;

Typedefs

typedef int integer
typedef char boolean
typedef double real
typedef short shalfword
typedef unsigned short halfword
typedef unsigned char quarterword
typedef short Boolean
typedef struct tcd chardesctype
typedef struct tfd fontdesctype
typedef struct tft fontmaptype
typedef struct t sectiontype

Class Documentation

struct resfont

Definition at line 129 of file dvips.h.

Collaboration diagram for resfont:
Class Members
char * downloadheader
char * Fontfile
char * Keyname
struct resfont * next
char * PSname
quarterword sent
char * specialinstructions
char * TeXname
char * Vectfile
struct tcd

Definition at line 142 of file dvips.h.

Class Members
quarterword flags
quarterword flags2
quarterword * packptr
shalfword pixelwidth
integer TFMwidth
struct tfd

Definition at line 168 of file dvips.h.

Collaboration diagram for tfd:
Class Members
halfword alreadyscaled
char * area
chardesctype * chardesc
integer checksum
quarterword codewidth
integer designsize
halfword dpi
halfword loaded
halfword loadeddpi
struct tft * localfonts
integer maxchars
char * name
struct tfd * next
struct tfd * nextsize
quarterword psflag
halfword psname
struct resfont * resfont
integer scaledsize
char * scalename
integer thinspace
struct tft

Definition at line 188 of file dvips.h.

Collaboration diagram for tft:
Class Members
fontdesctype * desc
integer fontnum
struct tft * next
struct frametype

Definition at line 197 of file dvips.h.

Collaboration diagram for frametype:
Class Members
fontdesctype * curf
quarterword * curl
quarterword * curp
fontmaptype * ff
struct charusetype

Definition at line 207 of file dvips.h.

Collaboration diagram for charusetype:
Class Members
halfword bitmap
fontdesctype * fd
halfword psfused
struct t

Definition at line 223 of file dvips.h.

Collaboration diagram for t:
Class Members
integer bos
struct t * next
halfword numpages
struct header_list

Definition at line 242 of file dvips.h.

Collaboration diagram for header_list:
Class Members
char * Hname
char name
struct header_list * next
struct papsiz

Definition at line 255 of file dvips.h.

Collaboration diagram for papsiz:
Class Members
char * name
struct papsiz * next
char * specdat
integer xsize
integer ysize

Define Documentation

#define AA (   args)    ()

Definition at line 377 of file dvips.h.

#define BANNER   "This is dvips(k) 5.95a Copyright 2005 Radical Eye Software"

Definition at line 14 of file dvips.h.

#define BANNER2   "(www.radicaleye.com)"

Definition at line 16 of file dvips.h.

#define BIGCHAR   (32)

Definition at line 153 of file dvips.h.

#define CHARCOST   (15) /* overhead cost for each character */

Definition at line 79 of file dvips.h.

#define DEBUG

Definition at line 23 of file dvips.h.

#define DICTITEMCOST   (20) /* cost per key, value in dictionary */

Definition at line 81 of file dvips.h.

#define DNFONTCOST   (35000) /* overhead cost for downloaded PS font */

Definition at line 78 of file dvips.h.

#define DPI   (actualdpi) /* dots per inch */

Definition at line 71 of file dvips.h.

#define EXISTS   (1)

Definition at line 148 of file dvips.h.

#define FILESTRCASEEQ   STREQ

Definition at line 347 of file dvips.h.

#define FONTCOST   (298) /* overhead cost of each sw font */

Definition at line 75 of file dvips.h.

#define FOPEN_ABIN_MODE   "a"

Definition at line 306 of file dvips.h.

#define FOPEN_RBIN_MODE   "r"

Definition at line 307 of file dvips.h.

#define IS_DEVICE_SEP (   c)    0

Definition at line 336 of file dvips.h.

#define IS_DIR_SEP (   c)    ((c) == DIRSEP)

Definition at line 346 of file dvips.h.

#define ISALNUM (   c)    isalnum(c)

Definition at line 351 of file dvips.h.

#define ISXDIGIT (   c)    (isascii (c) && isxdigit(c))

Definition at line 352 of file dvips.h.

#define MAXFONTHD   (100) /* number of unique names of included fonts */

Definition at line 65 of file dvips.h.

#define MAXFRAME   (10) /* maximum depth of virtual font recursion */

Definition at line 64 of file dvips.h.

#define MINCHUNK   (240) /* minimum size char to get own raster */

Definition at line 62 of file dvips.h.

#define NAME_BEGINS_WITH_DEVICE (   name)    0

Definition at line 345 of file dvips.h.

#define NAMECOST   (40) /* overhead cost of each new name */

Definition at line 82 of file dvips.h.

#define OVERCOST   (30000) /* cost of overhead */

Definition at line 80 of file dvips.h.

#define P1C (   t1,
  n1 
)    (n1) t1 n1;

Definition at line 386 of file dvips.h.

#define P1H (   p1)    ()

Definition at line 379 of file dvips.h.

#define P2C (   t1,
  n1,
  t2,
  n2 
)    (n1,n2) t1 n1; t2 n2;

Definition at line 387 of file dvips.h.

#define P2H (   p1,
  p2 
)    ()

Definition at line 380 of file dvips.h.

#define P3C (   t1,
  n1,
  t2,
  n2,
  t3,
  n3 
)    (n1,n2,n3) t1 n1; t2 n2; t3 n3;

Definition at line 388 of file dvips.h.

#define P3H (   p1,
  p2,
  p3 
)    ()

Definition at line 381 of file dvips.h.

#define P4C (   t1,
  n1,
  t2,
  n2,
  t3,
  n3,
  t4,
  n4 
)
Value:
(n1,n2,n3,n4) \
  t1 n1; t2 n2; t3 n3; t4 n4;

Definition at line 389 of file dvips.h.

#define P4H (   p1,
  p2,
  p3,
  p4 
)    ()

Definition at line 382 of file dvips.h.

#define P5C (   t1,
  n1,
  t2,
  n2,
  t3,
  n3,
  t4,
  n4,
  t5,
  n5 
)
Value:
(n1,n2,n3,n4,n5) \
  t1 n1; t2 n2; t3 n3; t4 n4; t5 n5;

Definition at line 391 of file dvips.h.

#define P5H (   p1,
  p2,
  p3,
  p4,
  p5 
)    ()

Definition at line 383 of file dvips.h.

#define P6C (   t1,
  n1,
  t2,
  n2,
  t3,
  n3,
  t4,
  n4,
  t5,
  n5,
  t6,
  n6 
)
Value:
(n1,n2,n3,n4,n5,n6) \
  t1 n1; t2 n2; t3 n3; t4 n4; t5 n5; t6 n6;

Definition at line 393 of file dvips.h.

#define P6H (   p1,
  p2,
  p3,
  p4,
  p5,
  p6 
)    ()

Definition at line 384 of file dvips.h.

#define P9C (   t1,
  n1,
  t2,
  n2,
  t3,
  n3,
  t4,
  n4,
  t5,
  n5,
  t6,
  n6,
  t7,
  n7,
  t8,
  n8,
  t9,
  n9 
)    t1 n1; t2 n2; t3 n3; t4 n4; t5 n5; t6 n6; t7 n7; t8 n8; t9 n9;

Definition at line 402 of file dvips.h.

#define PREVPAGE   (2)

Definition at line 149 of file dvips.h.

#define PSCHARCOST   (20) /* overhead cost for PostScript font chars */

Definition at line 77 of file dvips.h.

#define PSFONTCOST   (1100) /* overhead cost for PostScript fonts */

Definition at line 76 of file dvips.h.

#define putlong   was_putlong

Definition at line 251 of file dvips.h.

#define RASTERCHUNK   (8192) /* size of chunk of raster */

Definition at line 61 of file dvips.h.

#define REPACKED   (16)

Definition at line 152 of file dvips.h.

#define RES_TOLERANCE (   dpi)    ((int)(1+dpi/500))

Definition at line 73 of file dvips.h.

#define RESHASHPRIME   (73)

Definition at line 128 of file dvips.h.

#define SET_BINARY (   fd)

Definition at line 330 of file dvips.h.

#define STACKSIZE   (350) /* maximum stack size for dvi files */

Definition at line 63 of file dvips.h.

Definition at line 154 of file dvips.h.

#define STDOUTSIZE   (75) /* width of a standard output line */

Definition at line 66 of file dvips.h.

#define STREQ (   s1,
  s2 
)    (((s1) != NULL) && ((s2) != NULL) && !strcmp((s1), (s2)))

Definition at line 338 of file dvips.h.

#define STRINGSIZE   (200000) /* maximum total chars in strings in program */

Definition at line 60 of file dvips.h.

#define SWMEM   (180000) /* available virtual memory in PostScript printer */

Definition at line 70 of file dvips.h.

#define THISPAGE   (4)

Definition at line 150 of file dvips.h.

#define TOLOWER (   c)    tolower(c)

Definition at line 350 of file dvips.h.

#define TOOBIG   (8) /* not used at the moment */

Definition at line 151 of file dvips.h.

#define USE_FCLOSE   (802)

Definition at line 297 of file dvips.h.

#define USE_PCLOSE   (801)

Definition at line 296 of file dvips.h.

#define VDPI   (vactualdpi) /* dots per inch */

Definition at line 72 of file dvips.h.

#define VOID   void

Definition at line 293 of file dvips.h.

#define WRITEBIN   "w"

Definition at line 316 of file dvips.h.


Typedef Documentation

typedef char boolean

Definition at line 94 of file dvips.h.

typedef short Boolean

Definition at line 104 of file dvips.h.

typedef struct tcd chardesctype
typedef struct tfd fontdesctype
typedef struct tft fontmaptype
typedef unsigned short halfword

Definition at line 98 of file dvips.h.

typedef int integer

Definition at line 91 of file dvips.h.

typedef unsigned char quarterword

Definition at line 99 of file dvips.h.

typedef double real

Definition at line 96 of file dvips.h.

typedef struct t sectiontype
typedef short shalfword

Definition at line 97 of file dvips.h.