TeX in C
Explore TeX with modern c compiler.
|
宏定义 | |
#define | FONTS_H |
字体相关函数 更多... | |
#define | opbyte(x) (x.b2) |
[p199#545] 更多... | |
#define | rembyte(x) (x.b3) |
#define | stopflag qi(128) |
[p199#545] value indicating ‘.{STOP}’ in a lig/kern program. 更多... | |
#define | kernflag qi(128) |
[p199#545] op code for a kern step. 更多... | |
#define | skipbyte(x) x.b0 |
#define | nextchar(x) x.b1 |
#define | charexists(x) ((x).b0>MIN_QUARTER_WORD) |
[p203#554] 更多... | |
#define | chartag(x) ((qo((x).b2)) % 4) |
#define | heightdepth(x) qo(x.b1) |
[p203#554] 更多... | |
#define | ligkernstart(x, y) (ligkernbase[(x)] + rembyte(y)) |
[p204#557] beginning of lig/kern program 更多... | |
#define | ligkernrestart(x, y) (ligkernbase[(x)] + opbyte(y) * 256 + rembyte(y) - kernbaseoffset + 32768L) |
[p204#557] 更多... | |
#define | NON_CHAR 256 |
[#549] a |halfword| code that can't match a real character} 更多... | |
#define | nonaddress 0 |
[p201#549] a spurious bchar label 更多... | |
#define | kernbaseoffset 32768 |
[p204#557] 更多... | |
#define | param(x, y) (fontinfo[(x) + parambase[y]].sc) |
[p204#558] 更多... | |
#define | slant(x) param(SLANT_CODE,x) /* slant to the right, per unit distance upward}*/ |
#define | space(x) param(SPACE_CODE,x) /* NORMAL space between words}*/ |
#define | spacestretch(x) param(SPACE_STRETCH_CODE,x) /* stretch between words}*/ |
#define | spaceshrink(x) param(SPACE_SHRINK_CODE,x) /* shrink between words}*/ |
#define | xheight(x) param(X_HEIGHT_CODE,x) /* one ex}*/ |
#define | quad(x) param(QUAD_CODE,x) /* one em}*/ |
#define | extraspace(x) param(EXTRA_SPACE_CODE,x) /* additional space at end of sentence}*/ |
#define | badtfm 11 |
[p205#560] 更多... | |
#define | exttop(x) x.b0 /* |top| piece in a recipe */ |
[p199#564] 更多... | |
#define | extmid(x) x.b1 /* |mid| piece in a recipe */ |
#define | extbot(x) x.b2 /* |bot| piece in a recipe */ |
#define | extrep(x) x.b3 /* |rep| piece in a recipe */ |
类型定义 | |
typedef UChar | InternalFontNumber |
[#548]: [FONT_BASE, FONT_MAX] = [0, 75] 更多... | |
typedef Pointer | FontIndex |
枚举 | |
enum | CharTag { NO_TAG , LIG_TAG , LIST_TAG , EXT_TAG } |
[p198#544]: tag field in a char_info_word that explain how to interpret the remainder field. 更多... | |
enum | TFMParamVal { TFM_PARAM_MISSING , SLANT_CODE , SPACE_CODE , SPACE_STRETCH_CODE , SPACE_SHRINK_CODE , X_HEIGHT_CODE , QUAD_CODE , EXTRA_SPACE_CODE } |
[p200#547] 更多... | |
变量 | |
InternalFontNumber | fontptr |
largest internal font number in use 更多... | |
Boolean | fontused [FONT_MAX+1] |
has a character from this font actually appeared in the output? 更多... | |
FontIndex | fmemptr |
first unused word of font info 更多... | |
MemoryWord | fontinfo [FONT_MEM_SIZE+1] |
the big collection of font data 更多... | |
FontIndex | fontparams [FONT_MAX+1] |
how many font parameters are present 更多... | |
EightBits | fontbc [FONT_MAX+1] |
beginning (smallest) character code 更多... | |
EightBits | fontec [FONT_MAX+1] |
ending (largest) character code. 更多... | |
Pointer | fontglue [FONT_MAX+1] |
glue specification for interword space, null if not allocated. 更多... | |
FontIndex | bcharlabel [FONT_MAX+1] |
start of lig kern program for left boundary character, non address if there is none. 更多... | |
Integer | fontbchar [FONT_MAX+1] |
right boundary character, non char if there is none. 更多... | |
Integer | fontfalsebchar [FONT_MAX+1] |
font bchar if it doesn’t exist in the font, otherwise non char. 更多... | |
Integer | ligkernbase [FONT_MAX+1] |
base addresses for ligature/kerning programs. 更多... | |
Integer | extenbase [FONT_MAX+1] |
base addresses for extensible recipes. 更多... | |
Integer | parambase [FONT_MAX+1] |
base addresses for font parameters. 更多... | |
FourQuarters | nullcharacter |
#define FONTS_H |
字体相关函数