Thread Alle installierten Schriftarten in array schreiben (Win32)
(17 answers)
Opened by Kean at 2011-05-23 10:58
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) |