| 1 |
# dviinfox.pl |
| 2 |
|
| 3 |
Perl script which prints information about a DVI file. |
| 4 |
It supports not only the standard DVI format of TeX, but also |
| 5 |
the extended DVI format of pTeX containing vertical direction. |
| 6 |
It also accepts XDV format of XeTeX containing native font |
| 7 |
definitions. |
| 8 |
|
| 9 |
This is a joint effort of |
| 10 |
Dag Langmyhr (Department of Informatics, University of Oslo) |
| 11 |
and Hironobu Yamashita (Japanese TeX Development Community). |
| 12 |
|
| 13 |
## Sample Output |
| 14 |
|
| 15 |
Standard DVI (e.g. tests/font.dvi) |
| 16 |
|
| 17 |
font.dvi: DVI format 2; 4 pages |
| 18 |
Magnification: 1000/1000 |
| 19 |
Size unit: 1000x25400000/(1000x473628672)dum = 0.054dum = 1.000sp |
| 20 |
Page size: 433ptx627pt = 15.253cmx22.049cm |
| 21 |
Stack size: 11 |
| 22 |
Comment: " TeX output 2017.06.03:0419" |
| 23 |
Font 20: cmsl10 at 10.000 (design size 10.000, checksum=1890463818) |
| 24 |
Font 19: cmtt10 at 10.000 (design size 10.000, checksum=3756670072) |
| 25 |
Font 18: cmbx12 at 14.400 (design size 12.000, checksum=3268824736) |
| 26 |
Font 16: cmbx12 at 24.880 (design size 12.000, checksum=3268824736) |
| 27 |
(snip) |
| 28 |
Font 6: cmr7 at 7.000 (design size 7.000, checksum=3650330706) |
| 29 |
Font 0: cmex10 at 10.000 (design size 10.000, checksum=4205933842) |
| 30 |
|
| 31 |
pTeX DVI (e.g. tests/playtate.dvi) |
| 32 |
|
| 33 |
playtate.dvi: DVI format 2; id 3 (pTeX DVI); 20 pages |
| 34 |
Magnification: 1000/1000 |
| 35 |
Size unit: 1000x25400000/(1000x473628672)dum = 0.054dum = 1.000sp |
| 36 |
Page size: 450ptx697pt = 15.842cmx24.509cm |
| 37 |
Stack size: 2 |
| 38 |
Comment: " TeX output 2017.06.03:0357" |
| 39 |
Font 75: tmin10 at 48.000 (design size 10.000, checksum=3919565046) |
| 40 |
Font 74: cmr10 at 48.000 (design size 10.000, checksum=1274110073) |
| 41 |
|
| 42 |
XeTeX XDV (e.g. tests/native.xdv) |
| 43 |
|
| 44 |
native.xdv: DVI format 7 (XeTeX XDV); 1 page |
| 45 |
Magnification: 1000/1000 |
| 46 |
Size unit: 1000x25400000/(1000x473628672)dum = 0.054dum = 1.000sp |
| 47 |
Page size: 406ptx633pt = 14.304cmx22.247cm |
| 48 |
Stack size: 3 |
| 49 |
Comment: " XeTeX output 2017.06.03:0407" |
| 50 |
Native Font 36: c:/w32tex/share/texmf-dist/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf at 10.000 (flags 0x6200, face index 0) |
| 51 |
+features: Colored=0x115511ff, Slant=0x10000, Embolden=0x7ae |
| 52 |
Native Font 35: c:/w32tex/share/texmf-dist/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf at 10.000 (flags 0x6200, face index 0) |
| 53 |
+features: Colored=0x220022ff, Slant=0x10000, Embolden=0x7ae |
| 54 |
(snip) |
| 55 |
Native Font 21: c:/w32tex/share/texmf-dist/fonts/opentype/public/tex-gyre/texgyretermes-regular.otf at 10.000 (flags 0x0200, face index 0) |
| 56 |
+features: Colored=0x220022ff |
| 57 |
Native Font 14: c:/w32tex/share/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.otf at 10.000 (flags 0x0000, face index 0) |
| 58 |
|
| 59 |
## License |
| 60 |
|
| 61 |
The script is licensed under MIT License. |
| 62 |
|
| 63 |
## References |
| 64 |
|
| 65 |
- Current development place by Hironobu Yamashita |
| 66 |
- https://github.com/aminophen/tex-assort |
| 67 |
- Previous version 1.03 (2013/11/03 11:17) by Dag Langmyhr |
| 68 |
- http://dag.at.ifi.uio.no/public/bin/dviinfo |
| 69 |
|
| 70 |
## Additional Notes |
| 71 |
|
| 72 |
The perl script was originally named "dviinfo" by Dag Langmyhr, |
| 73 |
and renamed "dviinfox" in 2017, to be easily distinguished from |
| 74 |
another program written in C by Valentino Kyriakides |
| 75 |
(Dviinfo revision 1.3 1993/11/23 22:49:30). |
| 76 |
The C program seems to be derived from NeXTSTEP app in 1990s, |
| 77 |
and it has nothing to do with our perl script. |
| 78 |
|
| 79 |
## Release Date |
| 80 |
|
| 81 |
2021-05-15 |