[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDE Font Installer
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2003-06-01 6:34:22
[Download RAW message or body]

James Richard Tyrer wrote:
> I don't know if there is a bug for this, but:
> 
> I tested it in KDE 3.1.2 and the font installer will now install fonts
> in the users local directory: (using Basic Mode) so that they WILL
> work with FontConfig.  :-)
> 
> I note that I am using todays build of KDE_3_1_BRANCH so there is the
> small possibility that it didn't make it into the release.
> 
> Also, it appears to make the fonts available to GhostScript.
> 
> Note that the "Fontmap" file is in "~/.kde/share/fonts/" and the fonts 
> are installed in: ~/.kde/share/fonts/override/.  This is not the way 
> other programs do it.  So, if you want to install local fonts without 
> using the KDE Font Installer, I suggest that you install them in a 
> subdirectory of: ~/.fonts.
> 
> There is still some font stuff in the: "startkde" script that is either 
> obsolete (e.g. now unnecessary) or doesn't appear that it would work.
> 
And, the bad news AFAIC, if you use it to install fonts in:

	/usr/X11R6/lib/X11/fonts/<what-ever>/

it will probably totally screw up your GhostScript installation.  That
is, if you installed and set up GhostScript according to the
GhostScript documentation.

Note that if you simply installed GhostScript with your distro, this
WILL work, but it isn't the GhostScript way to do it.  Except that new
stuff should go at the end of the Fontmap file if you want for it to
have precedence over the stuff that is already there.

Except that you can NOT easily add your master Fontmap.GS file as the:
  "Ghostscript, Fontmap file" but the good news is that if you don't
tell it where to find it, then it can't overwrite it.

This could be fixed and I would explain exactly how, but it is my
understanding that such information is not wanted by KDE developers.

I also noted that it overwrites the: "/etc/fonts/fonts.conf" when you
click: "Apply".  This is NOT the FontConfig way of doing things.
FontConfig recursively searches directory trees so normally all you
need is:

  <dir>/usr/X11R6/lib/X11/fonts</dir>
  <dir>/usr/share/fonts</dir>

Other directories should ONLY be added if they are NOT subdirectories
of those two directories.

The same is true of: "~/.fonts.conf", all it needs (for KDE) is:

  <dir>/home/jrt/.kde/share/fonts</dir>

Also note that the directory string should NOT end in a '/' slash like
it does in: "XF86Config".

--
JRT



 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic