xref: /freebsd/contrib/file/magic/Magdir/pdf (revision 63d1fd5970ec814904aa0f4580b10a0d302d08b2)
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
70	string		%PDF-		PDF document
8!:mime	application/pdf
9>5	byte		x		\b, version %c
10>7	byte		x		\b.%c
11
120	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
190       string          %FDF-           FDF document
20!:mime application/vnd.fdf
21>5      byte            x               \b, version %c
22>7      byte            x               \b.%c
23