Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3038
| From | ken <ken@spamcop.net> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: where to put custom CMap file? |
| Date | 2017-04-07 07:58 +0100 |
| Message-ID | <MPG.335149042339849c989915@usenet.plus.net> (permalink) |
| References | <oc71ri$3mq$1@dont-email.me> |
In article <oc71ri$3mq$1@dont-email.me>, jszhao@yeah.net says... > > Hi there, > > I am using ghostscript on Windows system. The ghostscript 9.21 for > Windows don't have Resource directory. So, my question is, where I can > place custom CMap file and corresponding CIDfont. In my case, I hope to > use SourceHanSerifSC-Regular.otf and the correspoinding CMap file > UniSourceHanSerifCN-UTF8-H. The Windows version of Ghostscript uses a ROM file system by default. You need to get a copy of the source code, add the files to the relevant sub-directories of ghostpdl/Resource and then either : 1) rebuild Ghostscript so that the ROM file system contains the new files. You could also rebuild Ghostscript so that it doesn't use the ROM file system and then use option 2 below, but there's no great advantage to that. Or 2) Use the existing binary but tell Ghostscript to include an external path in its search for resources, using the -I switch to add your modified directory tree to the search. Ken
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
where to put custom CMap file? Jinsong Zhao <jszhao@yeah.net> - 2017-04-07 11:45 +0800
Re: where to put custom CMap file? ken <ken@spamcop.net> - 2017-04-07 07:58 +0100
Re: where to put custom CMap file? Jinsong Zhao <jszhao@yeah.net> - 2017-04-09 15:39 +0800
Re: where to put custom CMap file? ken <ken@spamcop.net> - 2017-04-10 07:56 +0100
Re: where to put custom CMap file? Jinsong Zhao <jszhao@yeah.net> - 2017-04-18 11:27 +0800
Re: where to put custom CMap file? ken <ken@spamcop.net> - 2017-04-18 16:05 +0100
Re: where to put custom CMap file? Jinsong Zhao <jszhao@yeah.net> - 2017-04-21 09:36 +0800
csiph-web