Re: [Fonts] Re: where to include ~/.fonts.conf

2003-02-08 Thread Keith Packard
Around 22 o'clock on Feb 8, Mike FABIAN wrote:

 To make it possible to override as much as possible of
 the global settings  in /etc/fonts/fonts.conf with user
 preferences in ~/.fonts.conf, it seems to be better
 to put the line

The subtleties of the contents of /etc/fonts/fonts.conf appear to be lost 
here.  The placement of the include of ~/.fonts.conf is intended to 
carefully allow overriding of all of the values in /etc/fonts/fonts.conf.

In particular, because prefer aliases insert names directly ahead of the 
matching family, the sequence:

!-- in ~/.fonts.conf --

alias
familysans-serif/family
prefer
familyArial/family
/prefer
/alias

...
!-- in /etc/fonts/fonts.conf --

alias
familysans-serif/family
prefer
familyNimbus Sans/family
/prefer
/alias

results in the family list

Arial,Nimbus Sans,sans-serif

As you see, in this case the users preferred font (arial) takes precedence 
over the system default.

That's the bulk of the configuration below the include of ~/.fonts.conf.

The only other rules below ~/.fonts.conf are to map PostScript families to 
TrueType equivalents.  Perhaps those should be moved above the include,
I don't have a strong opinion.

-keith


___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



RE: [Fonts] Re: where to include ~/.fonts.conf

2003-02-07 Thread Sabharwal, Atul
It is based on your XF86Config file.  In that file you set the font path or
pointer to external font file
Or a font server on the network.

--
Atul

-Original Message-
From: James Richard Tyrer [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 07, 2003 12:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [Fonts] Re: where to include ~/.fonts.conf


Mike FABIAN wrote:
 James Richard Tyrer [EMAIL PROTECTED] さんは書きました:
 
 
Mike FABIAN wrote:

I wonder where in /etc/fonts.fonts.conf exactly is the best
place to put the include statement for ~/.fonts.conf.
It cannot be at the very end of /etc/fonts/fonts.conf because
then the following would not work:

Put it at the end of the list starting with:

  dir/usr/X11R6/lib/X11/fonts/dir
 
 
 But if ~/.fonts.conf is included there (i.e. very early in
 /etc/fonts/fonts.conf), it is not possible to override the rules from
 /etc/fonts/fonts.conf in the personal ~/.font.conf file.
 
I appear to need more sleep as I have given the correct answer, but it
sappers to be for the 
wrong question -- not the one which you asked.

Doesn't you: fonts.conf file already have the line:

include ignore_missing=yes~/.fonts.conf/include

in it?

--
JRT


___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts