On 3/26/06, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote:
> Dan Nicholson wrote:
>
> Next time please use my ums.usu.ru address. The linuxfromscratch.org address
> is only for noise that Bugzillas create.

First, thanks for all the feedback.  You cleared up a lot of blurry
areas in my mind.  Next time I'll use that address, too.

> > +      <para>The core X font protocol finds fonts from the server 
> > configuration
> > +      file (xorg.conf or XF86Config) in addition to an internal hard-coded
> > +      path.  Assuming the prefix for your X installation is
>
> There is no internal hardcoded path in effect. What is hardcoded is a font
> path used when there is absolutely no font path configured in xorg.conf.

I didn't know that.  I'll add a new sentence saying something like "If
there's no font path in the configuration file, an internal hard-coded
path is used.

>
> > +      <para>Xft provides antialiased font rendering through
> > +      <application>Freetype</application>, and fonts are controlled from 
> > the
> > +      client side using <application>Fontconfig</application>.  The default
> > +      search path is <filename 
> > class="directory">/usr/share/fonts</filename>
> > +      and <filename class="directory">~/.fonts</filename>.
> > +      When installing <application>X</application>, symlinks were created 
> > from
> > +      the <filename class="directory">OTF</filename> and <filename
> > +      class="directory">TTF</filename> <application>X</application> font
> > +      directories to <filename
> > +      class="directory">/usr/share/fonts/X11-{OTF,TTF}</filename>.  This 
> > was
> > +      because we only want <application>Fontconfig</application> to use
> > +      scalable fonts and not others such as bitmapped or Type1 
> > fonts.</para>
>
> Type1 fonts are scalable. One can use Type1 fonts with fontconfig. It's just
> the Type1 fonts coming with Xorg that are better excluded.

Hmm.  Maybe the last sentence should be "...we only want Fontconfig to
use a subset of the scalable fonts.  This prevents Fontconfig from
using the poorly rendered Type1 and bitmapped fonts."

> >      ...
> >      Load  "freetype"
>
> This is completely irrelevant. The "freetype" module is used for
> non-antialiased rendering of TrueType and Type1 fonts via the core X font
> protocol.

Ah.  I thought the "freetype" module was essentially an alias for
"Xft".  I'll move that part into the "X Core" section and mention
non-antialiased rendering.

> > +      <filename>fonts.cache-1</filename> files in each directory.  This 
> > cache
> > +      can be regenerated using the <command>fc-cache</command> command at 
> > any
> > +      time.</para>
>
> If the cache appears to be out of date, it is ignored, and information is
> (slowly) fetched from the fonts themselves.

Thanks.  Will be added.

>
> Please replace the link: http://sourceforge.jp/projects/efont/
>
> http://kldp.net/projects/baekmuk/

Thanks.  I couldn't find that project links for those fonts.

> The rest is good (but please run a spellchecker).

Certainly.

> The following is, IMHO, a
> wiki material, but you can put it into the book too.

Thanks for the Fontconfig tweaks.  I'm thinking I may take all the
fonts.conf tweaks (including the DejaVu ones) and put them on a Wiki
page.  Certainly, I'll be adding a Wiki link on that page because
people (like you) will probably find more and better ways to use the
fonts.

Thanks, again.

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