pdf 748 B

123456789101112131415161718192021222324252627
  1. #------------------------------------------------------------------------------
  2. # $File: pdf,v 1.9 2017/05/24 17:35:20 christos Exp $
  3. # pdf: file(1) magic for Portable Document Format
  4. #
  5. 0 string %PDF- PDF document
  6. !:mime application/pdf
  7. >5 byte x \b, version %c
  8. >7 byte x \b.%c
  9. 0 string \012%PDF- PDF document
  10. !:mime application/pdf
  11. >6 byte x \b, version %c
  12. >8 byte x \b.%c
  13. # From: Nick Schmalenberger <nick@schmalenberger.us>
  14. # Forms Data Format
  15. 0 string %FDF- FDF document
  16. !:mime application/vnd.fdf
  17. >5 byte x \b, version %c
  18. >7 byte x \b.%c
  19. 0 search/256 %PDF- PDF document
  20. !:mime application/pdf
  21. >&0 byte x \b, version %c
  22. >&2 byte x \b.%c