Skip site navigation (1)Skip section navigation (2)
Date:      07 Dec 1999 23:18:22 +0900
From:      "CHOI, Junho" <cjh@wdb.co.kr>
To:        OKAZAKI Tetsurou <okazaki@be.to>
Cc:        andreas@FreeBSD.ORG, mita@jp.FreeBSD.org, nakai@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: PS resouce directory
Message-ID:  <86so1eomvl.fsf@gradius.myhome>
In-Reply-To: OKAZAKI Tetsurou's message of "Tue, 07 Dec 1999 08:13:29 %2B0900"
References:  <863dtf1x46.wl@dolphin.be.to>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi, I am a maintainer of korean/ftghostscript5.
(it is actually gs5.10 + kfftype + hfftype(Hangul TrueType support))

>>>>> "OT" == OKAZAKI Tetsurou <okazaki@be.to> writes:

    OT> Hi GS ports maintainers and users,
    OT> I have a request about some configuration issue common to all
    OT> Ghostscript ports but japanese/vfghostscript (which is based on gs-2.6.3.)

    OT> In the document "Finding PostScript Level 2 resources",
    OT> (${PREFIX}/share/ghostscript/#.##/doc/Use.htm#PS_resources) author says:
    OT> Above two system parameters, GenericResourceDir and FontResourceDir,
    OT> are defined in ${PREFIX}/share/ghostscript/#.##/gs_res.ps:

    >   /FontResourceDir (/Resource/Font/) readonly .forcedef % pssys'params is r-o
    >   /GenericResourceDir (/Resource/) readonly .forcedef   % pssys'params is r-o

    OT> Would you set these params to somewhere under the ${PREFIX}?
    OT> If you agree with me, how about changing each value as follows?
    OT>   /Resource/Font/ --> ${PREFIX}/share/postscript/Resource/Font/
    OT>   /Resource/      --> ${PREFIX}/share/postscript/Resource/

OK, then, all default fonts of gs will be still on
$PREFIX/share/ghostscript/fonts? (print/gsfonts)
It is a preparation for later font addition like CIDs?

I have a CID font ports for Korean
category(korean/munhwafonts-cid). How can it be changed?

    OT> We have two solutions to enable above modifications, I think.
    OT> 1. Use ${SED} or ${PERL} at post-install to modify `gs_res.ps' or,
    OT> 2. Run following code fragments from `gs_init.ps'.
    OT>    (%%PREFIX%% is replaced with ${PREFIX}.)
    OT> ---------------------
    OT> currentsystemparams
    OT> dup /FontResourceDir (%%PREFIX%%/share/postscript/Resource/Font/) put
    OT> dup /GenericResourceDir (%%PREFIX%%/share/postscript/Resource/) put
    OT> setsystemparams
    OT> ---------------------

Can you show me some example of case 1) ?

    OT> Affected ports are:
    OT>    print/ghostscript5
    OT>    print/ghostscript55
    OT> japanese/vfghostscript5
    OT> japanese/vfghostscript55
    OT>   korean/ftghostscript5
    OT>      x11/dgs

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI, Junho <mailto:cjh@kr.freebsd.org> <http://www.kr.freebsd.org/~cjh>;
 - Korea FreeBSD Users Group <http://www.kr.FreeBSD.org>;
 - Public Service, Youido Post Office  - Web Data Bank <http://www.wdb.co.kr>;


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86so1eomvl.fsf>