?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
#!/usr/bin/perl
use lib '../blib/lib','../blib/arch';
use GD 1.20;
use constant FONT_DIRECTORY => '/dosc/windows/fonts';
my $directory = shift || FONT_DIRECTORY;
my @fonts = <$directory/*.pfa $directory/*.pfb $directory/*.ttf>;
die "Usage: $0 \nDisplays a directory of TrueType and Type1 fonts\n" unless @fonts;
my $im = new GD::Image(800,600);
my ($white,$black) = (
$im->colorAllocate(255, 255, 255),
$im->colorAllocate(0, 0, 0));
my ($x,$y) = (20,20);
my $max_x = 0;
for my $font (@fonts) {
my ($font_name) = $font =~ /([^\\\/]+)$/;
warn "rendering $font_name\n";
(my @h = $im->stringTTF($black,$font,12.0,0.0,$x,$y,$font_name)) || next;
$y = $h[1] + 12 + 5;
$max_x = $max_x > $h[4] ? $max_x : $h[4];
if ($y > 600) {
$y = 20;
$x = $max_x + 5;
}
}
binmode STDOUT;
# print the image to stdout
print $im->png;