[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why fonts available with X and not with KDE/GNOME ?



Le mardi 20 Avril 2004 01:38, Michael Biebl a écrit :
> Hervé Piedvache wrote:
> > Le dimanche 18 Avril 2004 03:02, Hervé Piedvache a écrit :
> >>Hi,
> >>
> >>I have a trouble with fonts ... I can see some fonts under X ... with
> >>xfontsel for example ... or  with this command :
> >>
> >>$ xlsfonts | grep -i adobe | grep 'iso8859-15'
> >>-adobe-itc avant garde gothic-book-o-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc avant garde gothic-book-r-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc avant garde gothic-demi-o-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc avant garde gothic-demi-r-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc bookman-demi-i-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc bookman-demi-r-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc bookman-light-i-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc bookman-light-r-normal--0-0-0-0-p-0-iso8859-15
> >>-adobe-itc zapf chancery-medium-i-normal--0-0-0-0-p-0-iso8859-15
> >>
> >>But under KDE or GNOME ... with the for example the font selector of KDE;
> >>or inside applications like Kate ... I never see those fonts ... called
> >> for example itc zapf chancery [adobe] on other system I have ...
> >>
> >>Does someone have any idea to solve this trouble ?
> >
> > I have one point to add to my trouble ... I have a laptop installed last
> > week from a classical woody install CD, and upgrade immediatly in
> > Unstable ... without starting X during the complete install ... Then I
> > have itc zapf chancery [adobe] or Helvetica [adobe] and Fixed [Jis] or
> > Fixed [Sony] on this configuration ... that I don't see on my PC !!
> >
> > I have copied the /etc/fonts folder from the laptop to my PC, and also
> > compared the fonts packages installed on the two computer to be in same
> > situation ... but still without any result on my PC !! :o((
> >
> > So not a fontconfig trouble ... so Where is the trouble ?
> >
> > Thanks for your help !
>
> KDE and Gnome use Xft(2)/fontconfig to get their fonts, not the
> traditional fontserver provided by X or xfs. So you have to edit
> /etc/fonts/fonts.conf or /etc/fonts/local.conf and include the path to
> this fonts there too.
> If you just enter <dir>/usr/X11R6/lib/X11/fonts</dir> it will
> recursively scan all subdirectories for fonts (I for myself don't like
> including all type1 fonts though)

I know this Michael ... and as I said in my mail ... I have a laptop were 
everything is OK ... so I have copied the /etc/fonts/* on my PC ... but 
without any result ... all my font path seems to be well configured ... if I 
make a fc-cache -v -f I saw exactly the same path as I have on my laptop ... 
but I haven't got the same fonts ... :o((

# fc-cache -vf
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 44 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TrueType/": caching, 45 fonts, 0 dirs
fc-cache: "/usr/share/fonts": caching, 0 fonts, 3 dirs
fc-cache: "/usr/share/fonts/type1": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/type1/gsfonts": caching, 35 fonts, 0 dirs
fc-cache: "/usr/share/fonts/afms": caching, 0 fonts, 1 dirs
fc-cache: "/usr/share/fonts/afms/adobe": caching, 0 fonts, 0 dirs
fc-cache: "/usr/share/fonts/truetype": caching, 37 fonts, 3 dirs
fc-cache: "/usr/share/fonts/truetype/style": caching, 21 fonts, 0 dirs
fc-cache: "/usr/share/fonts/truetype/freefont": caching, 12 fonts, 0 dirs
fc-cache: "/usr/share/fonts/truetype/openoffice": caching, 1 fonts, 0 dirs
fc-cache: "/usr/local/share/fonts": caching, 0 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d": caching, 0 fonts, 12 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/U": caching, 13 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/C": caching, 10 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/N": caching, 16 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/D": caching, 1 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/S": caching, 1 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/V": caching, 4 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/A": caching, 6 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/T": caching, 8 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/G": caching, 4 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/W": caching, 1 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/I": caching, 1 fonts, 0 dirs
fc-cache: "/var/lib/defoma/fontconfig.d/F": caching, 12 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts": caching, 0 fonts, 8 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": caching, 0 fonts, 1 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": caching, 44 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TrueType": caching, 45 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/misc": caching, 97 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/util": caching, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": caching, 397 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": caching, 397 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo": caching, 0 fonts, 0 dirs
fc-cache: succeeded

Any other idea ??

Cheers,

-- 
Bill Footcow



Reply to: