home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d8xx
/
d835
/
mandelsquare.lha
/
MandelSquare
/
MandelSquare-1.06.lha
/
Font.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-01
|
2KB
|
72 lines
/*
** MandelSquare - AmigaDOS 2.0/3.0 Mandelbrot set explorer
**
** Font.c, Coordinates display font
**
** Copyright © 1991-1992 by Olaf `Olsen' Barthel
** All Rights Reserved
*/
/* 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
};