pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Strauch <robert.stra...@gmx.de>
Subject Re: Changing font tag for BaseFont
Date Thu, 05 Jun 2014 10:07:02 GMT

Sorry for hitting the wrong mailing list. I have switched to the users 

The reason behind my question is the following:
I need to compare a server generated PDF with a template PDF by their 
SHA-1 checksums. However this tag (here: IKOTCH) is dynamically 
generated with each PDF generation on the server, i.e. two PDF 
generation processes may produce two different tags. In order to compare 
the file checksums I would like to set the tag to a fixed value as it 
does not interfere with the rest of the document.


Am 05.06.2014 11:58 schrieb Maruan Sahyoun:
> Hi,
> why do you need to change that tag? IKOTCH+ as a prefix to the font
> is used because you font is subsetted i.e. not all glyphs of the font
> have been written into the PDF file. This is inline with the
> specification.
> As usage questions are discussed on the users mailing list may I ask
> you to use that in the future?
> BR
> Maruan Sahyoun
> Am 05.06.2014 um 09:12 schrieb Robert Strauch <robert.strauch@gmx.de>:
>> Hello,
>> I have a PDF which embeds a TrueType font called UnicodeDoc. Within 
>> the PDF I can see the following:
>> /BaseFont /IKOTCH+UnicodeDoc
>> Is it possible using PDFBox to change the tag value IKOTCH and if so 
>> how? I know that this value may be different for other documents. 
>> However I just need acces to this tagbut I cannot find the appropriate 
>> way.
>> Sincerely,
>> Robert

View raw message