[Okular-devel] [okular] [Bug 248852] okular crashes on loading dvi with eps

Luigi Toscano luigi.toscano at tiscali.it
Sun May 11 11:41:32 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=248852

--- Comment #5 from Luigi Toscano <luigi.toscano at tiscali.it> ---
Created attachment 86571
  --> https://bugs.kde.org/attachment.cgi?id=86571&action=edit
Guard the drawText() calls to not fail when X-bitmap fonts are used

Hi,
I was trying again to reproduce the bug; I couldn't reproduce it in the past
and I can't still reproduce it. This comment seems to be the important part:
> I may note that the eps contains text in Helvetica which is a bitmap font on my system. 
> Two of the traces hint this might be the source of trouble.

According to the trace, it crashes on two drawText calls when the text is
extracted.
The attached patch should avoid the crash (thanks Albert for the hints),
 but I have some trouble trying to reproduce it, specifically how to change the
mapping so that X bitmap fonts are used. Do you have the crashing environment
around, or do you remember how to setup it? Or any other hint to reproduce
this? :)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list