C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_fontinfo
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:   <graph.h>
 
  Context:   _getfontinfo
 
  Structure:
 
  struct _fontinfo
  {
      int type;             // b0 set=vector, clear=bit map
      int ascent;           // Pix dist from top to baseline
      int pixwidth;         // Character width in pixels, 0=prop
      int pixheight;        // Character height in pixels
      int avgwidth;         // Average character width in pixels
      char filename[81];    // Filename including path
      char facename[32];    // Font name
  };
                                    -♦-