Bug 692263 - Division by zero in fapi_ft.c
Summary: Division by zero in fapi_ft.c
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Font API (show other bugs)
Version: master
Hardware: PC Linux
: P2 normal
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 16:09 UTC by Chris Liddell (chrisl)
Modified: 2011-11-25 04:29 UTC (History)
0 users

See Also:
Customer: 850
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Liddell (chrisl) 2011-06-08 16:09:02 UTC
If the scaling for a glyph ends up as zero in the x or y direction, it can cause a divide by zero error when creating the scaling for Freetype (or other font library).
Comment 2 Chris Liddell (chrisl) 2011-06-09 11:22:50 UTC
Fixed in commit:
752397ab6f16aad4147d6e7101373edd7c9d14d5

http://tinyurl.com/6dle9p6