home *** CD-ROM | disk | FTP | other *** search
- Latest comments are at the end of the file. Add changes there.
- ===$Header: README,v 1.2 88/07/22 21:00:33 eichin Exp $===
- ================================================================
- This directory contains a version of xdvi capable of reading GF, PXL
- and PK font files. This version of xdvi is based on the source that
- "came with" X v10r3. Xdvi was modified by Paal Kvamme at the Norwegian
- Institute of Technology, based on the modifications I had made to
- dviimp (a dvi to ImPress converter). This code was again more or less
- directly translated from the web source of PKtoPX.
-
- If you discover (and fix) any bugs in this code, please notify me, so
- I can make the corresponding changes myself.
-
- Makefile was modified slightly to suit local conventions (CONFDIR and
- INCLUDES).
-
- [I threw in an Imakefile, but it's only a guess, as they don't have imake
- at our site]--PV
-
- ---------
- H}vard Eidnes (TeXish: H\aa vard Eidnes)
- Division of Computer Science
- Norwegian Institute of Technology
-
- E-Mail: h_eidnes%vax.runit.unit.uninett@nta-vax.arpa
- ================================================================
- Also has path search added by Mark Eichin, looks in XTEXFONTS then TEXFONTS
- ================================================================
-
- Compilation notes:
- To compile for X10 (non athena, assumes NORMAL X10 system)
- make -f Makefile_10
- To compile for X11 (athena environment)
- make
- _Mark Eichin
- <eichin@athena.mit.edu>
- The X10 flag only affects xdvi.c (and the flags MSBITFIRST, BMSHORT,
- and BMLONG, see below)
-
- You can also change the `make' variables FONTFORMATS_C and FONTFORMATS_O
- to reflect which font formats are actually used at your site.
-
- Other compilation flags are:
- FONT_PATH (xdvi.c) Name of the environment variable to use when
- searching for the font path
- DEFAULT_FONT_PATH (xdvi.c) Name of the default font path to use when
- the above environment variable is not set.
- MSBITFIRST (X11 only; xdvi.c dvi_draw.c gf.c pk.c pxl.c) Store
- bitmaps internally with the most significant bit at
- the left. For performance reasons, it would be best
- to set this to coincide with what your server uses.
- Use the keystroke '^P' to find information in this
- regard.
- BMSHORT (X11 only; xdvi.c dvi_draw.c gf.c pk.c pxl.c) Store
- bitmaps in short integers instead of bytes. See
- MSBITFIRST for other relevant comments. To check
- performance, you can use:
- time xdvi -d 8 file.dvi
- BMLONG (X11 only; xdvi.c dvi_draw.c gf.c pk.c pxl.c) Store
- bitmaps in long integers instead of bytes.
- All flags should be set in the appropriate Makefile.
- ================================================================
- Additional notes:
- X11 version now works on the IBM PC/RT as well as VAX.
- [eichin:19880313.1330EST]
- ================================================================
- *MORE* fixes (for athena release locker) [eichin:19880722.2058EST]
- Fixes:
- narrow vertical and horizontal lines no longer disappear.
- bogus underlining (which usually occured on even sample sizes
- of odd sized characters) no longer occurs.
- -S number (or typing number followed by S) will adjust the
- sampling fraction; 0 is special cased to mean if anything in the
- sampled zone is set, set the sample, else clear it. Interesting to
- experiment with, though not useful for reading (the default value of 3
- is just right.)
- -display and -geometry arguments work (so do old style forms,
- though they were broken before)
- fixed one of the PK debugging messages to print the correct
- font name instead of printing the pointer as text.
- included Ken Raeburn <raeburn>'s changes to support multiple
- screens.
- ================================================================
- More changes:
-
- 1. Incorporated the bitmap under a viewport widget using the toolkit
- (X11 only);
- 2. Added an icon and icon geometry arguments (X11 only);
- 3. Supported window resizing;
- 4. Added a 'c' option to move whatever is currently under the cursor to
- the center of the window;
- 5. Added an 'R' option to reread the .dvi file, and added logic to make
- 'R' happen automatically whenever any part of the window is exposed
- and the dvi file changes (so that you can iconify xdvi, run tex,
- deiconify xdvi, and voila!);
- 6. Added a 'magnifying glass': when you push a button, a window pops
- up, showing the region of the page, unshrunk;
- 7. Added support for gf fonts;
- 8. Upgraded font searching (at our site we use /usr/custom/tex82/gf
- for gf fonts, /usr/custom/tex82/pk for pk fonts, etc.);
- 9. Made numerous internal changes (removed all the lint I could,
- made unshrunk bitmaps permanently resident, which speeds up size
- changing, made table.h necessary only for pxl.h, split up the source
- file into xdvi.c, dvi.c, gf.c, pxl.c, and pk.c, made shrinking occur
- relative to the character's hot point, etc.)
- -- Patchlevel 1: --
- 10. The program reads SIGIO signals and processes incoming events
- immediately, so that it can stop displaying things that would be
- erased anyway. If these interrupts are not coming through, then
- it also checks for incoming events every several dozen characters
- displayed.
- -- Patchlevel 2: --
- 11. Further split up dvi.c into dvi_init.c and dvi_draw.c; added
- compilation options for various internal bitmap representations.
- Fixed it so gcc won't give warnings, and so it works with R3 toolkit.
-
- Paul Vojta, vojta@math.berkeley.edu
-