[EMAIL PROTECTED] (Danny Tholen) writes:
> I had a look at drakfont to fix it's behaviour. And although I know what is wrong
>with it, and were,
> I have to little knowledge of perl to fix it (exept maybe in a crude way, but that
>would lead to other errors).
> Anyway, I decided perl is terrible and hope that this gets fixed:
>
> sub is_a_font {
> local $_ = $_[0];
> /.ttf$/i || /.pfa$/i || /.pfb$/i || /.pcf$/i || /.pcf.gz$/i || /.pfm$/i ||
>/.gsf$/;
> }
> what if the font is TTF?? My Verdana is! And it didn't get installed.
the /i makes the regexp match capitals also.
> Ofcourse, if I add TTF (and others) here, the comparing to installed font goes
>wrong. Who solves it?
>
> also:
>
> sub search_windows_font {
> foreach my $fstab_line (grep { /vfat/ } cat_('/etc/mtab') ) {
>
> I could imagine some winnt people use ntfs? which is readable so we can copy those
>fonts as well.
still dangerous. I don't think we will do that, but I'll see.
--
dam's