home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / gle / gle / font.h < prev    next >
C/C++ Source or Header  |  1992-11-29  |  730b  |  38 lines

  1. struct char_data { float wx,wy,x1,y1,x2,y2; };
  2. struct xypair {float x,y;};
  3. struct char_datax { uchar *kern,*lig,*lrep; struct xypair *krep; };
  4. struct font_table {
  5.     char *name;
  6.     char *full_name;
  7.     char *file_metric;
  8.     char *file_vector;
  9.     char *file_bitmap;
  10.     struct char_data (*chr)[256];
  11.     struct char_datax (*chrx)[256];
  12.  
  13.     int encoding;        /* 1 = postscript text , 2=postscrip symbol, */
  14.                 /* 3=TEX text, 4=TEX symbol, 5=TEX extensions */
  15.     float space,space_stretch,space_shrink; /* after encoding *** */
  16.     float scale,slant,uposition,uthickness;
  17.     float fx1,fy1,fx2,fy2,caphei,xhei,descender,ascender;
  18.     float fillerbug;
  19. } ;
  20.  
  21. #ifdef FONTDEF
  22. #else
  23. #define FONTDEF
  24. #endif
  25.  
  26. FONTDEF struct font_table fnt[100];
  27. FONTDEF int nfnt;
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.