Browse Source

Add preliminary support for AutoCAD Drawing Exchange Format. Closes: #702744

Christoph Biedl 5 years ago
parent
commit
74ca74d49b
1 changed files with 20 additions and 0 deletions
  1. 20 0
      debian/debian-extra-magic

+ 20 - 0
debian/debian-extra-magic

@@ -2,6 +2,26 @@
 # sorted by Debian bug report number
 
 
+# AutoCAD Drawing Exchange Format
+# https://bugs.debian.org/702744
+# https://bugs.astron.com/view.php?id=16
+0 regex \^[\ \t]*0\r?\000$
+>1 regex \^[\ \t]*SECTION\r?$
+>>2 regex \^[\ \t]*2\r?$
+>>>3 regex \^[\ \t]*HEADER\r?$ AutoCAD Drawing Exchange Format
+!:mime application/x-dxf
+!:ext dxf
+
+>>>>&1 search/8192 AC1006 \b, R10
+>>>>&1 search/8192 AC1009 \b, R11/R12
+>>>>&1 search/8192 AC1012 \b, R13
+>>>>&1 search/8192 AC1014 \b, R14
+>>>>&1 search/8192 AC1015 \b, version 2000
+>>>>&1 search/8192 AC1018 \b, version 2004
+>>>>&1 search/8192 AC1021 \b, version 2007
+>>>>&1 search/8192 AC1024 \b, version 2010
+
+
 # Extended Display Identification Data (EDID)
 # https://bugs.debian.org/896932
 # https://bugs.astron.com/view.php?id=12