__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
% Copyright (C) 2001-2023 Artifex Software, Inc.
% All Rights Reserved.
%
% This software is provided AS-IS with no warranty, either express or
% implied.
%
% This software is distributed under license and may not be copied,
% modified or distributed except as expressly authorized under the terms
% of the license contained in the file LICENSE in this distribution.
%
% Refer to licensing information at http://www.artifex.com or contact
% Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco,
% CA 94129, USA, for further information.
%
% Loader for CFF (compressed) fonts, including OpenType CFFs.
% The following are not implemented yet:
% Deleted entries in the Name Index
% Embedded PostScript
% Multiple Master fonts
% Chameleon fonts
% Synthetic fonts
% ---------------- Font loading machinery ---------------- %
% Augment the FONTPATH machinery so it recognizes OpenType CFF font sets.
/.scanfontheaders where {
/.scanfontheaders [
/.scanfontheaders .systemvar aload pop (OTTO*)
] put
} if
% Load a font file that might be an OpenType CFF font set.
% <file> .init_otto_font_file <file>
/.init_otto_font_file {
/FontSetInit /ProcSet findresource begin
2 dict begin
/f exch def /cff //null def
card32 pop card16 6 { next pop } repeat dup {
% Stack: numtables tablesleft
dup 0 eq {
pop pop /.loadottofontfile cvx /invalidfont signalerror
} if
f 4 string readstring pop (CFF ) eq { sub exit } if
f 12 string readstring pop pop 1 sub % skip to next table
} loop
% Stack: tablesread
card32 pop card32 card32
% Stack: tablesread start length
exch 3 -1 roll 1 add 16 mul 12 add sub
f exch subfilefilter flushfile % skip to start
f exch subfilefilter end
} .bind executeonly odef
% <file> .init_otto_font_file <file>
/.init_wOFF_otto_font_file {
/FontSetInit /ProcSet findresource begin
2 dict begin
/f exch def /cff //null def
3 {card32 pop} repeat % (wOFF), (OTTO) and file length
card16
30 { next pop } repeat
dup
{
% Stack: numtables tablesleft
dup 0 eq {
pop pop /.loadottofontfile cvx /invalidfont signalerror
} if
f 4 string readstring pop (CFF ) eq { sub exit } if
f 12 string readstring pop pop 1 sub % skip to next table
} loop
% Stack: tablesread
4 { card32 } repeat
% Stack: tablesread start complen len checksum
pop
% Stack: tablesread start complen len
4 -2 roll exch
% Stack: complen len start tablesread
1 add 20 mul 44 add sub
% Stack: complen len offset
f exch subfilefilter flushfile % skip to start
% Stack: complen len
% the table can legally be uncompressed: complen == len
1 index 1 index eq
{ exch pop f exch subfilefilter}
{ pop f exch subfilefilter /FlateDecode filter} ifelse
end
} bind def
% <file> .loadfontfile -
/.loadnonottofontfile /.loadfontfile load def
/.loadfontfile {
dup (12345678) .peekstring pop (wOFFOTTO) eq
{
//.init_wOFF_otto_font_file exec
//true //false
}{//true} ifelse
{
dup 4 string .peekstring pop (OTTO) eq
{
% If this is a font at all, it's an OpenType CFF font set.
.init_otto_font_file //true
}
{ //false } ifelse
} if
{ % Use a random FontSet resource name. ****** WRONG ******
realtime rand xor =string cvs exch //false //false
ReadData pop
} {
% Not a TrueType font.
.loadnonottofontfile
} ifelse
} bind executeonly def
currentdict /.init_wOFF_otto_font_file .forceundef
20 dict begin
% ------ Utilities ------ %
/subfilefilter { % <file> <length> subfilefilter <filter>
% SubFileDecode interprets a length of 0 as infinite.
dup 0 le { pop pop () 0 } if () /SubFileDecode filter
} bind def
/advance { % <n> advance -
f cff eq { pos add /pos exch store } { pop } ifelse
} bind def
/next { % - next <byte>
f read {
1 advance
CFFDEBUG { ( ) print dup = } if
} {
0
CFFDEBUG { ( Out of range access, assuming 0) = } if
/pdfformaterror where {
pop
( **** Warning: Out of range access to a CFF table, assuming 0.\n)
pdfformaterror
} if
} ifelse
} bind def
/next2 { % - next2 <byte1> <byte2>
f read {
f read {
2 advance
CFFDEBUG { ( ) print 1 index =only (,) print dup = } if
} {
1 advance
CFFDEBUG { ( ) print dup = } if
} ifelse
} if
} bind def
/nextstring { % <length> nextstring <string>
dup 0 eq {
pop ()
} {
string f exch readstring pop dup length advance
CFFDEBUG { ( ) print dup //== exec } if
} ifelse
} bind def
/card8 % - card8 <card8>
/next load
def
/card16 { % - card16 <card16>
next2 exch 8 bitshift add
} bind def
/card32 { % - card32 <card32>
card16 16 bitshift card16 add
} bind def
/offsetprocs [
/card8 load
/card16 load
{ card8 16 bitshift card16 add } bind
/card32 load
] readonly def
/offsetproc { % <offsize> offsetproc <proc>
1 sub //offsetprocs exch get
} bind def
/offset { % <offsize> offset <offset>
offsetproc exec
} bind def
/sid % - <sid> sid
/card16 load
def
% ------ Main program ------ %
% We need to pass the file as a parameter for the sake of the PDF
% interpreter. Also for the sake of PDF, a flag forces the font
% to be defined as <resname> instead of the name embedded in the data.
% This is needed for subsetted fonts; it is valid if the CFF
% contains only a single font.
% Finally, PDF interpreter may request creation of CIDFont out of an
% ordinary CFF font.
/StartData { % <resname> <nbytes> StartData -
currentfile exch subfilefilter //false //false ReadData pop
} bind executeonly def
/ReadData { % <resname> <file> <forceresname> <forcecid> ReadData <fontset>
% Initialize.
30 dict begin
/forcecidfont exch def
/forceresname exch def
/cff exch def
/pos 0 def
/resname exch cvlit def
/DEBUG CFFDEBUG def % bring the binding closer
/StringCache 1 dict def % Private DICT may be reused.
forcecidfont
[ { cff 1024 string readstring not { exit } if } loop ]
.parsecff /fonts exch def
resname
mark fonts {
forceresname { exch pop resname exch } if
dup /CIDFontType known { % This is a CIDFont.
dup /CIDFontName 3 index put
1 index exch /CIDFont defineresource
} { % This is a font.
dup /FontName 3 index put
dup /FontType 2 put
1 index exch
definefont
} ifelse
} forall .dicttomark
end % temporary dict
end % FontSetInit ProcSet
/FontSet defineresource
} bind executeonly def
% ---------------- Resource category definition ---------------- %
currentdict end readonly
languagelevel exch 2 .setlanguagelevel
/FontSet /Generic /Category findresource dup length dict .copydict
/Category defineresource pop
/FontSetInit exch /ProcSet defineresource pop
.setlanguagelevel
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| FAPIcidfmap | File | 1.45 KB | 0644 |
|
| FAPIconfig | File | 815 B | 0644 |
|
| FAPIfontmap | File | 1.43 KB | 0644 |
|
| FCOfontmap-PCLPS2 | File | 2.77 KB | 0644 |
|
| Fontmap | File | 109 B | 0644 |
|
| Fontmap.GS | File | 12.89 KB | 0644 |
|
| gs_agl.ps | File | 212.9 KB | 0644 |
|
| gs_btokn.ps | File | 12.45 KB | 0644 |
|
| gs_cet.ps | File | 4.85 KB | 0644 |
|
| gs_cff.ps | File | 6.79 KB | 0644 |
|
| gs_cidcm.ps | File | 16.42 KB | 0644 |
|
| gs_ciddc.ps | File | 8.29 KB | 0644 |
|
| gs_cidfm.ps | File | 7.86 KB | 0644 |
|
| gs_cidfn.ps | File | 14.19 KB | 0644 |
|
| gs_cidtt.ps | File | 5.69 KB | 0644 |
|
| gs_cmap.ps | File | 18.26 KB | 0644 |
|
| gs_cspace.ps | File | 3.95 KB | 0644 |
|
| gs_dbt_e.ps | File | 2.07 KB | 0644 |
|
| gs_diskn.ps | File | 6.69 KB | 0644 |
|
| gs_dps1.ps | File | 4.63 KB | 0644 |
|
| gs_dps2.ps | File | 8.55 KB | 0644 |
|
| gs_dscp.ps | File | 3.83 KB | 0644 |
|
| gs_epsf.ps | File | 11.95 KB | 0644 |
|
| gs_fapi.ps | File | 15.23 KB | 0644 |
|
| gs_fntem.ps | File | 11.11 KB | 0644 |
|
| gs_fonts.ps | File | 47.76 KB | 0644 |
|
| gs_frsd.ps | File | 3.68 KB | 0644 |
|
| gs_icc.ps | File | 3.02 KB | 0644 |
|
| gs_il1_e.ps | File | 2.64 KB | 0644 |
|
| gs_img.ps | File | 23.42 KB | 0644 |
|
| gs_init.ps | File | 92.77 KB | 0644 |
|
| gs_lev2.ps | File | 42.84 KB | 0644 |
|
| gs_ll3.ps | File | 19.11 KB | 0644 |
|
| gs_mex_e.ps | File | 3.74 KB | 0644 |
|
| gs_mgl_e.ps | File | 2.11 KB | 0644 |
|
| gs_mro_e.ps | File | 2.43 KB | 0644 |
|
| gs_pdf_e.ps | File | 1.5 KB | 0644 |
|
| gs_pdfwr.ps | File | 32.49 KB | 0644 |
|
| gs_res.ps | File | 41.04 KB | 0644 |
|
| gs_resmp.ps | File | 21.94 KB | 0644 |
|
| gs_setpd.ps | File | 37.57 KB | 0644 |
|
| gs_statd.ps | File | 17.69 KB | 0644 |
|
| gs_std_e.ps | File | 3.05 KB | 0644 |
|
| gs_sym_e.ps | File | 3.02 KB | 0644 |
|
| gs_trap.ps | File | 2.86 KB | 0644 |
|
| gs_ttf.ps | File | 65.04 KB | 0644 |
|
| gs_typ32.ps | File | 4.44 KB | 0644 |
|
| gs_typ42.ps | File | 2.03 KB | 0644 |
|
| gs_type1.ps | File | 12.5 KB | 0644 |
|
| gs_wan_e.ps | File | 1.51 KB | 0644 |
|
| pdf_main.ps | File | 42.22 KB | 0644 |
|
| xlatmap | File | 1.73 KB | 0644 |
|