Back to index

tetex-bin  3.0
dvi.h
Go to the documentation of this file.
00001 /* dvi.h: All of the DVI commands
00002 
00003 This file is part of Omega,
00004 which is based on the web2c distribution of TeX,
00005 
00006 Copyright (c) 1994--2001 John Plaice and Yannis Haralambous
00007 
00008 Omega is free software; you can redistribute it and/or modify
00009 it under the terms of the GNU General Public License as published by
00010 the Free Software Foundation; either version 2 of the License, or
00011 (at your option) any later version.
00012 
00013 Omega is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License for more details.
00017 
00018 You should have received a copy of the GNU General Public License
00019 along with Omega; if not, write to the Free Software Foundation, Inc.,
00020 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
00021 
00022 */
00023 
00024 /* VF commands */
00025 
00026 #define VF_ID        202 /* the second byte of a VF file */
00027 #define VF_LONG_CHAR 242 /* long format for character packets */
00028 
00029 /* DVI commands */
00030 
00031 #define DVI_SET_CHAR_0    0 /* typeset character 0 and move right */
00032 #define DVI_SET_CHAR_127 127 /* ... to 127 */
00033 #define DVI_SET_1        128 /* typeset a char (1 byte)  and move right */
00034 #define DVI_SET_2        129 /* typeset a char (2 bytes) and move right */
00035 #define DVI_SET_3        130 /* typeset a char (3 bytes) and move right */
00036 #define DVI_SET_4        131 /* typeset a char (4 bytes) and move right */
00037 #define DVI_SET_RULE     132 /* typeset a rule and move right */
00038 #define DVI_PUT_1        133 /* typeset a char (1 byte)  and stay put */
00039 #define DVI_PUT_2        134 /* typeset a char (2 bytes) and stay put */
00040 #define DVI_PUT_3        135 /* typeset a char (3 bytes) and stay put */
00041 #define DVI_PUT_4        136 /* typeset a char (4 bytes) and stay put */
00042 #define DVI_PUT_RULE     137 /* typeset a rule and stay put */
00043 #define DVI_NOP          138 /* no-op */
00044 #define DVI_BOP          139 /* beginning of page */
00045 #define DVI_EOP          140 /* end of page */
00046 #define DVI_PUSH         141 /* save the current positions */
00047 #define DVI_POP          142 /* restore previous positions */
00048 #define DVI_RIGHT_1      143 /* move right (1 byte)  */
00049 #define DVI_RIGHT_2      144 /* move right (2 bytes) */
00050 #define DVI_RIGHT_3      145 /* move right (3 bytes) */
00051 #define DVI_RIGHT_4      146 /* move right (4 bytes) */
00052 #define DVI_W_0          147 /* move right by |w| */
00053 #define DVI_W_1          148 /* move right and set |w| (1 byte)  */
00054 #define DVI_W_2          149 /* move right and set |w| (2 bytes) */
00055 #define DVI_W_3          150 /* move right and set |w| (3 bytes) */
00056 #define DVI_W_4          151 /* move right and set |w| (4 bytes) */
00057 #define DVI_X_0          152 /* move right by |x| */
00058 #define DVI_X_1          153 /* move right and set |x| (1 byte)  */
00059 #define DVI_X_2          154 /* move right and set |x| (2 bytes) */
00060 #define DVI_X_3          155 /* move right and set |x| (3 bytes) */
00061 #define DVI_X_4          156 /* move right and set |x| (4 bytes) */
00062 #define DVI_DOWN_1       157 /* move down (1 byte) */
00063 #define DVI_DOWN_2       158 /* move down (2 bytes) */
00064 #define DVI_DOWN_3       159 /* move down (3 bytes) */
00065 #define DVI_DOWN_4       160 /* move down (4 bytes) */
00066 #define DVI_Y_0          161 /* move down by |y| */
00067 #define DVI_Y_1          162 /* move down and set |y| (1 byte)  */
00068 #define DVI_Y_2          163 /* move down and set |y| (2 bytes) */
00069 #define DVI_Y_3          164 /* move down and set |y| (3 bytes) */
00070 #define DVI_Y_4          165 /* move down and set |y| (4 bytes) */
00071 #define DVI_Z_0          166 /* move down by |z| */
00072 #define DVI_Z_1          167 /* move down and set |z| (1 byte)  */
00073 #define DVI_Z_2          168 /* move down and set |z| (2 bytes) */
00074 #define DVI_Z_3          169 /* move down and set |z| (3 bytes) */
00075 #define DVI_Z_4          170 /* move down and set |z| (4 bytes) */
00076 #define DVI_FNT_NUM_0    171 /* set current font to 0 */
00077 #define DVI_FNT_NUM_63   234 /* ... to 234 */
00078 #define DVI_FNT_1        235 /* set current font (1 byte)  */
00079 #define DVI_FNT_2        236 /* set current font (2 bytes) */
00080 #define DVI_FNT_3        237 /* set current font (3 bytes) */
00081 #define DVI_FNT_4        238 /* set current font (4 bytes) */
00082 #define DVI_XXX_1        239 /* extension to DVI primitives (1 byte)  */
00083 #define DVI_XXX_2        240 /* extension to DVI primitives (2 bytes) */
00084 #define DVI_XXX_3        241 /* extension to DVI primitives (3 bytes) */
00085 #define DVI_XXX_4        242 /* extension to DVI primitives (4 bytes) */
00086 #define DVI_FNT_DEF_1    243 /* declare font (1 byte)  */
00087 #define DVI_FNT_DEF_2    244 /* declare font (2 bytes) */
00088 #define DVI_FNT_DEF_3    245 /* declare font (3 bytes) */
00089 #define DVI_FNT_DEF_4    246 /* declare font (4 bytes) */
00090 #define DVI_PRE          247 /* preamble */
00091 #define DVI_POST         248 /* postamble beginning */
00092 #define DVI_POST_POST    249 /* postamble ending */
00093