Lines Matching +full:com +full:- +full:offset
2 #------------------------------------------------------------------------------
8 0 short 017001 byte-swapped Berkeley vfont data
10 # PostScript fonts (must precede "printer" entries), quinlan@yggdrasil.com
17 0 string %!PS-AdobeFont-1. PostScript Type 1 font text
18 #!:mime font/x-postscript-pfb
22 6 string %!PS-AdobeFont-1.
23 # skip DROID fmt-525-signature-id-816.pfb by checking for content after header
25 #!:mime application/octet-stream
26 !:mime font/x-postscript-pfb
35 # show font name in parentheses like: Frankfurt Lithos CharterBT-BoldItalic Courier10PitchBT-Bold
36 >>>>&0 regex [A-Za-z0-9-]+ (%s)
37 # http://cd.textfiles.com/maxfonts/ATM/M/MIRROR__.PFB
38 6 string %PS-AdobeFont-1. PostScript Type 1 font program data
39 !:mime font/x-postscript-pfb
41 # font name like: Times-Mirror
44 #!:mime font/x-postscript-pfb
47 #!:mime application/octet-stream
48 !:mime font/x-postscript-pfb
50 # font name like: CaslonOpenFace FetteFraktur Kaufmann Linotext MesozoicGothic Old-Town
52 # http://cd.textfiles.com/maxfonts/ATM/P/PLAYBI.PFB
54 !:mime font/x-postscript-pfb
58 0 string %!PS-Adobe-3.0\ Resource-Font PostScript Type 1 font text
59 #!:mime font/x-postscript-pfb
64 # Reference: https://partners.adobe.com/public/developer/en/font/5178.PFM.pdf
80 !:mime application/x-font-pfm
85 #>>>6 string >\060 - %-.60s
114 # http://computer-programming-forum.com/51-perl/8f22fb96d2e34bab.htm
120 # GRR: line above is too general as it catches also DEGAS low-res bitmap like:
121 # http://cd.textfiles.com/geminiatari/FILES/GRAPHICS/ANIMAT/SPID_PAT/BIGSPID.PI1
122 !:mime application/x-font-sfn
124 # GRR: line below is too general as it catches also Xbase index file t3-CHAR.NDX
127 !:mime application/x-font-sfn
128 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/s/snf-x11-lsb.trid.xml
131 # X11 Bitmap Distribution Format, from Daniel Quinlan (quinlan@yggdrasil.com)
135 # URL: https://grub.gibibit.com/New_font_format
136 # Reference: util/grub-mkfont.c
146 !:mime application/x-font-pf2
151 >>>>>20 string >\0 "%-s"
153 # X11 fonts, from Daniel Quinlan (quinlan@yggdrasil.com)
154 # PCF must come before SGI additions ("MIPSEL MIPS-II COFF" collides)
162 #------------------------------------------------------------------------------
167 >3 string >2a version %-2.2s
169 >3 string >2a version %-2.2s
180 # Reference: http://www.delorie.com/djgpp/doc/rbinter/it/58/17.html
182 !:mime font/x-dos-cpi
184 0 string \x7fDRFONT DR-DOS code page font data collection
185 !:mime font/x-drdos-cpi
193 # Reference: http://cd.textfiles.com/ataricompendium/BOOK/HTML/APPENDC.HTM#cnt
199 #>>0 use gdos-font
202 # skip ISO 9660 CD-ROM ./filesystem by looking for low positive face size
208 # skip Microsoft WinWord 2.0 ./msdos by looking for positive offset to font data
210 #>>>>>0 use gdos-font
211 0 name gdos-font
213 !:mime application/x-font-gdos
218 # face size in points 3-72 SLSS03CG.FNT H1CELT72.FNT
222 # lowest character index in face (4 but usually 32 for disk-loaded fonts)
234 # offset to optional horizontal offset table 0 58h~88 5eh 252h
235 #>68 ulelong x \b, %#x horizontal table offset
236 # offset of character offset table 54h for many *.GFT 55h 58h 5Eh 120h 1D4h 202h 220h
238 # offset to font data like 116h 118h 158 20Ah 20Eh
257 # Reference: https://developer.apple.com/fonts/TrueType-Reference-Manual/
261 >0 use sfnt-font
262 >0 use sfnt-names
265 >0 use sfnt-font
266 >0 use sfnt-names
270 >0 use sfnt-font
271 >0 use sfnt-names
273 0 name sfnt-font
283 >>12 regex/4l \^[A-Za-z][A-Za-z][A-Za-z/][A-Za-z2\ ]
309 0 name sfnt-names
312 # biggest offset 0x0100bd28 like Windows10 Fonts\simsunb.ttf
313 #>>>>&8 ubelong >0x0100bd27 BIGGEST OFFSET
315 # offset of name table
316 >>>&-4 ubelong x \b, name offset %#x
317 # GRR: pointer to name table only works if offset ~< FILE_BYTES_MAX = 100000h defined in src\file.h
319 >>>&-16 ubelong x
323 #>>>>>&-8 ubeshort !0 \b, invalid selector %x
324 # minimal 3 name records found like in c:\Program Files (x86)\Tesseract-OCR\tessdata\pdf.ttf
326 #>>>>>&-6 ubeshort <0x4 mincount
327 #>>>>>&-6 ubeshort >130 maxcount
328 >>>>>&-6 ubeshort x \b, %d names
329 # offset to start of string storage from start of table
330 #>>>>>&-4 ubeshort x \b, record offset %d
332 # string offset from start of storage area
333 #>>>>>&8 ubeshort x \b, string offset %d
336 # minimal name string 7 like in c:\Program Files (x86)\Kodi\addons\webinterface.default\lib\video-j…
342 #>>>>>&-2 ubeshort >3 BAD PLATFORM
343 >>>>>&-2 ubeshort 0 \b, Unicode
344 >>>>>&-2 ubeshort 1 \b, Macintosh
345 >>>>>&-2 ubeshort 3 \b, Microsoft
355 # handle only name string offset 0 because do not know how to add 2 relative offsets
357 >>>>>>>&(&-14.S-18) ubyte !0
360 >>>>>>>>&-1 string x \b, %-11.96s
362 >>>>>>>&(&-14.S-18) ubyte 0
363 >>>>>>>>&0 lestring16 x \b, %-11.96s
367 >>>>>>>&(&-14.S-17) lestring16 x \b, %-11.96s
374 # https://www.microsoft.com/typography/otspec/otff.htm
397 # array offset size = fonts * offsetsize = fonts * 4
401 # offset to 1st font
404 >>(12.L) use sfnt-font
408 !:mime application/vnd.ms-opentype
412 !:mime application/vnd.font-fontforge-sfd
422 !:mime application/vnd.ms-fontobject
453 # fontconfig cache files: little-endian
454 0 name fc-cache-le
455 # size is at offset 8, and is intptr_t
456 # hence, if offset 12 is zero, this is likely 64-bit
461 >4 lelong x \b-%d
463 # fontconfig cache files: big-endian
464 0 name fc-cache-be
465 # size is at offset 8, and is intptr_t
466 # hence, if offset 12 is zero, this is likely 64-bit
471 >4 belong x \b-%d
475 # https://www.microsoft.com/typography/otspec/otff.htm
477 >0 use fc-cache-le
479 >0 use fc-cache-le
481 >0 use fc-cache-be
483 >0 use fc-cache-be