Hi Arrigo,

Am 13.01.24 um 21:36 schrieb Arrigo Marchiori:
Hello All,

Bug 128583 opened [1].

On Sat, Jan 13, 2024 at 11:58:59AM +0100, Matthias Seidel wrote:

Am 13.01.24 um 11:55 schrieb Dick Groskamp:
Works for me on Windows 11. AOO 4.1.15 (Dutch)
Yes, that ttc is distributed with Windows...

Seems to be Linux only? We might cross-check on macOS.
That would be a good idea.

However, we are blatantly not following the suggestions from the
Fontconfig documentation [2], and we should fix that nevertheless.

The fix seems as easy as adding a single line:
   FcDefaultSubstitute( pTestPattern );
after the instantiation of pTestPattern.

That seems to fix the crash. But then, the "Sitka" font does not seem
to show up in the selectors.

A ttc is not a single font but a font collection.

Maybe we have to add logic for that...


Let's fix this crash first.

Great!

A good candidate for AOO 4.1.16 I guess... ;-)

Regards,

   Matthias


References:
  1: https://bz.apache.org/ooo/show_bug.cgi?id=128583
  2: 
https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcfontmatch.html

Best regards,

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur

Reply via email to