I'm now completely confused, so I'm going to ask what may seem like silly 
questions and hope someone can clear up what I don't understand. 

As stated at the beginning of this thread, my problem started after updating 
from MDK91 to MDK92. Since the problem didn't exist before that, I had no 
reason to check which fonts were available or not. I rarely **play** with 
fancy fonts and stick to the basic Arial, David, courier, Times New Roman, 
etc. So it's very possible that I was already missing many fonts before the 
update and didn't even notice it. But in any case, Konq worked properly. In 
fact, so long as fonts were readable and so long as I had Hebrew (which I 
don't use much), I was happy. Now that, based on my experimentation and the 
answers to this thread, I realize that I'm not getting the full benefit of 
the fonts I have, I'd like to learn how to maximize the situation.


On Friday 09 January 2004 15:45, Alex Chudnovsky wrote:

> Not with the font server. Is the "Use antialiased fonts" option switched on
> in KDE? If so, that explains it all. KDE uses fonts that are EITHER
> provided by the font server OR by the xft mechanism ( that is responsible

Yes it's switched on. I know some people claim this is a **waste** of CPU and 
so on, but I'm not willing to give up anti-aliasing. At least for my old 
eyes, it's not a luxury - I can barely read **normal** fonts in LINUX. BTW - 
as an experiment, I turned off ant-aliasing and went back to the original 
konquerorrc and the problem with the Beast Wars font returned. So it seems 
that with or without anti-aliasing, the adobe-helvetica (and I assume many 
other) fonts are missing.

> for antialiased fonts ), BUT NOT BOTH. You should have added a directory
> containing your helvetica font files, to /etc/fonts/local.conf.

I don't understand what you're suggesting here. When I do locate adobe, I get 
about 800 lines such as, for example:

/usr/share/fonts/afms/adobe/phvr8an.afm
/usr/share/texmf/fonts/afm/adobe/helvetic/phvr8an.afm
/usr/share/texmf/fonts/vf/adobe/helvetic/phvron8z.vf

The /etc/fonts/local.conf file doesn't mention directories at all and looks 
like this:

[EMAIL PROTECTED] solomon]$ cat /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
  Enable sub-pixel rendering
        <match target="font">
                <test qual="all" name="rgba">
                        <const>unknown</const>
                </test>
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
-->
</fontconfig>

So I don't see what I'm supposed to add to the file.

> It also seems probable that you /etc/fonts/fonts.conf is a bit incorrect.

Anything is possible, but this was set up by Mandrake and since I haven't 
found other complaints ....

> Generally, it should provide an alias for non-existing fonts. In your case,
> there was no alias defined or it was defined erroneously, so xft just used
> a FIRST font in its list.
>> I 
>> checked my font path and found a few directories not listed. I added them
>> with chkfontpath, ran xset fp rehash, and restarted the font server with
>> service xfs restart. None of that helped.
>By definition. Xfs just isn't used by KDE at all.

Sorry to disagree, but either I've misunderstood, or you'r contradicting 
yourself since you suggested that "xft just used a FIRST font in its list" 
and then write that "Xfs just isn't used by KDE at all". In any case, I have 
no idea how to look at this file. I won't include it here (it's about 10K), 
but the beginning of the file is:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts.conf file to configure system font access --><fontconfig>
<!--
        The intent of this standard configuration file is to be adequate for
        most environments.  If you have a reasonably normal environment and
        have found problems with this configuration, they are probably
        things that others will also want fixed.  Please send any suggested
        changes to [EMAIL PROTECTED] so that future releases can include
        such changes.

        Note that the normal 'make install' procedure for XFree86 is to
        replace any existing fonts.conf file with the new version.  Place
        any local customizations in local.conf which this file references.

        Keith Packard
--> <dir>/usr/share/fonts/msttcorefonts/</dir>
 <dir>/usr/share/fonts/he/Type1/</dir>
 <dir>/usr/share/AbiSuite/fonts/</dir>
 <dir>/usr/share/fonts/elmar_scalable/</dir>
 <dir>/usr/share/fonts/ttf/decoratives/</dir>
 <dir>/usr/share/fonts/ttf/western/</dir>
 <dir>/usr/share/fonts/default/Type1/</dir>
 <dir>/usr/X11R6/lib/X11/fonts/TTF/</dir>
 <dir>/usr/X11R6/lib/X11/fonts/Type1/</dir>
<!--
  Enable sub-pixel rendering
        <match target="font">
                <test qual="all" name="rgba">
                        <const>unknown</const>
                </test>


There are alot of mentions of aliases later in the file, but the thing that I 
noticed first was the list of font directories which is very different from 
what I get running chkfontpath. So who (what) controls which fonts are used 
in the first place? As I wrote earlier, I manually added missing directories 
to the fontpath after discovering that they were missing. There were 17 
directories listed and after my addition, there are 24, but notice the 
difference between fonts.conf and chkfontpath. Here's what chkfontpath looks 
like now.

[EMAIL PROTECTED] solomon]# chkfontpath --list
Current directories in font path:
1: /usr/X11R6/lib/X11/fonts/misc:unscaled
2: /usr/X11R6/lib/X11/fonts/75dpi:unscaled
3: /usr/X11R6/lib/X11/fonts/100dpi:unscaled
4: /usr/X11R6/lib/X11/fonts/Type1
5: /usr/X11R6/lib/X11/fonts/TTF
6: /usr/X11R6/lib/X11/fonts/Speedo
7: /usr/X11R6/lib/X11/fonts/mdk:unscaled
8: /usr/X11R6/lib/X11/fonts/mozilla-fonts:unscaled
9: /usr/share/fonts/default/Type1
10: /usr/share/fonts/ttf/vera
11: /usr/share/fonts/ttf/decoratives
12: /usr/share/fonts/ttf/latex
13: /usr/share/fonts/ttf/western
14: /usr/share/fonts/elmar/:unscaled
15: /usr/share/fonts/type1/hebrew
16: /usr/share/fonts/override
17: /usr/share/fonts/msttcorefonts
18: /usr/share/fonts
19: /usr/X11R6/lib/X11/fonts/drakfont/ttf
20: /usr/X11R6/lib/X11/fonts/drakfont/Type1
21: /data1/fonts
22: /usr/lib/openoffice/share/fonts/truetype
23: /usr/lib/metamail/fonts
24: /usr/share/AbiSuite/fonts


This brings me back to my previous questions. Who controls fonts and, in 
particular, how do I get the maximum number of my installed fonts to work?

>
> > xlsfonts | grep adobe shows me a long list of adobe fonts.
>
> How much fonts are shown when running fc-list? And what is the first entry
> of this list? I bet that it is the same "Beast smth" font you've seen in
> Konqueror.

There are 154 fonts in the list. The list does include the Beast Wars font 
(not at the beginning) and doesn't include helvetica. 

I realize that fc-list, xfontsel and xlsfonts will not give directly 
comparable results since, for instance, xlsfonts counts each 
foundry/family/weight.... as a distinct  font and  fc-list shows only family 
and style, but this has added more to my confusion. In fact. fc-list shows 
154 fonts, xlsfonts shows 5772 and xfontsel shows 7997. Only fc-list is 
lacking helvetica. In fact, fc-list doesn't mention any adobe fonts, and is 
also missing many others. Here's a short sample:

[EMAIL PROTECTED] solomon]$ fc-list|more
Luxi Serif:style=Regular
David:style=Bold
Utopia:style=Bold Italic
Nimbus Sans L:style=Regular Italic
Arial:style=Regular
Webdings:style=Regular
Verdana:style=Bold Italic
Trebuchet MS:style=Bold Italic
Davis:style=Regular
URW Palladio L:style=Roman
Century Schoolbook L:style=Bold Italic
Luxi Serif:style=Bold
Bazaronite:style=Regular
Brand New:style=Regular
Trebuchet MS:style=Italic
Font in a Red Suit:style=(The Christmas Font)
Comic Sans MS:style=Bold
Nimbus Sans L:style=Bold

[EMAIL PROTECTED] solomon]$ xlsfonts|more
--courier-bold-o-normal--0-0-0-0-m-0-iso8859-1
--courier-bold-r-normal--0-0-0-0-m-0-iso8859-1
--courier-medium-o-normal--0-0-0-0-m-0-iso8859-1
--courier-medium-r-normal--0-0-0-0-m-0-iso8859-1
-2rebels-adventure-semi bold-r-normal--0-0-0-0-p-0-ascii-0
-2rebels-beast wars-medium-r-normal--0-0-0-0-p-0-ascii-0
-2rebels-embargo-medium-r-normal--0-0-0-0-p-0-ascii-0
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-1
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-2
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-3
-adobe-courier-bold-i-normal--0-0-0-0-m-0-iso8859-9
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso10646-1
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-1
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-13
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-15
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-2
-adobe-courier-bold-o-normal--10-100-75-75-m-60-iso8859-9
-adobe-courier-bold-o-normal--11-80-100-100-m-60-iso10646-1
-adobe-courier-bold-o-normal--11-80-100-100-m-60-iso8859-1
-adobe-courier-bold-o-normal--11-80-100-100-m-60-iso8859-13



-- 
Shlomo Solomon
http://come.to/shlomo.solomon
Sent by KMail (KDE 3.1.3) on LINUX Mandrake 9.2



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to