summaryrefslogtreecommitdiff
path: root/pdf/pdf_file.c
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-09-04 14:41:39 +0100
committerChris Liddell <chris.liddell@artifex.com>2021-09-09 12:02:08 +0100
commit3ccbae8583ddc2e1c53b0fdfae05e1a57e36ba01 (patch)
tree1ece8c06ffb6a0a42a1eb2b0d121ce19e58dea30 /pdf/pdf_file.c
parent4297fa6c36ccd90859f2cc13f563d87326b0705a (diff)
downloadghostpdl-3ccbae8583ddc2e1c53b0fdfae05e1a57e36ba01.tar.gz
pdfi: Add "patching" of font XUID values
The PS PDF interpreter has code to create a custom XUID or patch an existing XUID, with values derived from hashing name of the input file and the object number of the font. This was one strategy to deal with having to use the PS font loading machinery, which works purely on font name. With pdfi, we no longer rely on loading fonts by name (we use the PDF objects), but it turns out this is also required by pdfwrite to cope with multiple different subset CIDFonts which use the same name (including the subset prefix!!). This simply does the same XUID patching, but in C rather than Postscript, and only for CIDFonts.
Diffstat (limited to 'pdf/pdf_file.c')
0 files changed, 0 insertions, 0 deletions