aplonis has asked for the wisdom of the Perl Monks concerning the following question:
How may I work around that please? I don't mind about the font display window. But I need the font path string in $foo so I can change fonts elsewhere in the script. TIA$ttf_dir = 'C:\\WINNT\\Fonts\\'; $foo = $mw->getOpenFile( -title => 'Choose TrueType font', -initialdir => $ttf_dir, -defaultextension => '.ttf', );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getOpenFile() returns empty string for TrueType font path
by saintmike (Vicar) on Feb 24, 2004 at 17:41 UTC | |
by aplonis (Pilgrim) on Feb 24, 2004 at 17:48 UTC |