Bug 49302 - [PATCH] NativeTextHandler should use FontInfo method to transform AWT font into Fop font
Summary: [PATCH] NativeTextHandler should use FontInfo method to transform AWT font in...
Status: RESOLVED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: ps (show other bugs)
Version: trunk
Hardware: All All
: P3 trivial
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2010-05-17 08:09 UTC by Julien Aymé
Modified: 2012-04-07 04:23 UTC (History)
0 users



Attachments
The proposed patch (987 bytes, application/octet-stream)
2010-05-17 08:09 UTC, Julien Aymé
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Aymé 2010-05-17 08:09:20 UTC
Created attachment 25451 [details]
The proposed patch

NativeTextHandler createFont(java.awt.Font) method should use FontInfo method to transform AWT font into Fop font instead of reinventing the wheel:
FontInfo#getFontInstanceForAWTFont(java.awt.Font) does all the job required.
Comment 1 Glenn Adams 2012-04-07 01:44:41 UTC
resetting P2 open bugs to P3 pending further review