| 1 |
.TH CHKDVIFONT 1 |
| 2 |
\"===================================================================== |
| 3 |
.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP |
| 4 |
.if n .ds TX TeX |
| 5 |
.\" LX definition must follow TX so LX can use TX |
| 6 |
.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX |
| 7 |
.if n .ds LX LaTeX |
| 8 |
\"===================================================================== |
| 9 |
.SH NAME |
| 10 |
chkdvifont \- CHecK DVI/tfm/font file and report information of FONTs |
| 11 |
.SH SYNOPSIS |
| 12 |
.B chkdvifont |
| 13 |
[\fB\-s\fR] [\fB\-c\fR] [\fB-{f|F}\fI<font_data_file>\fR] |
| 14 |
[\fB\-d\fR] |
| 15 |
\fIdvi_file_name\fR |
| 16 |
.PP |
| 17 |
.B chkdvifont |
| 18 |
[\fB\-s\fR] [\fB\-c\fR] [\fB-{f|F}\fI<font_data_file>\fR] |
| 19 |
[\fB\-t\fR] |
| 20 |
\fItfm_file_name\fR |
| 21 |
.PP |
| 22 |
.B chkdvifont |
| 23 |
[\fB\-s\fR] [\fB\-c\fR] [\fB-{f|F}\fI<font_data_file>\fR] |
| 24 |
[\fB\-p\fR] |
| 25 |
\fIfont_file_name\fR |
| 26 |
.SH DESCRIPTION |
| 27 |
.B Chkdvifont |
| 28 |
is a utility to check DVI and other \*(TX font-related formats |
| 29 |
(such as TFM, VF, GF and PK) and print information of those fonts. |
| 30 |
There are 3 modes; |
| 31 |
.PP |
| 32 |
Option \fB\-d\fR: force DVI mode |
| 33 |
.PP |
| 34 |
Option \fB\-t\fR: force TFM/OFM mode |
| 35 |
.PP |
| 36 |
Option \fB\-p\fR: force other FONT mode |
| 37 |
.PP |
| 38 |
By default, the mode is guessed from the file extension. |
| 39 |
.SH EXAMPLE |
| 40 |
.TP 5 |
| 41 |
(1) If you want to know what font is used in sample.dvi, |
| 42 |
|
| 43 |
$ chkdvifont sample.dvi |
| 44 |
dvi file name = sample.dvi |
| 45 |
comment = TeX output 2007.11.24:0632 |
| 46 |
factor converting to 10^{-5}m = 25400000/473628672 |
| 47 |
magnification = 1000 |
| 48 |
maximum width = 26083328 scaled points = 398 points |
| 49 |
maximum height+depth = 11099063 scaled points = 169 points |
| 50 |
maximum stack depth = 4 |
| 51 |
number of pages = 13 |
| 52 |
page size = 14.0 cm x 6.0 cm |
| 53 |
page size magnificated = 14.0 cm x 6.0 cm |
| 54 |
|
| 55 |
Font 14 |
| 56 |
checksum = 44D3ED74 |
| 57 |
design size = 1132462 scaled points = 17 points |
| 58 |
space size = 1630536 scaled points = 24 points |
| 59 |
magnification = +magstep2 |
| 60 |
font name = cmr17 |
| 61 |
|
| 62 |
Font 7 |
| 63 |
checksum = 4BF16079 |
| 64 |
design size = 655360 scaled points = 10 points |
| 65 |
space size = 655360 scaled points = 10 points |
| 66 |
font name = cmr10 |
| 67 |
|
| 68 |
.TP 5 |
| 69 |
(2) If you want to know the brief summary of jis.tfm, |
| 70 |
|
| 71 |
$ chkdvifont jis.tfm |
| 72 |
"jis" is a jfm file : 0 -> 5 |
| 73 |
checksum = 00000000 |
| 74 |
design size = 10485760 2^{-20} points = 10 points |
| 75 |
|
| 76 |
.TP 5 |
| 77 |
(3) If you want to know what font is referred to by jis.vf, |
| 78 |
|
| 79 |
$ chkdvifont jis.vf |
| 80 |
"jis.vf" is in VF format |
| 81 |
checksum = 00000000 |
| 82 |
design size = 10485760 2^{-20} points = 10 points |
| 83 |
|
| 84 |
Mapped Font 1 |
| 85 |
font dsize = 10485760 2^{-20} points = 10 points |
| 86 |
font at = 0.962216 |
| 87 |
font name = rml |
| 88 |
|
| 89 |
.PP |
| 90 |
Listing the fonts used in a DVI file (as shown in the first example) |
| 91 |
is almost equivalent to |
| 92 |
.B dvifontlist |
| 93 |
in TeX-Guy package |
| 94 |
<http://www-masu.ist.osaka-u.ac.jp/%7Ekakugawa/TeX-Guy/> |
| 95 |
and a script |
| 96 |
.B dviinfox |
| 97 |
<https://ctan.org/pkg/dviinfox>. |
| 98 |
I don't know any alternatives for obtaining information about TFM, OFM, |
| 99 |
VF and other font formats. |
| 100 |
.SH SEE ALSO |
| 101 |
pltotf(1), tftopl(1), vptovf(1), vftovp(1) |
| 102 |
.SH AUTHOR |
| 103 |
The program |
| 104 |
.B chkdvifont |
| 105 |
(original name "chkfont") |
| 106 |
is derived from the DVIOUT package (DVI previewer for Windows) |
| 107 |
by Toshio OSHIMA ("SHIMA"), Yoshiki OTOBE, and Kazunori ASAYAMA. |
| 108 |
Current version is maintained by Japanese \*(TX Development Community |
| 109 |
<https://texjp.org>. |
| 110 |
.br |
| 111 |
For more information, please refer to |
| 112 |
chkdvifont-ja.txt (in Japanese) |
| 113 |
on our GitHub repository, <https://github.com/texjporg/tex-jp-build> |
| 114 |
(under source/texk/dviout-util directory). |