DJ Lucas wrote:
Dan Nicholson wrote:


Regardless, the fonts will be going in the X default location
($XORG_PREFIX/lib/X11/fonts) and symlinks to OTF and TTF will be made
in /usr/share/fonts.  I think you, Alexander and I are in agreement
here. :-)  Andrew, DJ?


Personally, I don't care which method is chosen so long as the TTF and OTF dirs are available to fontconfig. If we choose to simplify it by adding it directly into the X instructions, then I _like_ the RedHat solution suggested by Dan (/usr/share/X11/fonts). My only argument for this - no matter which flavor, version, or prefix is chosen for X, the fonts are in the same location and the instructions are the same for all three packages and all prefixes. IMO, from a maintenance POV, and possibly from a support POV, that is the best solution.

Getting Xorg-7 to install its fonts in /usr/share/X11/fonts is not easy. Most of the fonts need to be passed the option

--with-fontdir=/usr/share/X11/fonts/$3

Where $3 is one of 100dpi 75dpi Type1 misc TTF speedo cyrillic or OTF

Encodings needs to be passed the configure switch

--with-encodingsdir=/usr/share/X11/fonts/encodings

Font-alias needs to be told

--with-top-fontdir=/usr/share/X11/fonts

Font-util needs

--with-mapdir=/usr/share/X11/fonts/util

and font-misc-ethiopic needs

--with-ttf-fontdir=/usr/share/X11/fonts/TTF \
--with-otf-fontdir=/usr/share/X11/fonts/OTF

This will make the xorg-7 instructions more complicated, and they are already pretty complicated. I suggest that it would be easier to admit defeat and let them install in the default location ($XORG_PREFIX/lib/X11/fonts) and make a symbolic link from $XORG_PREFIX/lib/X11/fonts/{TTF,OTF} -> /usr/share/fonts/{TTF,OTF}

Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to