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 >
Wrap
C/C++ Source or Header
|
1992-01-04
|
2KB
|
77 lines
/** Revision Header * Header built automatically - do not edit! *************
*
* (C) Copyright 1991 by Olaf `Olsen' Barthel, all rights reserved
*
* Name .....: Font.c
* Created ..: Monday 26-Aug-91 11:20
* Revision .: 1
*
* Date Author Comment
* ========= ======== ====================
* 26-Aug-91 Olsen Created this file!
*
***************************************************************************/
/* The following data was created using the program `ExtractFont'.
* It is a run-dump of a proportional font which contains digits,
* the decimal point and a couple of symbols.
*/
STATIC UBYTE FontName[] = "digit.font";
STATIC UWORD CharData[] =
{
0xf680,0x00c9,0x987d,0xbd98,
0x96d4,0x0f3a,0x64e2,0x0664,
0xc92f,0xc128,0x897f,0x899c,
0x9554,0x0f29,0x27c6,0x5244,
0xf500,0x20df,0xd879,0x9198,
0x0000,0x0000,0x0000,0x0000,
};
STATIC ULONG CharLoc[] =
{
0x00000000,0x00000000,0x00000000,0x00000000,
0x00000003,0x00000000,0x00000000,0x00000000,
0x00030003,0x00060003,0x00090003,0x000c0003,
0x00000000,0x000f0003,0x00120002,0x00140003,
0x00170004,0x001b0003,0x001e0004,0x00220004,
0x00260004,0x002a0004,0x002e0004,0x00320004,
0x00360004,0x003a0004,
};
STATIC UWORD CharSpace[] =
{
0x0005,0x0000,0x0000,0x0000,0x0004,0x0000,0x0000,0x0000,
0x0004,0x0004,0x0004,0x0004,0x0005,0x0004,0x0002,0x0004,
0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,
0x0005,0x0005,
};
STATIC UWORD CharKern[] =
{
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x0000,
};
struct TextFont DigitFont =
{
{ { NULL,NULL,NT_FONT,0,FontName},NULL,42},
6,
FS_NORMAL,
FPF_DESIGNED|FPF_PROPORTIONAL|FPF_WIDEDOT|FPF_DISKFONT,
5,
4,
1,
0,
32,
57,
(APTR)CharData,
8,
(APTR)CharLoc,
(APTR)CharSpace,
(APTR)CharKern
};