home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / IncPOS.lzx / pGFX / DiskFont.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-18  |  1.5 KB  |  59 lines

  1. #ifndef __INC_POS_PGFX_DISKFONT_H
  2. #define __INC_POS_PGFX_DISKFONT_H
  3. /*******************************************************************
  4.  Includes Release 24
  5.  (C) Copyright 1995-1997 proDAD
  6.      All Rights Reserved
  7.  
  8.  $AUT Holger Burkarth
  9.  $DAT >>DiskFont.h<<   02 Jul 1996    16:44:42 - (C) ProDAD
  10. *******************************************************************/
  11. #ifndef __INC_POS_PEXEC_LIST_H
  12. #include <pExec/List.h>
  13. #endif
  14.  
  15.  
  16. enum {
  17.  pOS_MaxFontPath=256,
  18.  DFH_ID=         0x0f80,
  19.  pOS_MaxFontName=32, /* font name including ".font\0" */
  20. };
  21.  
  22.  
  23. /*----------------------------------
  24. -----------------------------------*/
  25. struct pOS_DiskFontHeader
  26. {
  27.   UBYTE                  dfh_Pad[4];
  28.   struct pOS_ExNode      dfh_DF;
  29.   UWORD                  dfh_FileID;         /* DFH_ID */
  30.   UWORD                  dfh_Revision;       /* the font revision */
  31.   struct pOS_SegmentLst* dfh_Segment;        /* the segment address when loaded */
  32.   CHAR                   dfh_Name[ pOS_MaxFontName ]; /* the font name (null terminated) */
  33.  
  34.   union {
  35.     struct {
  36.       struct pOS_ExNode dfhd_Node;
  37.       UBYTE      dfhd_Pad[6];
  38.       UWORD      dfhd_YSize;
  39.       UBYTE      dfhd_Style;
  40.       UBYTE      dfhd_Flags;
  41.       UWORD      dfhd_XSize;
  42.       UWORD      dfhd_Baseline;
  43.       UWORD      dfhd_BoldSmear;
  44.       UWORD      dfhd_Accessors;
  45.       UBYTE      dfhd_LoChar;
  46.       UBYTE      dfhd_HiChar;
  47.       APTR       dfhd_CharData;
  48.       UWORD      dfhd_Modulo;
  49.       APTR       dfhd_CharLoc;
  50.       APTR       dfhd_CharSpace;
  51.       APTR       dfhd_CharKern;
  52.     } dfh_Data;
  53.  
  54.   } dfh_U;
  55.  
  56. };
  57.  
  58. #endif
  59.