LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-15-2005, 02:39 AM   #1
kenshinji
LQ Newbie
 
Registered: Apr 2004
Location: China
Distribution: Debian
Posts: 20

Rep: Reputation: 0
Unhappy Some .pdf file cannot open....:(


Huh......
There are some .pdf file cannot be open in my RH8.0.
I open .pdf file by xpdf.Should I open these files which I cannot open by Acrobat Reader for Linux?
Thanks.
 
Old 02-15-2005, 07:53 AM   #2
bbk
Member
 
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56

Rep: Reputation: 15
It would be usefull when you start the xpdf from a terminal with the -cmd option and copy-paste the result. There are absolutely no information in your post about the problem, e.g. what are the problematic .pdf files generated by, what xpdf version do you use, Acrobat Reader for Linux does open those documents, what says Acrobat Reader about those pdf files (properties, etc)...

"There must be a good question answered to be the problem solved"
 
Old 02-15-2005, 08:06 PM   #3
jgtg32a
Member
 
Registered: Feb 2005
Posts: 53

Rep: Reputation: 15
You can get some to open but other won't, right?

I've got the same problem, Im usining KGhostView.
 
Old 02-16-2005, 03:55 AM   #4
bbk
Member
 
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56

Rep: Reputation: 15
dudez! hold on a sec! please, insert some error logs or something to begin with...
 
Old 02-16-2005, 06:47 AM   #5
kenshinji
LQ Newbie
 
Registered: Apr 2004
Location: China
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 0
Unhappy

Oh.....Sir,could you please tell me how could I copy-paste the result?
I have used the ksnapshot to get a result picture,but it seems that I cannot paste the .png file to the forum.......Or just tell me how could I copy-paste the result from the console.
Thanks very much.

 
Old 02-16-2005, 06:54 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Just run the program from a terminal and then post the errors that are printed to the terminal. YOu can also try installing gpdf or kpdf depending on whether you are running GNOME or KDE.
 
Old 02-16-2005, 07:15 AM   #7
kenshinji
LQ Newbie
 
Registered: Apr 2004
Location: China
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 0
Oh....Finally,I get error result here,as follows:


[root@localhost root]# xpdf 001.pdf
Error:
Couldn't find cidToUnicode file for the 'Adobe-GB1' collection
Error:
Unknown character collection 'Adobe-GB1'
Error:
Couldn't find cidToUnicode file for the 'Adobe-GB1' collection
Error:
Unknown character collection 'Adobe-GB1'
Error:
Couldn't find cidToUnicode file for the 'Adobe-GB1' collection
Error:
Unknown character collection 'Adobe-GB1'
Error:
Couldn't find cidToUnicode file for the 'Adobe-GB1' collection
Error:
Unknown character collection 'Adobe-GB1'
Error:
Unknown font tag 'F2'
Error (403028): No font in show
Error:
Unknown font tag 'F3'
Error (403053): No font in show
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F6'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F3'
Error:
Unknown font tag 'F3'
Error: Unknown font tag 'F7'
 
Old 02-16-2005, 10:47 AM   #8
jgtg32a
Member
 
Registered: Feb 2005
Posts: 53

Rep: Reputation: 15
And I got
kghostview: WARNING: KFilterBase::findFilterByExtension : no filter found for application/pdf

And another problem is I also get that error when on other PDF that actually work though, I try installing other software.
 
Old 02-21-2005, 03:31 AM   #9
bbk
Member
 
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56

Rep: Reputation: 15
You are missing fontsets used by those pdf files.
from man xpdfrc:
" cidToUnicode registry-ordering map-file
Specifies the file with the mapping from character
collection to Unicode. Each line of a cidToUnicode
file represents one character:

hex-string

The hex-string is the Unicode (UCS-2) index for
that character. The first line maps CID 0, the
second line CID 1, etc. File size is determined by
size of the character collection. Only one file is
allowed per character collection; the last speci-
fied file is used. There are no built-in cidToUni-
code mappings."

you should try install/reinstall xpdf-config rpm package, it contains Adobe-GB1.cidToUnicode file
check with this command if you have the files:
find /usr/share/xpdf | grep -i cidtounicode

btw, what language does those pdf files have? Does it have some Asian language?
Keep us informed.
 
Old 02-21-2005, 09:07 AM   #10
kenshinji
LQ Newbie
 
Registered: Apr 2004
Location: China
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 0
Yes,It has some Asian language(Chinese).
 
Old 02-21-2005, 09:29 AM   #11
kenshinji
LQ Newbie
 
Registered: Apr 2004
Location: China
Distribution: Debian
Posts: 20

Original Poster
Rep: Reputation: 0
But....,bbk,how did you know that...?
 
Old 02-25-2005, 08:01 AM   #12
bbk
Member
 
Registered: Jan 2005
Location: Budapest/Hungary
Distribution: knoppix-hdd/debian
Posts: 56

Rep: Reputation: 15
'cause Asian languages do need Unicode to display all of their characters.
So, have you successfully managed the installation of the noted package and files?
 
Old 12-06-2005, 07:37 PM   #13
suse2166
Member
 
Registered: Sep 2004
Posts: 190

Rep: Reputation: 30
If you still haven't resolved your problem... Try this method, it just work for me ...

I Open FireFox Brownser
click on preference
click on Downloads
click on Plugins to open
PDF file extension was enable ... I Double click too disable it ...
click ok to save

Now I when back to the PDF file on the internet and I click on it ...
Now I get a box that prompt me as to how I want to open PDF file with Adobe Acrobat

Problem resolved, I get prompt to open PDF file with Adobe Acrobat ...
 
  


Reply



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
trying to open a pdf file kotoko Linux - Newbie 6 12-06-2005 07:36 PM
Open pdf-attachement in Evolution hyllplan Linux - Software 6 09-03-2005 01:38 PM
Open Office/PDF Help ZingSter Linux - Software 1 01-10-2005 04:07 PM
Unable to open PDF document !! majalee Linux - Software 5 08-03-2004 12:44 PM
Convert Open Office file to PDF file. liguorir Linux - Software 1 01-13-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 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
Open Source Consulting | Domain Registration