LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-30-2009, 09:14 PM   #1
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Rep: Reputation: 32
printing japanese pdf via ghostscript


Hello Everyone,

I have a previous post:
http://www.linuxquestions.org/questi...e-text-687455/

I am still struggling with printing japanese pdf documents with kpdf, xpdf, and ghostview. It seems that ghostscript renders the pdf into postscript to send it to the printer.

The problem is I cannot seem to find a way to get ghostscript to display the text. Instead it just shows boxes where the text is.

How do I get ghostscript to render japanese pdf documents?
 
Old 05-31-2009, 01:22 AM   #2
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Original Poster
Rep: Reputation: 32
I have installed ghostscript 8.64 to see if this would help... of course, it doesn't.

But when I try to use it I get errors where the original debian version (8.62) does not... here they are:

Code:
gs /home/checkmate3001/Downloads/japanese.pdf
GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Can't find CID font "HeiseiMin-W3".
Substituting CID font resource /Adobe-Japan1 for /HeiseiMin-W3.
The substitute CID font "Adobe-Japan1" is not provided either. Will exit with error.
Error: /undefined in findresource

---   CUT OUT  ---

Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.64: Unrecoverable error, exit code 1
I have installed the following:
Code:
dpkg -l | grep ghostscript
ii  ghostscript                          8.62.dfsg.1-3.2lenny1          The GPL Ghostscript PostScript/PDF interpret
ii  ghostscript-doc                      8.62.dfsg.1-3.2lenny1          The GPL Ghostscript PostScript/PDF interpret
ii  ghostscript-x                        8.62.dfsg.1-3.2lenny1          The GPL Ghostscript PostScript/PDF interpret
ii  gs-cjk-resource                      1.20080107-4                   Resource files for gs-cjk, ghostscript CJK-T
ii  gs-common                            8.62.dfsg.1-3.2lenny1          Dummy package depending on ghostscript
ii  gsfonts-other                        6.0-3.2                        Additional fonts for the ghostscript interpr
ii  gsfonts-wadalab-common               0.20010409-7.1                 Japanese symbol fonts for the ghostscript in
ii  gsfonts-wadalab-gothic               0.20010409-7.1                 Japanese gothic fonts for the ghostscript in
ii  gsfonts-wadalab-mincho               0.20010409-7.1                 Japanese mincho fonts for the ghostscript in
I have also installed:
Code:
dpkg -l | grep adobe
ii  cmap-adobe-cns1                      0+20060819-3                   CMaps for Adobe-CNS1
ii  cmap-adobe-gb1                       0+20051207-3                   CMaps for Adobe-GB1
ii  cmap-adobe-japan1                    0+20071201-4                   CMaps for Adobe-Japan1
ii  cmap-adobe-japan2                    0+20020208-4                   CMaps for Adobe-Japan2
ii  cmap-adobe-korea1                    0+20051109-5                   CMaps for Adobe-Korea1
If perhaps I can force ghostscript to substitute a different font it may work?

Any ideas?
 
Old 06-01-2009, 12:10 AM   #3
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Original Poster
Rep: Reputation: 32
Sample Japanese PDF - can you view this with ghostscript?

I found a very simple sample pdf to test my ability to view and print japanese pdf documents.

http://www.sanface.com/pdf/japanese.pdf

Can anyone read this pdf via ghostscript?
Open with kpdf or xpdf and do a print preview.

I just get squares where the text should be.

Last edited by checkmate3001; 06-01-2009 at 12:11 AM. Reason: put in title.
 
  


Reply

Tags
ghostscript, japanese, pdf, print, sample


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does Ghostscript PDF output look so bad? Wynd Linux - General 15 08-06-2006 10:49 AM
ghostscript & pdf mania arunswarup General 0 11-07-2005 02:45 PM
Ghostscript: why is pdf size sometimes increased so much? J_Szucs Linux - Software 2 08-27-2004 10:19 AM
What is wrong with pdf files created by Ghostscript? J_Szucs Linux - Software 2 02-01-2004 10:45 AM
Ghostscript and pdf creation J_Szucs Linux - Software 0 05-29-2003 03:55 AM


All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration