"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/pdf" (23 May 2018, 809 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "pdf": 5.31_vs_5.32.

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