Bug 53600 - [PATCH] Added an event if a glyph and its metric information does not exist in the character set
Summary: [PATCH] Added an event if a glyph and its metric information does not exist i...
Status: RESOLVED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: all
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-25 10:44 UTC by Robert Meyer
Modified: 2012-07-25 12:33 UTC (History)
0 users



Attachments
Patch which adds an event warning when a glyph or metric information is missing from character set (7.72 KB, patch)
2012-07-25 10:46 UTC, Robert Meyer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Meyer 2012-07-25 10:44:10 UTC

    
Comment 1 Robert Meyer 2012-07-25 10:46:07 UTC
Created attachment 29113 [details]
Patch which adds an event warning when a glyph or metric information is missing from character set
Comment 2 Robert Meyer 2012-07-25 10:50:05 UTC
The original issue was that if a glyph is used in AFP and FOP cannot ascertain its metric information from the character set, it defaulted to the metrics of space. This caused issues whereby the line often ran off the end of the page because of the difference between the two. While not strictly a fault with FOP but rather with the used character set, a warning has been applied in this patch to inform the user that the glyph they are trying to use is missing metric information and therefore they should expect unintended layouts.
Comment 3 Robert Meyer 2012-07-25 10:51:02 UTC
As a further note, each glyph warning is only displayed once.
Comment 4 Mehdi Houshmand 2012-07-25 12:33:47 UTC
Committed in r1365555. Thanks for the work