Thread Alle installierten Schriftarten in array schreiben (Win32) (17 answers)
Opened by Kean at 2011-05-23 10:58

GwenDragon
 2011-05-23 11:29
#149031 #149031
User since
2005-01-17
14761 Artikel
Admin1
[Homepage]
user image
Schon getestet, was $F und $truetypefonts beinhalten? Sind die leer?

Was zeigt denn:
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
use strict;
use warnings;
use Win32::Fonts::Info;

my $F=Win32::Fonts::Info->new() or die $!;
my $truetypefonts = $F->GetTrueTypeFonts() or die $!;

foreach (keys %{$truetypefonts})
  {
    print $_ . "=" . %{$truetypefonts}->{$_} . "\n";
  } 

Last edited: 2011-05-23 11:38:58 +0200 (CEST)

View full thread Alle installierten Schriftarten in array schreiben (Win32)