[Fontconfig] Font selection for "okular" application

Akira TAGOH akira at tagoh.org
Tue Nov 7 02:37:09 UTC 2023

One correction. good to try FC_DEBUG=3 instead of 2.
You may see a line of those font names after "best score". keep it
note  and then check the "score" for your expected font family. it may
be quite hard to find out though, reverse-searching with 'family:
"Times New Roman' may help a bit. and then scroll down. you'll see
some details of score evaluation and overall.
The left side number is higher priority and there should be one less
than Times New Roman. That is the reason.

Hope that helps,

On Mon, Nov 6, 2023 at 11:01 PM A. Wik <awik32 at gmail.com> wrote:
> (Forgot to CC this to the list.)
> ---------- Forwarded message ---------
> From: A. Wik <awik32 at gmail.com>
> Date: Mon, 6 Nov 2023 at 11:33
> Subject: Re: [Fontconfig] Font selection for "okular" application
> To: Akira TAGOH <akira at tagoh.org>
> On Thu, 2 Nov 2023 at 12:29, Akira TAGOH <akira at tagoh.org> wrote:
> >
> > That simply means the query of "TimesNewRoman" isn't the same as what
> > okular does.
> > There must be a good reason for the results.  You may want to capture
> > the debugging logs against real usage. try FC_DEBUG=2 okular to get
> > more details.
> Details, indeed, several hundred megabytes!  Do you have any advice
> for navigating it?
> -aw


More information about the Fontconfig mailing list