pdf 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #------------------------------------------------------------------------------
  2. # $File: pdf,v 1.12 2020/01/30 01:48:44 christos Exp $
  3. # pdf: file(1) magic for Portable Document Format
  4. #
  5. 0 name pdf
  6. >8 search/512 /Filter/FlateDecode/ (password protected)
  7. 0 string %PDF- PDF document
  8. !:mime application/pdf
  9. !:strength +60
  10. >5 byte x \b, version %c
  11. >7 byte x \b.%c
  12. >0 use pdf
  13. 0 string \012%PDF- PDF document
  14. !:mime application/pdf
  15. !:strength +60
  16. >6 byte x \b, version %c
  17. >8 byte x \b.%c
  18. >0 use pdf
  19. 0 string \xef\xbb\xbf%PDF- PDF document (UTF-8)
  20. !:mime application/pdf
  21. !:strength +60
  22. >6 byte x \b, version %c
  23. >8 byte x \b.%c
  24. >0 use pdf
  25. # From: Nick Schmalenberger <nick@schmalenberger.us>
  26. # Forms Data Format
  27. 0 string %FDF- FDF document
  28. !:mime application/vnd.fdf
  29. !:strength +60
  30. >5 byte x \b, version %c
  31. >7 byte x \b.%c
  32. 0 search/256 %PDF- PDF document
  33. !:mime application/pdf
  34. !:strength +60
  35. >&0 byte x \b, version %c
  36. >&2 byte x \b.%c
  37. >0 use pdf