AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

FONT ( 4) (AT&T UNIX PC only ) FONT(4) Note that this font format is similar to both the MIT "Nu" System font format and the Berkeley "vfont" format. Note too that fonts which appear in windows must be 12-point. A variant of a font character (struct fcdef) is an icon. The icon structure differs from a font character in that the miniraster information is located immediately after the header information. Icons are used for, among other things, controlling the appearance of the mouse-tracking cursor on the display. The icon structure is as follows: #define ICONSIZE 64 /* shorts in icon raster area *I struct icon I* an icon * I { char struct f cdef unsigned short }; Currently, there are no flags defined for ic_flags . EXAMPLE Char a fc_hs 10 fc_vs 25 ic_flags; /* flags *I ic_fc; /* font def *I ic_raster[ICONSIZE] ; /* raster data *I fc_ha 1 fc_va -18 fc_hi 12 ( curx+fc_ha,cury+fc_va) + - - - - - - - - - baseline miniraster size 50 --X XXXX- -- -XXXXXXX- - -XX- --X XX- -------XX- ----X XXXX- -XXXXXXXX- XXX- ---XX­ XX- ----XX­ XX- ---X XX­ XXXXXXXXXX -XXXXX-XXX (curx,cury)+ ---------- .+(curx+fc_hi, - - - - - - - - - - cury) - 2- .+( curx+fc_hi, cury+fc_vi)

FONT ( 4) (AT&T UNIX PC only ) FONT(4) FILES BUGS jusr /includejsysjfont.h jusr /lib/wfont/* Older fonts do not have any value specified for the vertical increment (fc_vi) as this is a relatively new addition to the font character definition. Instead, these characters are made artificially high to extend over the entire cell height. SEE ALSO cfont( l), syslocal(2), window(7), tam(3T). - 3-

FONT ( 4) (AT&T UNIX PC only ) FONT(4)<br />

Note that this font format is similar to both the MIT "Nu" <strong>System</strong><br />

font format and the Berkeley "vfont" format.<br />

Note too that fonts which appear in windows must be 12-point.<br />

A variant of a font character (struct fcdef) is an icon. The icon<br />

structure differs from a font character in that the miniraster information<br />

is located immediately after the header information. Icons<br />

are used for, among other things, controlling the appearance of the<br />

mouse-tracking cursor on the display.<br />

The icon structure is as follows:<br />

#define ICONSIZE 64 /* shorts in icon raster area *I<br />

struct icon<br />

I* an icon * I<br />

{<br />

char<br />

struct f cdef<br />

unsigned short<br />

};<br />

Currently, there are no flags defined for ic_flags .<br />

EXAMPLE<br />

Char<br />

a<br />

fc_hs<br />

10<br />

fc_vs<br />

25<br />

ic_flags; /* flags *I<br />

ic_fc; /* font def *I<br />

ic_raster[ICONSIZE] ; /* raster data *I<br />

fc_ha<br />

1<br />

fc_va<br />

-18<br />

fc_hi<br />

12<br />

( curx+fc_ha,cury+fc_va) + - - - - - - - - -<br />

baseline<br />

miniraster<br />

size<br />

50<br />

--X XXXX- --<br />

-XXXXXXX- -<br />

-XX- --X XX-<br />

-------XX-<br />

----X XXXX-<br />

-XXXXXXXX-<br />

XXX- ---XX­<br />

XX- ----XX­<br />

XX- ---X XX­<br />

XXXXXXXXXX<br />

-XXXXX-XXX<br />

(curx,cury)+ ---------- .+(curx+fc_hi,<br />

- - - - - - - - - - cury)<br />

- 2-<br />

.+( curx+fc_hi,<br />

cury+fc_vi)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!