DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42861>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42861


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20496|0                           |1
        is obsolete|                            |




------- Additional Comments From [EMAIL PROTECTED]  2007-07-12 07:48 -------
Created an attachment (id=20498)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20498&action=view)
font autodetection fix

* Created new FontManager class.
* Moved static boolean autoDetectedFonts member of PrintRendererConfigurator to
be a member of FontManager
* Moved FontCache from FopFactory to FontManager.
* Added FontManager get accessor in FopFactory.
* Moved FontCache related accessors to FontManager.
* PrintRendererConfigurator static methods modified to normal and signature
footprint reduced.
* PDFDocumentGraphics2DConfigurator now extends PDFRendererConfigurator and
makes use of member methods calls rather than making static method calls.
* Cleaned up javadocs in FontCache and PDFTranscoder

In the future some of the code could be reorganised a little so all font
detection related activities stem/flow from the FontManager rather than
directly from PrintRendererConfigurator.

FontManager could also be the holder of a centralized list of available fonts. 
Each renderer would then request the availability of a font from the
FontManager rather than each storing its own font list as is the current
situation.  I do not have time to make these changes *at the moment* but this
patch should fix the autodetection problem.

Adrian.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to