Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3047

Re: where to put custom CMap file?

From Jinsong Zhao <jszhao@yeah.net>
Newsgroups comp.lang.postscript
Subject Re: where to put custom CMap file?
Date 2017-04-18 11:27 +0800
Organization A noiseless patient Spider
Message-ID <od40up$ih4$1@dont-email.me> (permalink)
References <oc71ri$3mq$1@dont-email.me> <MPG.335149042339849c989915@usenet.plus.net> <occoam$qpb$1@dont-email.me> <MPG.33553cfc2e489209989916@usenet.plus.net>

Show all headers | View raw


On 2017/4/10 14:56, ken wrote:
> In article <occoam$qpb$1@dont-email.me>, jszhao@yeah.net says...
>
>> Thank you very much for the explanation. However, it's not easy to
>> rebuild Ghostscript on Windows.
>
> I don't see why not. Get hold of a copy of Visual Studio from Microsoft;
> the community edition can be downlaoded for free, and Ghostscript
> qualifies for using it, as its open source.
>
> Open the ghostpdl.sln file, and allow VS to update it. Then just compile
> the Ghostscript project. If you prefer command lines, then open the VS
> command shell from the start menu, navigate to the ghostpdl directory
> and "nmake -f psi/msvc.mak"
>
>
>> Do you have any plan or option to
>> provide the Ghostscript that doesn't use the ROM file system?
>
> No. As I said before, you need not even rebuild Ghostscript. You *will*
> need the source code, because that's where the resource files can be
> found.
>
> Once you have thosse file locally, modify them as you see fit and then
> use the -I switch to tell Ghostscript to 'Include' those files. if you
> read the documentation here:
>
> https://ghostscript.com/doc/9.21/Use.htm#Finding_files
>
> then you will see that Ghostscript will search for resrouce files
> in the Included (-I) directories before it searches the ROM file system.
>
> If its too much work to specify the directory on the command line every
> time, then you can set the GS_LIB environment variable, which *still*
> gets searched before the ROM file system.
>
> 		Ken
>

Thank you very much. It works. It's convenient for me to use some 
special fonts for a specific situation.

Best,
Jinsong

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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