[Scribus] making fonts available to scribus..

Peter Linnell scribusdocs
Sat May 10 20:43:49 CEST 2003

On Sat, 2003-05-10 at 13:23, Johannes Wilm wrote:
> On Saturday 10 May 2003 18:26, Peter Linnell wrote:
> >      3. Important make sure the font names are in lower case.
> When debian installs the msttcorefonts, they are stored in uppercase. They 
> work fine in everything and freetype doesn't have any problems with them. How 
> can this be a requirement? (And yes, the msttcorefonts don't show up here 
> either). the fonts.scale and fonts.dir is also created.
> --
> Johannes Wilm

Try this:

# tolower.sh: convert file names to lower case
# in the current working directory
# Choose either all the files in a directory or 
# a command-line list
if [ "$#" -gt 0 ]; then
   filelist="$@" # just the files on command line
   filelist=`ls` # all files
for file in $filelist; do
# Use the grep command to determine if the file
# has an upper case letter
# Determine the destination of the mv command by 
# down shifting all the 
# letters in the file name. Command substituting an 
# echo of the file name to the translate filter, tr, 
# performs the downshift
   if echo "$file"|grep [A-Z] > /dev/null; then
      mv "$file" `echo "$file"|tr "[A-Z]" "[a-z]"`

More information about the scribus mailing list