You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/07/12 00:21:12 UTC

DO NOT REPLY [Bug 42861] - Font detection only works for first document.

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





------- Additional Comments From devel@thanlwinsoft.org  2007-07-11 15:21 -------
Created an attachment (id=20496)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20496&action=view)
reuseFontTripletMap20070711.diff

The quickest solution is just to remove the autodetectedFonts variable, but
that would result in unnecessary parsing of the fonts. Another solution would
be to store the Font maps in the FOUserAgent so that new FontInfo objects can
reuse the maps from the previous lookup. A patch based on this idea is
attached.


-- 
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.