Upgrade libressl. 1/2
[dragonfly.git] / contrib / file / magic / Magdir / pdf
1
2 #------------------------------------------------------------------------------
3 # $File: pdf,v 1.11 2019/09/12 15:53:49 christos Exp $
4 # pdf:  file(1) magic for Portable Document Format
5 #
6
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
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
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
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
33 0       search/256      %PDF-           PDF document
34 !:mime  application/pdf
35 !:strength +60
36 >&0     byte            x               \b, version %c
37 >&2     byte            x               \b.%c