Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.140
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
perl /
vendor /
lib /
Imager /
Font /
Delete
Unzip
Name
Size
Permission
Date
Action
BBox.pm
5.1
KB
-rw-rw-rw-
2020-06-13 09:38
FT2.pm
6.05
KB
-rw-rw-rw-
2020-06-13 10:11
FreeType2.pm
1.06
KB
-rw-rw-rw-
2020-06-13 09:38
Image.pm
3.75
KB
-rw-rw-rw-
2020-06-13 09:39
T1.pm
6.26
KB
-rw-rw-rw-
2020-06-13 10:13
Test.pm
1.76
KB
-rw-rw-rw-
2020-06-13 10:19
Truetype.pm
3.22
KB
-rw-rw-rw-
2020-06-13 09:40
Type1.pm
374
B
-rw-rw-rw-
2020-06-13 10:24
W32.pm
1.86
KB
-rw-rw-rw-
2020-06-13 09:34
Win32.pm
408
B
-rw-rw-rw-
2020-06-13 10:14
Wrap.pm
10.11
KB
-rw-rw-rw-
2020-06-13 10:15
Save
Rename
package Imager::Font::W32; use 5.006; use strict; use Imager; our @ISA = qw(Imager::Font); BEGIN { our $VERSION = "0.91"; require XSLoader; XSLoader::load('Imager::Font::W32', $VERSION); } # called by Imager::Font::new() # since Win32's HFONTs include the size information this # is just a stub sub new { my $class = shift; my %opts = ( color => Imager::Color->new(255, 0, 0), size => 15, @_, ); return bless \%opts, $class; } sub _bounding_box { my ($self, %opts) = @_; my @bbox = i_wf_bbox($self->{face}, $opts{size}, $opts{string}, $opts{utf8}); unless (@bbox) { Imager->_set_error(Imager->_error_as_msg); return; } return @bbox; } sub _draw { my $self = shift; my %input = @_; if (exists $input{channel}) { return i_wf_cp($self->{face}, $input{image}{IMG}, $input{x}, $input{'y'}, $input{channel}, $input{size}, $input{string}, $input{align}, $input{aa}, $input{utf8}); } else { return i_wf_text($self->{face}, $input{image}{IMG}, $input{x}, $input{'y'}, $input{color}, $input{size}, $input{string}, $input{align}, $input{aa}, $input{utf8}); } } sub utf8 { return 1; } sub can_glyph_names { return; } 1; __END__ =head1 NAME Imager::Font::W32 - font support using C<GDI> on Win32 =head1 SYNOPSIS use Imager; my $img = Imager->new; my $font = Imager::Font->new(face => "Arial", type => "w32"); $img->string(... font => $font); =head1 DESCRIPTION This provides font support on Win32. =head1 CAVEATS Unfortunately, older versions of Imager would install Imager::Font::Win32 even if Win32 wasn't available, and if no font was created would succeed in loading the module. This means that an existing Win32.pm could cause a probe success for Win32 fonts, so I've renamed it. =head1 AUTHOR Tony Cook <tonyc@cpan.org> =head1 SEE ALSO Imager, Imager::Font. =cut