pdf 809 B

12345678910111213141516171819202122232425262728293031
  1. #------------------------------------------------------------------------------
  2. # $File: pdf,v 1.10 2018/05/23 22:21:01 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. # From: Nick Schmalenberger <nick@schmalenberger.us>
  16. # Forms Data Format
  17. 0 string %FDF- FDF document
  18. !:mime application/vnd.fdf
  19. !:strength +60
  20. >5 byte x \b, version %c
  21. >7 byte x \b.%c
  22. 0 search/256 %PDF- PDF document
  23. !:mime application/pdf
  24. !:strength +60
  25. >&0 byte x \b, version %c
  26. >&2 byte x \b.%c