font:arial,sans-serif in that order

Алексей Подтележников apodtele at gmail.com
Mon Nov 5 12:16:05 GMT 2007


On 11/5/07, Stephan Kulow <coolo at kde.org> wrote:
> Am Freitag 02 November 2007 schrieb Алексей Подтележников:
> > On 11/2/07, Stephan Kulow <coolo at kde.org> wrote:
> > > The fix isn't exactly trivial, but not too complex either. Perhaps you
> > > give it a go. The main problem is that konqueror puts too much believe
> > > into FcFontList. Your fc-list won't say that you have told fontconfig you
> > > have "arial good enough".
> >
> > fc-list won't, but fc-match will.
> >
> > [apodtele at localhost ~]$ fc-match arial
> > LiberationSans-Regular.ttf: "Liberation Sans" "Regular"
> > [apodtele at localhost ~]$ fc-match sans-serif
> > DejaVuLGCSans.ttf: "DejaVu LGC Sans" "Book"
> >
> > fc-list doesn't list aliases at all. Isn't this why konqueror is confused?
> Basically, it doesn't use the tools of course.

Does it use FcFontMatch then? :) It probably should rely in that
rather than FcFontList, which is a wrong function for the job..

http://www.fontconfig.org/fontconfig-devel/r2109.html

Thanks,
Alexei
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


More information about the kfm-devel mailing list