NetBSD/usr.bin/file/magdir/tex

21 lines
721 B
Plaintext

#
# magic.tex:
#
# Although we may know the offset of certain text fields in TeX DVI and
# font files, we cannot use them reliably because they may not be zero
# terminated.
0 string \367\002 TeX DVI file
0 string \367\203 TeX generic font data
0 string \367\131 TeX packed font data
0 string \367\312 TeX virtual font data
0 string This\ is\ TeX, TeX transcript text
0 string This\ is\ METAFONT, METAFONT transcript text
# Unfortunately, there is no way to detect TeX Font Metric (*.tfm) files
# without breaking them apart and reading the data. The following patterns
# match most *.tfm files generated by METAFONT or afm2tfm.
2 string \000\021 TeX font metric data
2 string \000\022 TeX font metric data