[Gnome-print] Updated font installer



Hello!

All brave people of you should test out new command-line font installer for gnome-print.
Bugreports are especially welcome, if you dare to delete old fontmap files first.

What is changed:
- old fontmap (if exists) is parsed, so you should not loose modified font settings
  if upgrading gnome-print.
- you can specify arbitrary number of directories, that are searched for afm and pfb
  files. Font are built up from matching pairs, if there are more than 2 file per
  font, the ones with highest version numbers are used.
- all files are verified, and corresponding font is erased from map, if file is missing
  or corrupted
So you should be able to constantly update your fontmap, simply by executing:

  gnome-font-install --target=/usr/share/fontmap $dirname

to install new fonts from given directory

  gnome-font-install --target=/usr/share/fontmap

to remove fonts corresponding to deleted files from map.

More to come soon

Best wishes,
Lauris Kaplinski







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]