Bug 37432 - Patch to support other applications embedding the TTFReader.
Summary: Patch to support other applications embedding the TTFReader.
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: trunk
Hardware: Other other
: P5 enhancement
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-10 01:38 UTC by Timothy Gates
Modified: 2012-04-01 06:40 UTC (History)
0 users



Attachments
Patch to allow embeding the TFFReader in other applications (946 bytes, patch)
2005-11-10 01:40 UTC, Timothy Gates
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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