Re: Accessing fontconfig objs in gdb

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

 



Hello Caolán!

On 10/09/2024 13:46, Caolán McNamara wrote:
On Tue, 2024-09-10 at 13:01 +0200, Julien Nabet wrote:
I'm trying to understand fontconfig use in LO for tdf#108243
(semicolon separated fonts substitution not working (bug in Linux
FontConfig integration code)
It's probable that on the platforms that use fontconfig that we just
split the list of font candidates at ; and ask fontconfig for a
replacement based off that first entry if the first one is not
available, so that debugging fontconfig itself likely doesn't matter
too much. In the sense that it's too late when fontconfig is asked its
opinion about a replacement[*]

Yes I had noticed this too but wanted to know how fontconfig did it.

But indeed, perhaps it won't be necessary.

...

Whatever about the case of a document/user explicitly using ";" to
suggests fallbacks where the first one that really exists might be a
good idea, I feel the other case where LibreOffice is just asking for
"something good" probably should continue to just feed fontconfig the
first entry and accept that result.
...

I've submitted https://gerrit.libreoffice.org/c/core/+/173140 (put you in cc) to try to use the fallback font list in priority.

Julien




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux