summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Resource/Init/cidfmap12
1 files changed, 12 insertions, 0 deletions
diff --git a/Resource/Init/cidfmap b/Resource/Init/cidfmap
index 6129b8d61..bed221ac0 100644
--- a/Resource/Init/cidfmap
+++ b/Resource/Init/cidfmap
@@ -25,6 +25,13 @@
% ie enclosed in parentheses, not PostScript name type (initial character '/'). See
% gs/doc/Use.htm#CIDFontSubstitution
%
+% Alternatively:
+% (substituted name) << /FileType /TrueType /Path (path) /SubfontID 1 /CSI [(ordering) supplement] >> ;
+%
+% This is where the CIDFont name in the document contains a space character. Using a string instead of a name
+% allows this work - Ghostscript will internally convert the key string with a space to a name.
+%
+%
% Examples :
%
% /ShinGo-Bold /HeiseiKakuGo-W5 ;
@@ -33,3 +40,8 @@
%
% NOTE: getenv returns a boolean to indicate success of or failure, as well as the value on success. In the example, it uses this
% to include a default value should getenv fail.
+%
+% (Century Gothic) << /FileType /TrueType /Path (/usr/share/fonts/truetype/fonts-japanese-gothic.ttf) /CSI [(Identity) 1] >> ;
+%
+% Note the use of a string to cope with the name containing a space.
+%