]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/file/magic/Magdir/pdf
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / file / magic / Magdir / pdf
1
2 #------------------------------------------------------------------------------
3 # $File: pdf,v 1.8 2015/01/11 18:19:18 christos Exp $
4 # pdf:  file(1) magic for Portable Document Format
5 #
6
7 0       string          %PDF-           PDF document
8 !:mime  application/pdf
9 >5      byte            x               \b, version %c
10 >7      byte            x               \b.%c
11
12 0       string          \012%PDF-       PDF document
13 !:mime  application/pdf
14 >6      byte            x               \b, version %c
15 >8      byte            x               \b.%c
16
17 # From: Nick Schmalenberger <nick@schmalenberger.us>
18 # Forms Data Format
19 0       string          %FDF-           FDF document
20 !:mime application/vnd.fdf
21 >5      byte            x               \b, version %c
22 >7      byte            x               \b.%c