Subject: Re: bug#41177: Fontconfig issues in Java applications that use fonts

From: Björn Höfling <[email-masked]>
Date: Fri, 12 Feb 2021 00:23:09 +0100

On Tue, 2 Feb 2021 10:11:46 +0100
Björn Höfling <[email-masked]> wrote:

> On Wed, 06 Jan 2021 12:05:54 +0100
> Ludovic Courtès <[email-masked]> wrote:

> > Perhaps we should patch this ‘fontpath.c’, with ‘substitute*’, so
> > that it refers to libfontconfig.so by its absolute file name?  
> 
> We do that for icedtea (i.e. OpenJDK until version 8), but not for
> OpenJDK. I applied the same trick for OpenJDK 9 and will no longer get
> the NullPointerException.
> 
> Let me clean it up a bit and apply it to all later OpenJDKs as well
> (might be already done through inheritence, but let me check), then I
> will send out a patch.

Patch submitted as:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46451

Björn