My project needs PDPage.convertToImage() Sadly it fails for Type3 fonts. PDType3Font.drawString has to call processSubstream. Something like: Tyoe3StreamParser t3Stream = new Type3StreamParser();
t3Parser.processSubstream(aPage, null, stream); But there is nowhere to get a value for aPage. And there is a more subtle problem: t3Stream will have none of the contextfrom the initial calling instance of PDFStreamEngine. I see that Daniel Wilson considered making PDFStreamEngine a singleton. This would solve my problem, but it is wrong as was discussed at that time. I have considered passing an additional argument to drawString. Is this reasonable? Is there a way to do it so the original context in the PDFSteamEngine is passed along to the subordinate call on processSubstream? Fred Hansen