summaryrefslogtreecommitdiff
path: root/pdf/ghostpdf.h
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2022-06-17 15:59:14 +0100
committerChris Liddell <chris.liddell@artifex.com>2022-07-04 09:15:07 +0100
commit4422012f6b40f0627d3527dba92f3a1ba30017d3 (patch)
treec3a14183d8e946a4ff36227674b3c907a11313cb /pdf/ghostpdf.h
parent5485c1b2254ca360d4526796bdd6c7929089321d (diff)
downloadghostpdl-4422012f6b40f0627d3527dba92f3a1ba30017d3.tar.gz
SUBSTFONT functionality
This was missing from pdfi, so is added here. Also, change the functionality so setting the SUBSTFONT key to "/None" will result in any attempt to fall back to the default font to throw an invalidfont error. Lastly, fix some typos on the parameters being passed from Postscript into pdfi.
Diffstat (limited to 'pdf/ghostpdf.h')
-rw-r--r--pdf/ghostpdf.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/pdf/ghostpdf.h b/pdf/ghostpdf.h
index 0abd1b5b5..6e8906726 100644
--- a/pdf/ghostpdf.h
+++ b/pdf/ghostpdf.h
@@ -143,8 +143,11 @@ typedef struct cmd_args_s {
bool QUIET;
bool verbose_errors;
bool verbose_warnings;
- gs_string cidsubstpath;
- gs_string cidsubstfont;
+ gs_string cidfsubstpath;
+ gs_string cidfsubstfont;
+ gs_string defaultfont;
+ bool defaultfont_is_name;
+
bool ignoretounicode;
bool nonativefontmap;
} cmd_args_t;