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

2021-02-11 Thread Björn Höfling
On Tue, 2 Feb 2021 10:11:46 +0100 Björn Höfling wrote: > On Wed, 06 Jan 2021 12:05:54 +0100 > Ludovic Courtès 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. OpenJD

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

2021-02-02 Thread Björn Höfling
On Wed, 06 Jan 2021 12:05:54 +0100 Ludovic Courtès wrote: > Hi, > > Fabien SK skribis: > > > Regarding Java, I think (but I'm not sure) that it's loaded by > > "libawt_xawt.so". In fontpath.c [1], there is a dlopen of > > libfontconfig. But if I do a "ldd" on the shared library itself, it > >

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

2021-01-06 Thread Ludovic Courtès
Hi, Fabien SK skribis: > Regarding Java, I think (but I'm not sure) that it's loaded by > "libawt_xawt.so". In fontpath.c [1], there is a dlopen of > libfontconfig. But if I do a "ldd" on the shared library itself, it > looks like it does not depend on libfontconfig.so. > [1] > https://github.co

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

2021-01-03 Thread Fabien SK
I faced the issue when running josm (downloaded from josm.openstreetmap.de, not the guix package). Using "strace" showed me that it failed because it cannot load "libfontconfig.so" (it tries in several directories). If I add the directory of libfontconfig.so to LD_LIBRARY_PATH, then it starts.

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

2020-05-10 Thread Jonathan Frederickson
I realized I forgot to submit a bug report for this after I posted on help-guix a while back, and looks like it's still an issue, so... I get a null pointer exception when attempting to run any Java application that uses fonts. I've attached an example of the error output I get, and you can fin