pdf 942 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #------------------------------------------------------------------------------
  2. # $File: pdf,v 1.11 2019/09/12 15:53:49 christos Exp $
  3. # pdf: file(1) magic for Portable Document Format
  4. #
  5. 0 string %PDF- PDF document
  6. !:mime application/pdf
  7. !:strength +60
  8. >5 byte x \b, version %c
  9. >7 byte x \b.%c
  10. 0 string \012%PDF- PDF document
  11. !:mime application/pdf
  12. !:strength +60
  13. >6 byte x \b, version %c
  14. >8 byte x \b.%c
  15. 0 string \xef\xbb\xbf%PDF- PDF document (UTF-8)
  16. !:mime application/pdf
  17. !:strength +60
  18. >6 byte x \b, version %c
  19. >8 byte x \b.%c
  20. # From: Nick Schmalenberger <nick@schmalenberger.us>
  21. # Forms Data Format
  22. 0 string %FDF- FDF document
  23. !:mime application/vnd.fdf
  24. !:strength +60
  25. >5 byte x \b, version %c
  26. >7 byte x \b.%c
  27. 0 search/256 %PDF- PDF document
  28. !:mime application/pdf
  29. !:strength +60
  30. >&0 byte x \b, version %c
  31. >&2 byte x \b.%c