beautypg.com

Microcom 470 User Manual

Page 90

background image

Soft Fonts

Chapter 9

))))))))))))))))))))))))))))))))))))))))))))

))))))))))))))))))))))))))))))))))))))))))))

470 Operators Manual

82

Sample 'C' structure of a Microcom Downloadable Font
/* Microcom Downloadable Font Structure */
/* header data */
typedef struct _Mic_ras
{

char

font_name_2[18];

/* font name surrounded by asterisk's */

unsigned

short

size_of;

/* number of words following */

unsigned

char

first_char;

/* first character in font */

unsigned

char

last_char;

/* last character in font */

unsigned

short

pitch;

/* pitch of packed characters */

unsigned

short

cell_hgt;

/* cell height of font */

unsigned

char

def_char;

/* default character - ex. (' ') */

unsigned

char

fill;

/* filler byte, always 0 */

unsigned

short

LCC;

/* offset to first character tier */

unsigned

short

noff;

/* offset to nonproportional pointer tbl */

}
Mic_ras;

/* Pointer table */
typedef struct _Mic_pnt
{

unsigned

short

LLC0;

/* bit offset from LCC to character */

char

kerning;

/* character kerning */

unsigned

char

descent;

/* baseline descent */

unsigned

char

im_wid;

/* image width */

unsigned

char

cell_wid;

/* cell width */

}
Mic_pnt;

This manual is related to the following products: