[gs-devel] [RFC] revive runlibfileifexists function. xefitra

Leonardo leonardo at artifex.com
Thu Nov 22 13:26:53 PST 2007

I'm not clear why someone needs so many files.
All them can perfectly concatenate into a single file.
Please explain if I'm wrong.
Please note the 2nd line in gs/lib/cidfmap :

        % This is a sample map file for CIDFont category.

It means that users may modify it for their needs.

Besides if you need a multilingual Ghostscript,
why don't include Arabic or Serbian ?

Thanks for understanding.


----- Original Message ----- 
From: <mpsuzuki at hiroshima-u.ac.jp>
To: "CHIKAMA Masaki" <masaki.chikama at gmail.com>
Cc: <gs-devel at ghostscript.com>; <leonardo at artifex.com>
Sent: Thursday, November 22, 2007 12:18 PM
Subject: Re: [gs-devel] [RFC] revive runlibfileifexists function. xefitra

> On Thu, 22 Nov 2007 17:36:52 +0900
> "CHIKAMA Masaki" <masaki.chikama at gmail.com> wrote:
>>Yes. But I didn't understand correctly this function.
>>I would use this function for only packaging ghostscript and its font
>>separately for Linux distributions.
>>For example, a package of ghostscript provides cidfmap which has
>>(cidfmap.GS) .runlibfile
>>% following lines are for CJK fonts.
>>(cidfmap.ja) .runlibfileifexists
>>(cidfmap.ko) .runlibfileifexists
>>(cidfmap.zh_CN) .runlibfileifexists
>>(cidfmap.zh_TW) .runlibfileifexists
>>% must be at the bottom of line to allow people overriding everything.
>>(cidfmap.local) .runlibfileifexists
>>and a package of Japanese font provides cidfmap.ja .
>>The people who needs Chinese/Japanese/Korean fonts installs
>>ghostscript and their font package respectively.
> Hmm, I understand what you want consists from 2 features.
> F1) refering other cidfmap files from a cidfmap
> F2) ignore and proceed if refered cidfmap file is missing
> The CIDFnmap implementation in original gs-cjk was designed
> to provide F1 (so the case of missing reference was considered
> by design), but I don't think cidfmap was designed so.
> The refering of other cidfmap file is not designed but
> occasionally possible at present, so fallbacking is not
> designed.
> I guess if the proposal of F1 is accepted, F2 will be accepted 
> either. I recommend you to propose F1 feature - but I'm not
> sure if bugzilla is appropriate feature.
> Regards,
> mpsuzuki

More information about the gs-devel mailing list