[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#618354: ghostscript: gs can't recognize /var/lib/ghoststscript/



Dear Jonas, (add cc: Muto-san)

At Mon, 14 Mar 2011 17:46:58 +0100,
Jonas Smedegaard <dr@jones.dk> wrote:
> 
> On Tue, Mar 15, 2011 at 01:18:37AM +0900, Youhei SASAKI wrote:
> >The /usr/bin/gs dosen't recognize /var/lib/ghostscript/fonts/{cidfmap, 
> >Fontmap}, so I can't use CJK font on gs/dvips/ps2pdfr.
> 
> Please can you elaborate on the actual need for this.

Sorry, I made a mistake.

It seems that Ghostscript(libgs9-common) provides useless (empty)
cidfmap at /usr/share/ghostscript/9.01/Resource/Init/. However, the
priority of this path is higher than /var/lib/ghostscript/fonts.  

   $  gs -h | sed -ne '/^Search path:/,/^[^ ]/{/^ /p}'
   /usr/share/ghostscript/9.01/Resource/Init :
   /usr/share/ghostscript/9.01/lib :
   /usr/share/ghostscript/9.01/Resource/Font :
   /usr/share/ghostscript/fonts : /var/lib/ghostscript/fonts :
   /usr/share/cups/fonts : /usr/share/ghostscript/fonts :
   /usr/local/lib/ghostscript/fonts : /usr/share/fonts

When I removed original cidfmap at /u/share/g/9/R/I/, gs/dvips/ps2pdfwr
runs fine. 

I think that changing priority may cause some problems, so simple
solution is removing this file. Is it needed?

> I believe I was told by Kenshi Muto that this indirection was no longer 
> needed. But I can very well be mistaken.

I don't know detail. Is it no longer needed? 
# change cidfmap to FAPI? 

---
Youhei SASAKI <uwabami@gfd-dennou.org>
              <uwabami@debian.or.jp>
GPG fingerprint:
  4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07



Reply to: