On 2018-07-06 at 21:32:04 GMT, Karl Berry wrote:
Perhaps we could just have a command-line switch that allows writing the /CharSet to be omitted?
Not a command-line switch. It could be another \pdf... parameter, but I wonder if we can just make things simpler and never output the /CharSet, instead of bothering to make it conditional. I know that's ok for validation, the question is whether it would cause problems in practice. Since, as we know, its contents are likely to be incorrect, I surmise/hope the answer is no.
So: Does anyone know of anything using the /CharSet value from pdftex's output?
According to the PDF Reference[1], /CharSet is optional and meaningful only in Type 1 fonts. Thus no program can rely on it. If no program can rely on it and it causes trouble, it should better be removed without substitution (no command line option and no new primitive). I suppose that luatex developers are listening here as well. Regards, Reinhard [1] PDF Reference, third edition, version 1.4, page 357. -- ------------------------------------------------------------------ Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de ------------------------------------------------------------------