Leonard Rosenthol wrote:
> 
> While that is the recommendation of the PDF spec - you will find in  
> the real world situations where there are fonts that are subset but w/ 
> o this name change AND fonts with this name setup that aren't  
> actually subset.
> 
> Leonard
> 
So there's "illegal pdfs" around too. :)

Anyways this solution isn't too dependent on that subset information. I
mentioned about that it would be nice that this font replacement part could
have some part customizable with a strategy pattern and template method
pattern. For example one could provide their own strategy to replace a font
based on some custom logic and matching. Some parts could be customizable
with the template method pattern by subclassing the base class. I think
these possibilities would make it easy to handle most requirements.

My own usecase is quite simple since there's only a couple of fonts that
have thousands of subset fonts. I'm only targeting the merging and
replacement to certain fonts. Currently this solution works quite well for
this kind of usecase.

Lari
-- 
View this message in context: 
http://www.nabble.com/How-to-remove-embedded-fonts-from-a-pdf-document-tp14033717p15214169.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to