vfont.5
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 5 代码 · 共 88 行
5
88 行
.\" SCCSID: @(#)vfont.5 8.1 9/11/90.TH vfont 5 VAX "" Unsupported.SH Namevfont \- font formats for the Benson-Varian or Versatec.SH Syntax.B /usr/lib/vfont/\(**.SH DescriptionThe fonts for the printer/plotters have the following format.Each file contains a header, an array of 256 character descriptionstructures, and then the bit maps for the characters themselves.The header has the following format:.in +5.nf.sp.ta 8n +\w'unsigned short 'u\f(CWstruct header { short magic; unsigned short size; short maxx; short maxy; short xtnd;} header;\fP.fi.in \-5.PPThe.I magicnumber is 0436 (octal).The.I maxx,.I maxy,and.I xtndfields are not used at the current time..I Maxxand.I maxyare intended to be the maximum horizontal and vertical size ofany glyph in the font, in raster lines.The.I sizeis the size of thebit maps for the characters in bytes.Before the maps for the characters is an array of 256 structures foreach of the possible characters in the font.Each element of the array has the form:.in +5.nf.sp.ta 8n +\w'unsigned short 'u\f(CWstruct dispatch { unsigned short addr; short nbytes; char up; char down; char left; char right; short width;};\fP.fi.in \-5.PPThe.I nbytesfield is nonzero for characters which actually exist.For such characters, the.I addrfield is an offset into the rest of the file where the data forthat character begins.There are.I up+downrows of data for each character,each of which has.I left+rightbits, rounded up to a number of bytes.The.I widthfield is not used by vcat,although it isto make width tables for.IR troff .It represents the logical width of the glyph, in raster lines,and shows where the base point of the next glyph would be..SH Files.PN /usr/lib/vfont/\(**.SH See Alsotroff(1), pti(1), vpr(1), vtroff(1), vfontinfo(1)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?