home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 500-599 / ff588.lza / MandelSquare / Source / Font.c next >
C/C++ Source or Header  |  1992-01-04  |  2KB  |  77 lines

  1. /** Revision Header * Header built automatically - do not edit! *************
  2.  *
  3.  *    (C) Copyright 1991 by Olaf `Olsen' Barthel, all rights reserved
  4.  *
  5.  *    Name .....: Font.c
  6.  *    Created ..: Monday 26-Aug-91 11:20
  7.  *    Revision .: 1
  8.  *
  9.  *    Date            Author          Comment
  10.  *    =========       ========        ====================
  11.  *    26-Aug-91    Olsen        Created this file!
  12.  *
  13.  ***************************************************************************/
  14.  
  15.     /* The following data was created using the program `ExtractFont'.
  16.      * It is a run-dump of a proportional font which contains digits,
  17.      * the decimal point and a couple of symbols.
  18.      */
  19.  
  20. STATIC UBYTE FontName[] = "digit.font";
  21.  
  22. STATIC UWORD CharData[] =
  23. {
  24.     0xf680,0x00c9,0x987d,0xbd98,
  25.     0x96d4,0x0f3a,0x64e2,0x0664,
  26.     0xc92f,0xc128,0x897f,0x899c,
  27.     0x9554,0x0f29,0x27c6,0x5244,
  28.     0xf500,0x20df,0xd879,0x9198,
  29.     0x0000,0x0000,0x0000,0x0000,
  30. };
  31.  
  32. STATIC ULONG CharLoc[] =
  33. {
  34.     0x00000000,0x00000000,0x00000000,0x00000000,
  35.     0x00000003,0x00000000,0x00000000,0x00000000,
  36.     0x00030003,0x00060003,0x00090003,0x000c0003,
  37.     0x00000000,0x000f0003,0x00120002,0x00140003,
  38.     0x00170004,0x001b0003,0x001e0004,0x00220004,
  39.     0x00260004,0x002a0004,0x002e0004,0x00320004,
  40.     0x00360004,0x003a0004,
  41. };
  42.  
  43. STATIC UWORD CharSpace[] =
  44. {
  45.     0x0005,0x0000,0x0000,0x0000,0x0004,0x0000,0x0000,0x0000,
  46.     0x0004,0x0004,0x0004,0x0004,0x0005,0x0004,0x0002,0x0004,
  47.     0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,
  48.     0x0005,0x0005,
  49. };
  50.  
  51. STATIC UWORD CharKern[] =
  52. {
  53.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  54.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  55.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  56.     0x0000,0x0000,
  57. };
  58.  
  59. struct TextFont DigitFont =
  60. {
  61.     { { NULL,NULL,NT_FONT,0,FontName},NULL,42},
  62.     6,
  63.     FS_NORMAL,
  64.     FPF_DESIGNED|FPF_PROPORTIONAL|FPF_WIDEDOT|FPF_DISKFONT,
  65.     5,
  66.     4,
  67.     1,
  68.     0,
  69.     32,
  70.     57,
  71.     (APTR)CharData,
  72.     8,
  73.     (APTR)CharLoc,
  74.     (APTR)CharSpace,
  75.     (APTR)CharKern
  76. };
  77.