SHA256
3
0
forked from pool/file
file/file-4.03-tex.dif
OBS User autobuild 13385d7929 Accepting request 24415 from Base:System
Copy from Base:System/file based on submit request 24415 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=32
2009-11-16 08:55:24 +00:00

18 lines
743 B
Plaintext

Index: magic/Localstuff
===================================================================
--- magic/Localstuff.orig
+++ magic/Localstuff
@@ -5,3 +5,12 @@
# $File: Localstuff,v 1.4 2003/03/23 04:17:27 christos Exp $
# Add any locally observed files here. Remember:
# text if readable, executable if runnable binary, data if unreadable.
+
+# XXX promoted from tex so that *.tfm is not mis-identified as mc68k file.
+# 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
+>33 string >\0 (%s)
+2 string \000\022 TeX font metric data
+>33 string >\0 (%s)