[tex-live] Supplied a custom PDF trailer ID with XeLaTeX/xdvipdfmx

Osipov, Michael michael.osipov at siemens.com
Mon Dec 17 11:04:08 CET 2018



Am 2018-12-17 um 06:34 schrieb Shunsaku Hirata:
> Hi Michael,
> 
>> Looking at the source code of dvipdfm-x I see pdf_set_id(pdf_obj *),
>> pdf_enc_id_array(), pdf_enc_compute_id_string(char *, char *, char *) as
>> well as the static sec_data structure which contains "unsigned char
>> ID[16]". That'd be perfect to write to.
>>
>> Is that feasible, if yes which route? via LaTeX source code or via cmd
>> for the driver? One could of course modify dvipdfmx.c for a new param,
>> but I don't know the system well enough to tell whether this is a smart
>> approach or not.
> 
> Currently there are no way to directly specify IDs in PDF trailer.
> However I think it is not difficult to add such feature to dvipdfmx.
> I will consider implementing it.

Thanks for considering. I'd be happy to test if you have something 
testwhile next year. Just drop me an email and I'll test on FreeBSD.

Michael


More information about the tex-live mailing list