CHKDVIFONT(1)
β¨ NAME β¨
okay bestie, welcome to CHKDVIFONT(1) π the manual for chkdvifont, which is a CHecK DVI/tfm/font file and report information of FONTs tool π₯
π SYNOPSIS π
chkdvifont [-s] [-c] [-{f|F}<font_data_file>] [-d] dvi_file_name
chkdvifont [-s] [-c] [-{f|F}<font_data_file>] [-t] tfm_file_name
chkdvifont [-s] [-c] [-{f|F}<font_data_file>] [-p] font_file_name
π¦ DESCRIPTION π¦
okay so chkdvifont is a utility that checks DVI files and other TeX font-related formats (like TFM, VF, GF and PK) and prints out info about those fonts π«Ά it's giving detective energy β¨ there are 3 modes;
-d: force DVI mode π-t: force TFM/OFM mode πΈ-p: force other FONT mode π§
by default, it guesses the mode from the file extension, so you usually don't even have to think about it π
π EXAMPLE π
(1) if you want to know what font is used in sample.dvi, just run this:
$ chkdvifont sample.dvi
dvi file name = sample.dvi
comment = TeX output 2007.11.24:0632
factor converting to 10^{-5}m = 25400000/473628672
magnification = 1000
maximum width = 26083328 scaled points = 398 points
maximum height+depth = 11099063 scaled points = 169 points
maximum stack depth = 4
number of pages = 13
page size = 14.0 cm x 6.0 cm
page size magnificated = 14.0 cm x 6.0 cm
Font 14
checksum = 44D3ED74
design size = 1132462 scaled points = 17 points
space size = 1630536 scaled points = 24 points
magnification = +magstep2
font name = cmr17
Font 7
checksum = 4BF16079
design size = 655360 scaled points = 10 points
space size = 655360 scaled points = 10 points
font name = cmr10
(2) if you want the brief summary of jis.tfm:
$ chkdvifont jis.tfm
"jis" is a jfm file : 0 -> 5
checksum = 00000000
design size = 10485760 2^{-20} points = 10 points
(3) if you want to know what font is referred to by jis.vf:
$ chkdvifont jis.vf
"jis.vf" is in VF format
checksum = 00000000
design size = 10485760 2^{-20} points = 10 points
Mapped Font 1
font dsize = 10485760 2^{-20} points = 10 points
font at = 0.962216
font name = rml
β¨ listing the fonts used in a DVI file (like example 1) is almost the same asdvifontlistin the TeX-Guy package <http://www-masu.ist.osaka-u.ac.jp/%7Ekakugawa/TeX-Guy/> and the scriptdviinfox<https://ctan.org/pkg/dviinfox> π the author doesn't know any alternatives for getting info on TFM, OFM, VF and other font formats π
π SEE ALSO π
pltotf(1), tftopl(1), vptovf(1), vftovp(1) π
π«Ά AUTHOR π«Ά
the chkdvifont program (originally called "chkfont") comes from the DVIOUT package (a DVI previewer for Windows) by Toshio OSHIMA ("SHIMA"), Yoshiki OTOBE, and Kazunori ASAYAMA π the current version is maintained by the Japanese TeX Development Community <https://texjp.org> β¨ for more info, check out chkdvifont-ja.txt (in Japanese) on the GitHub repo <https://github.com/texjporg/tex-jp-build> (under the source/texk/dviout-util directory) π
that's the whole CHKDVIFONT(1) page, bestie π go forth and check those fonts π§β¨ periodt π
π¦ where this page comes from
- alpine 3.24: texmf-dist-binextra-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms