[cairo-bugs] [Bug 67324] cairo_type1_subset.c: write_used_glyphs should check _cairo_winansi_to_glyphname return value

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 27 17:13:33 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=67324

Adrian Johnson <ajohnson at redneon.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Adrian Johnson <ajohnson at redneon.com> ---
> In some cases _cairo_winansi_to_glyphname can return null, so
> write_used_glyphs should check that.
> 
> Attached a naive patch that fixed the problem.

After figuring out why _cairo_winansi_to_glyphname was returning NULL it turns
out your naive patch is the correct fix. I've pushed out a reformatted and
commented version of the patch.

http://cgit.freedesktop.org/cairo/commit/?id=274863be08f6c8df6d411df9db725d34f7fbabea

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130728/805e981b/attachment.html>


More information about the cairo-bugs mailing list