fonts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #------------------------------------------------------------------------------
  2. # $File: fonts,v 1.26 2013/03/09 22:36:00 christos Exp $
  3. # fonts: file(1) magic for font data
  4. #
  5. 0 search/1 FONT ASCII vfont text
  6. 0 short 0436 Berkeley vfont data
  7. 0 short 017001 byte-swapped Berkeley vfont data
  8. # PostScript fonts (must precede "printer" entries), quinlan@yggdrasil.com
  9. 0 string %!PS-AdobeFont-1. PostScript Type 1 font text
  10. >20 string >\0 (%s)
  11. 6 string %!PS-AdobeFont-1. PostScript Type 1 font program data
  12. 0 string %!FontType1 PostScript Type 1 font program data
  13. 6 string %!FontType1 PostScript Type 1 font program data
  14. 0 string %!PS-Adobe-3.0\ Resource-Font PostScript Type 1 font text
  15. # X11 font files in SNF (Server Natural Format) format
  16. # updated by Joerg Jenderek at Feb 2013
  17. # http://computer-programming-forum.com/51-perl/8f22fb96d2e34bab.htm
  18. 0 belong 00000004 X11 SNF font data, MSB first
  19. #>104 belong 00000004 X11 SNF font data, MSB first
  20. !:mime application/x-font-sfn
  21. # GRR: line below too general as it catches also Xbase index file t3-CHAR.NDX
  22. 0 lelong 00000004
  23. >104 lelong 00000004 X11 SNF font data, LSB first
  24. !:mime application/x-font-sfn
  25. # X11 Bitmap Distribution Format, from Daniel Quinlan (quinlan@yggdrasil.com)
  26. 0 search/1 STARTFONT\ X11 BDF font text
  27. # X11 fonts, from Daniel Quinlan (quinlan@yggdrasil.com)
  28. # PCF must come before SGI additions ("MIPSEL MIPS-II COFF" collides)
  29. 0 string \001fcp X11 Portable Compiled Font data
  30. >12 byte 0x02 \b, LSB first
  31. >12 byte 0x0a \b, MSB first
  32. 0 string D1.0\015 X11 Speedo font data
  33. #------------------------------------------------------------------------------
  34. # FIGlet fonts and controlfiles
  35. # From figmagic supplied with Figlet version 2.2
  36. # "David E. O'Brien" <obrien@FreeBSD.ORG>
  37. 0 string flf FIGlet font
  38. >3 string >2a version %-2.2s
  39. 0 string flc FIGlet controlfile
  40. >3 string >2a version %-2.2s
  41. # libGrx graphics lib fonts, from Albert Cahalan (acahalan@cs.uml.edu)
  42. # Used with djgpp (DOS Gnu C++), sometimes Linux or Turbo C++
  43. 0 belong 0x14025919 libGrx font data,
  44. >8 leshort x %dx
  45. >10 leshort x \b%d
  46. >40 string x %s
  47. # Misc. DOS VGA fonts, from Albert Cahalan (acahalan@cs.uml.edu)
  48. 0 belong 0xff464f4e DOS code page font data collection
  49. 7 belong 0x00454741 DOS code page font data
  50. 7 belong 0x00564944 DOS code page font data (from Linux?)
  51. 4098 string DOSFONT DOSFONT2 encrypted font data
  52. # downloadable fonts for browser (prints type) anthon@mnt.org
  53. 0 string PFR1 PFR1 font
  54. >102 string >0 \b: %s
  55. # True Type fonts
  56. 0 string \000\001\000\000\000 TrueType font data
  57. !:mime application/x-font-ttf
  58. 0 string \007\001\001\000Copyright\ (c)\ 199 Adobe Multiple Master font
  59. 0 string \012\001\001\000Copyright\ (c)\ 199 Adobe Multiple Master font
  60. # TrueType/OpenType font collections (.ttc)
  61. # http://www.microsoft.com/typography/otspec/otff.htm
  62. 0 string ttcf TrueType font collection data
  63. >4 belong 0x00010000 \b, 1.0
  64. >>8 belong >0 \b, %d fonts
  65. >4 belong 0x00020000 \b, 2.0
  66. >>8 belong >0 \b, %d fonts
  67. # 0x44454947 = 'DSIG'
  68. >>>16 belong 0x44534947 \b, digitally signed
  69. # Opentype font data from Avi Bercovich
  70. 0 string OTTO OpenType font data
  71. !:mime application/vnd.ms-opentype
  72. # Gurkan Sengun <gurkan@linuks.mine.nu>, www.linuks.mine.nu
  73. 0 string SplineFontDB: Spline Font Database
  74. !:mime application/vnd.font-fontforge-sfd
  75. >14 string x version %s
  76. # EOT
  77. 34 string LP Embedded OpenType (EOT)
  78. !:mime application/vnd.ms-fontobject
  79. # Web Open Font Format (.woff)
  80. # http://www.w3.org/TR/WOFF/
  81. 0 string wOFF Web Open Font Format
  82. >4 belong x \b, flavor %d
  83. >8 belong x \b, length %d
  84. >20 beshort x \b, version %hd
  85. >22 beshort x \b.%hd