Peter Linnell wrote:

>On Mon, 2003-08-18 at 12:44, Ralf H?ling wrote:
>  
>
>>Am Sonntag, 17.08.03, um 21:05 Uhr (Europe/Berlin) schrieb Peter 
>>Linnell:
>>
>>    
>>
>>>However, many TT fonts migrated from Windows are installed with upper
>>>case names and/or extensions i.e. .TTF  Bad.  If so, Scribus will
>>>sometimes not find them. If not rename them to lower case and rebuild
>>>fonts.scale and fonts.dir - in that order with ttfmkdir.
>>>      
>>>
>>You're kidding? You mean I have to rename all my fonts? I think I have
>>never had a font with lower case names.
>>    
>>
>
>  
>
Make a shell script using this:

#!/bin/sh
 ls * | while read f
  do
    if [ -f $f ]; then
      if [ "$f" != "`echo \"$f\" | tr A-Z a-z`" ]; then
       mv -iv "$f" "`echo \"$f\" | tr A-Z a-z`"
      fi
    fi
  done

Run the script in the same directory that contains the fonts you want to 
add. Once the script is finished, all fonts in that directory will have 
lower case names.



Best regards


Marvin Dickens
Alpharetta, Georgia


Reply via email to