Some methods (drawChar and endString) test that currentFont is not NULL but the constructor does not set it to NULL. valgrind reports it to be read by endString before initialization on the attached PDF on which I get a crash.
Created attachment 6615 [details] A PDF provoking crash
Created attachment 6616 [details] [review] Initialize currentFont to NULL
This patch fixes the crash for me on this PDF and 5 others.
Commited. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.