1: /*
   2: 	deviceinfo.h:
   3: 		 data describing the Interpress device and fonts
   4: */
   5: 
   6: struct device_entry {
   7:     short   font_size;  /* total size of font_entries in file (bytes), */
   8:     short   resolution; /* resolution of device */
   9:     short   hor_units;  /* horizontal units */
  10:     short   ver_units;  /* vertical units */
  11:     short   width_units;    /* units used to descibe character widths */
  12:     short   num_fonts;  /* number of valid fonts for device */
  13:     short   num_sizes;  /* number of valid sizes for device  */
  14:     short   scaling;    /* scale factor used to represent non-integer point sizes */
  15:     short   output_wid; /* maximum width of output (in units) */
  16:     short   output_len; /* maximum length of output (in units) */
  17:     short   spec_char_num;  /* number of 'special' characters recognized by device */
  18:                 /* must exist in specCharTab */
  19:     short   spec_name_len;  /* length of string containing all 'special' */
  20:                 /* character names */
  21:     short   unused[2];
  22: };
  23: 
  24: struct font_entry {
  25:     char    num_char_wid;       /* number of width entries for this font */
  26:     char    special_flag;       /* indicates if this font is a special font (=1)  */
  27:     char    ligature_flag;      /* indicates if ligatures exist on this font (=1) */
  28:     char    unused;
  29:     char    font_name[10];      /* troff internal font name  */
  30:     char    font_number[10];    /* troff internal font number (ascii equivalent) */
  31: };
Last modified: 1985-09-04
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 712
Valid CSS Valid XHTML 1.0 Strict