Bug 37432

Summary: Patch to support other applications embedding the TTFReader.
Product: Fop - Now in Jira Reporter: Timothy Gates <tgates>
Component: generalAssignee: fop-dev
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P5    
Version: trunk   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Patch to allow embeding the TFFReader in other applications

Description Timothy Gates 2005-11-10 01:38:46 UTC
Currently the logging attribute of TTFReader is instantiated as part of the 
main method. It would make TTFReader more robust if the attribute was 
instantiated on demand from the constructor as this allows other applications 
to embed processing of TTF files at runtime. Ths allows programatically 
modifying the available Fonts using the Avalon Configuration Framework and 
generating PDFs using the new fonts from runtime. This was possible using FOP 
0.20.4 and 0.20.5 (utilising a different configuration framework).

<SVN patch-file attached>.
Comment 1 Timothy Gates 2005-11-10 01:40:25 UTC
Created attachment 16932 [details]
Patch to allow embeding the TFFReader in other applications
Comment 2 Jeremias Maerki 2005-11-10 11:18:20 UTC
Thanks for the patch. I've applied it. I guess it didn't occur to us that it
could be used this way. I've also done the same in PFMReader.

http://svn.apache.org/viewcvs?rev=332263&view=rev
Comment 3 Glenn Adams 2012-04-01 06:40:12 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed