Re: font policy changes
On Thu, Jul 17, 2008 at 00:19:39 -0700, unifoundry@unifoundry.com wrote:
> What I meant by "don't work" is that, as you mention, these two options
> are no-ops.
>
> According to the update-fonts-dir(1) man page, these options should not
> be no-ops:
> ===============
> update-fonts-dir creates a fonts.dir file in an X font directory by
> invoking mkfontdir(1x) with the appropriate arguments....For each
> directory, which is simply the last component of its path (such as
> '75dpi' or 'misc'), update-fonts-dir will generate either
> /usr/lib/X11/fonts/directory/fonts.dir or
> /usr/share/fonts/X11/directory/fonts.dir from the fonts.scale and font
> files found within it.
>
> -7, --x11r7-layout switches the font layout to the one introduced in
> X11R7: fonts in /usr/share/fonts/X11/directory (default is: fonts in
> /usr/lib/X11/fonts/directory)
> ===============
>
The manpage is outdated.
> Here are examples of what happens in practice on Etch (4.0r3, i386 DVD
> install), showing where the man page says the program should look versus
> what actually happens.
>
> Invocation: update-fonts-dir misc
> Documented Path: /usr/lib/X11/fonts/misc
> Actual Path: /usr/lib/X11/fonts/misc
> Status: works as advertised (and complains that
> /usr/lib/X11/fonts/misc doesn't exist)
>
No. It looks in both the old and the new paths. Did you actually look
at the script?
Cheers,
Julien
Reply to: