Supongo que será válido para cualquier distribución, salvo por el comando emerge paquete que es propio de Gentoo, en caso de Ubuntu o Debian sería apt-get install paquete.

# emerge mkfontdir mkfontscale
# cd /usr/share/fonts
# mkdir myfonts
# cp /ruta/a/fichero.ttf myfonts/
# mkfontscale myfonts/
# mkfontdir myfonts/
# mkfontdir -e encodings/ myfonts

Añadimos la línea FontPath “/usr/share/fonts/myfonts/” al fichero de configuración de xorg /etc/X11/xorg.conf:

Section “Files”
RgbPath “/usr/share/X11/rgb”
FontPath “/usr/share/fonts/misc/”
FontPath “/usr/share/fonts/100dpi/”
FontPath “/usr/share/fonts/75dpi/”
FontPath “/usr/share/fonts/freefonts/”
FontPath “/usr/share/fonts/corefonts/”
FontPath “/usr/share/fonts/arphicfonts/”
FontPath “/usr/share/fonts/baekmuk-fonts/”
FontPath “/usr/share/fonts/default/ghostscript/”
FontPath “/usr/share/fonts/myfonts/”
# ModulePath “/usr/lib/modules”
EndSection

Paquetes de fuentes TrueType que tengo instalados de portage:

  • media-fonts/arphicfonts
  • media-fonts/baekmuk-fonts
  • media-fonts/corefonts
  • media-fonts/freefonts
  • media-fonts/gnu-gs-fonts-std
Deja una Respuesta

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>