Mike FABIAN <mfabian@suse.de> さんは書きました:
James Ogley <james@usr-local-bin.org> さんは書きました:
It'll then use the SuSEconfig fonts module to set them up for X.
The funny thing is that I'd installed these fonts manually, configured the fonts.scale and fonts.dir etc etc many times, but every time I ran SuSEconfig, it nuked the config, unless I did it with this script - weird no?
SuSEconfig.fonts on SuSE Linux <= 8.1 always overwrites fonts.scale. It merges the contents of all files named fonts.scale.<something> into fonts.scale.
I think what I wrote above is misleading. SuSEconfig.fonts on SuSE Linux >= 8.2 will also overwrite fonts.scale.
Therefore, if you want to manually edit entries for fonts, edit a file like fonts.scale.my-private-entries. This will then be merged into the generated fonts.scale file by SuSEconfig.fonts. Don't edit fonts.scale directly.
This is still valid with the new SuSEconfig.fonts as well. The difference is only that the new SuSEconfig.fonts/fonts-config scripts do a bit more stuff automatically, therefore manual tweaking of the fonts.scale.* file will not be necessary in many cases. For most TrueType fonts it should be enough to copy them into /usr/X11R6/lib/X11/fonts/truetype or some other directory in the X11 font path and run "SuSEconfig --module fonts". The fonts.scale which is then automatically generated is OK in many cases. Only if the auto generated fonts.scale contains wrong entries or lacks some important entries, manually adding a fonts.scale.<something> file is still necessary. If entries for a certain font exist in a fonts.scale.* file, all automatically generated entries will be discarded. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。