2 #------------------------------------------------------------------------------
3 # $File: pdf,v 1.12 2020/01/30 01:48:44 christos Exp $
4 # pdf: file(1) magic for Portable Document Format
8 >8 search/512 /Filter/FlateDecode/ (password protected)
10 0 string %PDF- PDF document
11 !:mime application/pdf
13 >5 byte x \b, version %c
17 0 string \012%PDF- PDF document
18 !:mime application/pdf
20 >6 byte x \b, version %c
24 0 string \xef\xbb\xbf%PDF- PDF document (UTF-8)
25 !:mime application/pdf
27 >6 byte x \b, version %c
31 # From: Nick Schmalenberger <nick@schmalenberger.us>
33 0 string %FDF- FDF document
34 !:mime application/vnd.fdf
36 >5 byte x \b, version %c
39 0 search/256 %PDF- PDF document
40 !:mime application/pdf
42 >&0 byte x \b, version %c