Hi Vincent, On Thu, Oct 21, 2021 at 01:17:32AM +0100, Adam Sampson wrote: > On Tue, Oct 19, 2021 at 02:49:40PM +0200, Vincent Lefevre wrote: > > Xpdf*font: foo > [...] > > $ xpdf > > Warning: Cannot convert string "foo" to type FontStruct > > Segmentation fault (core dumped) > > I've been able to reproduce the crash -- it's occurring in Motif when > xpdf tries to create the text widgets in the About window, with the same > traceback as in #996903. > > This seems to be because I used XmStringGenerate with a rendition tag to > style the text. It looks like Motif still thinks that an Xft font is > being used to render it (which is incorrect), and ends up dereferencing > NULL because the font hasn't been loaded. I guess this is a Motif bug... > > I've worked around this (in xpopple Git) by styling the widgets using > resources rather than rendition tags. Specifying Xpdf*font now correctly > overrides all the default fonts again.
I've just uploaded xpdf 3.04+git20211021-1 including this fix (thanks Adam!). Can you confirm that it fixes this issue? Florian