Browse Source

Cherry-pick "Disable GEM GDOS fonts for now, needs to be stronger"

Christoph Biedl 4 years ago
parent
commit
af88ea4a86

+ 34 - 0
debian/patches/cherry-pick.FILE5_37-47-g62de35af.disable-gem-gdos-fonts-for-now-needs-to-be-stronger.patch

@@ -0,0 +1,34 @@
+Subject: Disable GEM GDOS fonts for now, needs to be stronger
+Origin: FILE5_37-47-g62de35af <https://github.com/file/file/commit/FILE5_37-47-g62de35af>
+Upstream-Author: Christos Zoulas <christos@zoulas.com>
+Date: Sat Jul 6 19:31:36 2019 +0000
+
+--- a/magic/Magdir/fonts
++++ b/magic/Magdir/fonts
+@@ -133,19 +133,19 @@
+ # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
+ #
+ # usual case with lightening mask and skewing mask 5555h~UU
+-62	ulelong		0x55555555
+->0	use		gdos-font
++#62	ulelong		0x55555555
++#>0	use		gdos-font
+ # BOX18.GFT COWBOY30.GFT ROYALK30.GFT
+-62	ulelong		0
++#62	ulelong		0
+ # skip ISO 9660 CD-ROM ./filesystem by looking for low positive face size
+->2	uleshort	>2
++#>2	uleshort	>2
+ # skip DOS 2.0 backup id file ./msdos by looking for face size lower/equal 48
+->>2	uleshort	<49
++#>>2	uleshort	<49
+ # skip MS Windows ICO ./msdos by looking for valid face name
+->>>4	ubeshort	>0x1F00
++#>>>4	ubeshort	>0x1F00
+ # skip DOS executable BACKM212.COM by looking for horizontal offset table after header
+ #>>>>68	ulelong		>87		OFFSET_OK
+->>>>0	use		gdos-font
++#>>>>0	use		gdos-font
+ 0	name		gdos-font
+ >0	uleshort	x		GEM GDOS font
+ !:mime	application/x-font-gdos

+ 1 - 0
debian/patches/series

@@ -1,4 +1,5 @@
 # cherry-picked commits. Keep in upstream's chronological order
+cherry-pick.FILE5_37-47-g62de35af.disable-gem-gdos-fonts-for-now-needs-to-be-stronger.patch
 cherry-pick.FILE5_37-46-g103c6ec2.dont-print-the-string-entry-unless-the-zip-entry-matched-christoph-biedl.patch
 
 # patches that should go upstream