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  aliases insert names directly ahead of the 
matching family, the sequence:




sans-serif

Arial



...



sans-serif

Nimbus Sans



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



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

2003-02-08 Thread Mike FABIAN
James Richard Tyrer <[EMAIL PROTECTED]> $B$5$s$O=q$-$^$7$?(B:
(B
(B> Mike FABIAN wrote:
(B>> James Richard Tyrer <[EMAIL PROTECTED]> $B$5$s$O=q$-$^$7$?(B:
(B>>
(B>>>Mike FABIAN wrote:
(B>>>
(BI wonder where in /etc/fonts.fonts.conf exactly is the best
(Bplace to put the include statement for ~/.fonts.conf.
(BIt cannot be at the very end of /etc/fonts/fonts.conf because
(Bthen the following would not work:
(B>>>
(B>>>Put it at the end of the list starting with:
(B>>>
(B>>> /usr/X11R6/lib/X11/fonts
(B>> But if ~/.fonts.conf is included there (i.e. very early in
(B>> /etc/fonts/fonts.conf), it is not possible to override the rules from
(B>> /etc/fonts/fonts.conf in the personal ~/.font.conf file.
(B>>
(B> I appear to need more sleep as I have given the correct answer, but it
(B> sappers to be for the wrong question -- not the one which you asked.
(B>
(B> Doesn't you: "fonts.conf" file already have the line:
(B>
(B>   ~/.fonts.conf
(B>
(B> in it?
(B
(BYes, it is already  there in the /etc/fonts/fonts.conf
(Bfrom XFree86 CVS. But it is included rather close to
(Bthe top of fonts.conf and followed by many rules.
(BI experimented a bit and it appears to me, that I cannot
(Boverride these rules by anything I write into ~/.fonts.conf
(Bbecause the rule which comes last always wins.
(B
(BTo make it possible to override as much as possible of
(Bthe global settings  in /etc/fonts/fonts.conf with user
(Bpreferences in ~/.fonts.conf, it seems to be better
(Bto put the line
(B
(B~/.fonts.conf
(B
(Bat the end of /etc/fonts/fonts.conf.
(B
(BObviously rules which depend on special settings in ~/.fonts.conf
(Bmust follow below the line
(B
(B~/.fonts.conf
(B
(Bfor example Keith's trick with "prefer_outlines".
(B
(BBut I couldn't find a reason to put anything else below this line,
(Btherefore I wondered why it isn't already close to the bottom in
(BXFree86 CVS and whether that should be changed.
(B
(BOr am I overlooking something?
(B
(B-- 
(BMike Fabian   <[EMAIL PROTECTED]>   http://www.suse.de/~mfabian
$B?gL2ITB-$O;E;v$NE($@!#(B
(B___
(BFonts mailing list
([EMAIL PROTECTED]
(Bhttp://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]> $B$5$s$O=q$-$^$7$?(B:
> 
> 
>>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:
>>
>>  /usr/X11R6/lib/X11/fonts
> 
> 
> 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:

~/.fonts.conf

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



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

2003-02-07 Thread James Richard Tyrer
Mike FABIAN wrote:

James Richard Tyrer <[EMAIL PROTECTED]> $B$5$s$O=q$-$^$7$?(B:



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:

	/usr/X11R6/lib/X11/fonts



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:

	~/.fonts.conf

in it?

--
JRT


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


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

2003-02-06 Thread Mike FABIAN
James Richard Tyrer <[EMAIL PROTECTED]> $B$5$s$O=q$-$^$7$?(B:
(B
(B> Mike FABIAN wrote:
(B>> I wonder where in /etc/fonts.fonts.conf exactly is the best
(B>> place to put the include statement for ~/.fonts.conf.
(B>> It cannot be at the very end of /etc/fonts/fonts.conf because
(B>> then the following would not work:
(B>
(B> Put it at the end of the list starting with:
(B>
(B>   /usr/X11R6/lib/X11/fonts
(B
(BBut if ~/.fonts.conf is included there (i.e. very early in
(B/etc/fonts/fonts.conf), it is not possible to override the rules from
(B/etc/fonts/fonts.conf in the personal ~/.font.conf file.
(B
(BThe last rule always seems to win.
(B
(BTherefore I wondered whether ~/.fonts.conf should be included
(Bclose to the end of /etc/fonts/fonts.conf. Only a few rules which
(Bdepend on settings in ~/.fonts.conf must be below that, like
(BKeith's method to prefer outline fonts if
(B
(B
(B
(Btrue
(B
(B
(B
(Bis in ~/.fonts.conf.
(B
(B-- 
(BMike Fabian   <[EMAIL PROTECTED]>   http://www.suse.de/~mfabian
$B?gL2ITB-$O;E;v$NE($@!#(B
(B___
(BFonts mailing list
([EMAIL PROTECTED]
(Bhttp://XFree86.Org/mailman/listinfo/fonts