Summary: | Seg Fault with FT API | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Michael Vrhel <michael.vrhel> |
Component: | Font API | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | ken.sharp, ray.johnston |
Priority: | P1 | ||
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Attachments: | Bug691527_simple.pdf |
Description
Michael Vrhel
2010-08-11 17:24:21 UTC
*** Bug 691527 has been marked as a duplicate of this bug. *** The problem is that the way the way glyphs are/should be filled with Type 2 patterns (maybe type 1, too?) is that the glyph is not rendered, but intepreted to a path, which is then used as a clip through which to render the pattern. At the moment, the FAPI code only checks for a stroked font, or a charpath operation, and is missing the fact that, in this case, we want path, even though the original operation is a "normal" show-type operation. It creates a bitmap and passes that to the mask rendering code - unfortantely, everything else has been setup to accept a path, hence the crash. Hopefully, it won't be too difficult to revise FAPI to correctly produce an outline that can be used for clipping in these cases - I'm too tired to look any further right now...... fixed with r11634. |