On 3/14/06, Bruce Dubbs <[EMAIL PROTECTED]> wrote:
> >> Alexander E. Patrakov wrote:
> >>
> >>> 3) --without-add-fonts, with the following symlinks:
> >>>
> >>> /usr/share/fonts/X-{OTF,TTF} -> /usr/share/X11/fonts/{OTF,TTF}
>
> OK Dan.  Now you've confused me.  What changes are needed for
> fontconfig? There is no formal option --without-add-fonts in fontconfig.
>  I believe that Alex was just saying not to change fontconfig to add
> --with-add-fonts=DIR1,DIR2,..

--without-add-fonts is the same as saying --with-add-fonts=no,
standard autoconf macro.  This is not strictly necessary if we are not
going to install the X fonts in */lib/X11/fonts.  I think it is a
safeguard against this situation, but if you'd prefer the switch not
to be added that's fine.

I just like the fact that by adding the switch, we always know
fontconfig is looking in /usr/share/fonts and ~/.fonts only unless you
explicitly add another path.

> I also think he was saying to not add a symlink from the Type1 fonts in
> the X packages to /usr/share/fonts.

My wording was bad.  I was agreeing with him that we shouldn't symlink
to Type1.  I trust his analysis that they aren't rendered correctly.

Let me know if you want me to revert the fontconfig changes.  I'm
going to start working on the X changes.  Increasing verbosity, my
plan is:

* Add --libdir=/usr/share to the Fonts section of xorg7.xml with note that
  the fonts will end up in /usr/share/X11/fonts with the switch.

* Add #define FontDir /usr/share/X11/fonts to the host.def section to
  xorg.xml and xfree86.xml

* Add symlinks to TrueType fonts in installing sections of all three
    ln -svn ../X11/fonts/OTF /usr/share/fonts/X-OTF
    ln -svn ../X11/fonts/TTF /usr/share/fonts/X-TTF
  Please let me know if you prefer different names than X-{O,T}TF

* Update the info in x-setup.xml to indicate that X installed its TrueType
  fonts in /usr/share/X11/fonts/TTF and it is symlinked in .../X-TTF.  User
  can create separate directories for new TrueType font packages in
  /usr/share/fonts.  Add link to DejaVu fonts.  Mention UTF-8 coverage of
  that package.

Let me know what you think.

--
Dan
--
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