/usr/share/z88dk/include/oz700/ozfont.h is in z88dk-data 1.8.ds1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | /*
HTC Compatibility Library and OZ extras
Fonts
$Id: ozfont.h,v 1.4 2003/10/23 10:42:49 stefano Exp $
*/
#ifndef _OZFONT_H
#define _OZFONT_H
#ifndef _OZ_BYTE
typedef unsigned char byte;
#define _OZ_BYTE
#endif
/* 12 bytes long */
struct ozfontheader
{
unsigned checksum;
unsigned magic; /* 0x466F */
unsigned length; /* including length of header */
byte first;
byte last;
byte bitmap_height;
byte line_height; /* recommended */
byte maxwidth;
byte active;
};
struct ozfonttableentry
{
byte width;
unsigned offset;
};
extern byte *ozfontpointers[];
extern byte ozcustomactivefont;
extern byte _LIB_ ozscancustomfonts(void);
extern void _LIB_ ozsetfontpointer(byte *font);
extern void _LIB_ ozclearcustomfontslot(byte slot);
extern void _LIB_ ozwritecustomfontbyte(byte slot,unsigned offset,byte value);
extern void _LIB_ ozwritecustomfontmem(byte slot,byte *fontdata);
#define MASK_CUSTOM0 1
#define MASK_CUSTOM1 2
#define FONT_CUSTOM0 4
#define FONT_CUSTOM1 5
#define FONT_TEMPORARY 6
#define MAX_CUSTOM_SLOT_SIZE 0x0D80
#endif
|