CHKDVIFONT(1)

πŸ“¦
version 66186 Β· 3 versions
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 as dvifontlist in the TeX-Guy package <http://www-masu.ist.osaka-u.ac.jp/%7Ekakugawa/TeX-Guy/> and the script dviinfox <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 πŸ’