diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2016-11-15 09:58:58 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2016-11-22 09:49:30 +0000 |
commit | 99c6a18eb430a9091c79369b2bdd2952d481c7d5 (patch) | |
tree | f414b04a2726125680948361eca149fafba77599 | |
parent | 23dc144b3c3d3dbafd83dca7b9c09e6977b774d6 (diff) | |
download | ghostpdl-99c6a18eb430a9091c79369b2bdd2952d481c7d5.tar.gz |
Document use of string for subsituted CIDFont name
Add a comment and example at the top of cidfmap with details of dealing with
CIDFont names with spaces in them.
-rw-r--r-- | Resource/Init/cidfmap | 12 |
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. +% |