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. Thanks, -- Adam Sampson <a...@offog.org> <http://offog.org/>