[Freewx-maint] Bug#702378: Patch does not fix problem
olly at survex.com
Fri Jul 12 11:41:50 UTC 2013
On Mon, Jul 08, 2013 at 02:02:25AM -0700, Brandon wrote:
> Olly, I compiled with your patch, and it does not fix the problem. The
> printing program still crashes, but instead it crashes in the function
> wxPostScriptDC::DoDrawText(wxString const&, int, int), line 1220. On
> that line, textbuf is NULL.
Thanks for the feedback. This is another instance of the same problem,
essentially. I've fixed that and another instance of the same issue.
The attached patch builds, but I haven't tried to reproduce the problem
yet - if you get a chance to test this updated patch, that'd be great.
A character which can't be represented results in the entire string
it contains getting ignored, which doesn't seem ideal, but it is the
approach upstream suggested, and it's at least a simple non-intrusive
fix. It beats a crash anyway.
> I also noticed that, in Debian Stable, this problem only occurs if
> libgnomeprint is not installed.
I suspect in that case libgnomeprint will be used instead of the
built-in generic postscript code.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1623 bytes
Desc: not available
More information about the Freewx-maint