239-magic-add-datafork.patch 1020 B

12345678910111213141516171819202122
  1. Author: Adam Buchbinder <adam.buchbinder@gmail.com>
  2. Description: Add new magic for datafork fonts (Closes: #291908).
  3. diff -Naurp file.orig/magic/Magdir/macintosh file/magic/Magdir/macintosh
  4. --- file.orig/magic/Magdir/macintosh 2010-07-11 00:17:48.692930622 +0200
  5. +++ file/magic/Magdir/macintosh 2010-07-13 17:26:21.169673589 +0200
  6. @@ -376,3 +376,15 @@
  7. # From: Remi Mommsen <mommsen@slac.stanford.edu>
  8. 0 string BOMStore Mac OS X bill of materials (BOM) file
  9. +
  10. +# From: Adam Buchbinder <adam.buchbinder@gmail.com>
  11. +# URL: http://en.wikipedia.org/wiki/Datafork_TrueType
  12. +# Derived from the 'fondu' and 'ufond' source code (fondu.sf.net). 'sfnt' is
  13. +# TrueType; 'POST' is PostScript. 'FONT' and 'NFNT' sometimes appear, but I
  14. +# don't know what they mean.
  15. +0 belong 0x100
  16. +>(0x4.L+24) beshort x
  17. +>>&4 belong 0x73666e74 Mac OSX datafork font, TrueType
  18. +>>&4 belong 0x464f4e54 Mac OSX datafork font, 'FONT'
  19. +>>&4 belong 0x4e464e54 Mac OSX datafork font, 'NFNT'
  20. +>>&4 belong 0x504f5354 Mac OSX datafork font, PostScript