|
|
1.1 ! root 1: /* Copyright (c) 1989, 1990 AT&T --- All Rights Reserved. */ ! 2: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T. */ ! 3: /* The copyright notice does not imply actual or intended publication. */ ! 4: /* AUTHORS: */ ! 5: /* H. S. Baird - ATT-BL MH - first versions */ ! 6: /* font.h - typedefs, etc for font-characteristic functions: ! 7: The baseline is defined by the locus of bottoms of all characters that ! 8: have no descenders and are not punctuation. ! 9: The top is the top of characters without risers (negative). ! 10: The `rise' is the (negative) height of risers (above baseline), and `descent' ! 11: is the positive) distance below baseline. ! 12: */ ! 13: ! 14: /* font attributes, in absolute scanner coordinates */ ! 15: typedef struct FontAttr { ! 16: Scoor body; /* point size */ ! 17: Scoor xhgt; /* x-height */ ! 18: Scoor ascd; /* height of ascenders (above xheight, >0) */ ! 19: Scoor caph; /* capital height (above baseline, >0) */ ! 20: Scoor desc; /* height of descenders (below baseline, >0) */ ! 21: Scoor doth; /* height of punctuation dots */ ! 22: } FontAttr; ! 23: ! 24: #ifdef MAIN ! 25: FontAttr *ps_to_attr(); /* pointsize, digit'n resol'n --> attributes */ ! 26: xhgt_to_ps(); ! 27: caph_to_ps(); ! 28: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.