...
pour convertir les TTF vers un format plus "linuxiens"?
Non, non, garde bien TTF, ça fonctionne impec ;)
Il me semble avoir lu qu'il fallait renommer les fontes qui
comportent des majuscules en toutes minuscules et que ce

Hmmm... c'est pas idiot ;)


Oui, tant qu'à faire, pour être sur, renommez-les en minuscules (c'est sans doute surtout le .ttf (et pas .TTF) à la fin du nom de fichier qui pourrait causer un problème).

Ca vaut bien un petit script ;))

--8<---------------------------------------------
#!/bin/bash

fonts_dir=/usr/X11R6/lib/X11/fonts/truetype

if [ "$UID" != "0" ]; then
  echo "ERROR: You must run this script as root" >&2
  exit 1
fi

if ! cd "$fonts_dir"; then
  echo "ERROR: Could not change directory to fonts directory:" >&2
  echo "       $fonts_dir" >&2
  exit 2
fi

for f in *; do
  fmin=$(echo $f|tr 'A-Z' 'a-z')
  if [ "$f" != "$fmin" ]; then
    echo -n "Renaming $f -> $fmin: "
    if mv "$f" "$fmin"; then
      echo "OK"
    else
      echo " *ERROR*"
      exit 3
    fi
  fi
done

/sbin/SuSEconfig --module fonts
--8<---------------------------------------------

Ah... euh... ou ici tiens:
http://www.tldp.org/LDP/abs/html/textproc.html#LOWERCASE

lol, vu trop tard ;)
(mais mon script a aussi l'appel à SuSEconfig ;P)

sont les fontes de Corel Draw qui sont les plus fiables.
C'était sur une liste consacrée à Scribus, je crois.
Bin... voui, c'est bien possible que ça pose problème ;)

--
  -o) Pascal Bleser        http://guru.unixtech.be
  /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
 _\_v The more things change, the more they stay insane.

_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: efnet.unixtech.be:6667 - #unixtech

Répondre à