Some pdf are not recognized
Moderators: XnTriq, helmut, xnview
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Some pdf are not recognized
Some pdf are not recognized. Message - "Format of the file ... could not be determined".
XnView 2.49.1 (and 2.49), Ghostscript 9.50 (and 9.26), win 10 1909.
Example attached.
XnView 2.49.1 (and 2.49), Ghostscript 9.50 (and 9.26), win 10 1909.
Example attached.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
Any confirmation?
-
- XnThusiast
- Posts: 4138
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Some pdf are not recognized
Opens for me using XnView MP 0.93 and whichever non-recent version of Ghostscript is installed on my Linux Mint 19.1 computer...
Note that there is a known issue with the latest Ghostscript 9.50, said to be fixed in XnView MP 0.94.1 I believe, however earlier versions possibly including 9.26 which you say you have tried should work AFAIK, although you might test with a slightly earlier version.
There is also some history, not really fully investigated yet, of PDF files that open in other software not opening in XnView software, but that isn't the case here.
Note also that 32-bit versions of XnView software require Ghostscript 32-bit even on Windows x64.
Edit:
You might check that in the viewer File > Format settings... > Ignore read errors is enabled, otherwise perhaps a Windows 10 issue??
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
Xn 2.49.2 - works with some pdf (like attached above), but not with all pdfs.
-
- XnThusiast
- Posts: 4138
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
If i turn off
unicode utf-8 for worldwide... (current sys locale - different) - all pdf's opens well.You do not have the required permissions to view the files attached to this post.
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
Something wrong with locale/filename/path managing... if "unicode utf-8 for worldwide" is on.
Pdf's with filename or filepath in non english locale - problem.
But if rename it to "1.pdf" or/and move to "d:\" all works perfect.
Pdf's with filename or filepath in non english locale - problem.
But if rename it to "1.pdf" or/and move to "d:\" all works perfect.
-
- XnThusiast
- Posts: 4138
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Some pdf are not recognized
I think this is probably the same issue as reported in this earlier thread:
Warning: 'Error opening the file'
Could you confirm that the same filename issue is present for image files in general, such as a JPEG file?
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
No. Only "Ghostscript" files.
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
Again, if utf-8 locale turned on in win 10 and filename in non english locale, XnView cannot open it!!!
XnView 2.49.3, GS 9.52.
If rename file to 1.pdf or s.pdf - all fine.
Example pdf in attachment (file from viewtopic.php?f=36&t=40435).
XnView 2.49.3, GS 9.52.
If rename file to 1.pdf or s.pdf - all fine.
Example pdf in attachment (file from viewtopic.php?f=36&t=40435).
You do not have the required permissions to view the files attached to this post.
-
- XnThusiast
- Posts: 4138
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Some pdf are not recognized
XnView Classic only claims partial Unicode support, and that recently added I believe, does a file with the same filename and an other extension than PDF open correctly? I doubt if it a Ghostscript issue, although it might possibly an interface issue between XnView Classic and Ghostscript...
However, as XnView MP has full Unicode support, do you have a reason for not using that?
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
File "ы.png" - works fine.
XnView MP Version 0.96.2 64bits - same issue!
XnView MP Version 0.96.2 64bits - same issue!
-
- XnThusiast
- Posts: 4138
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
-
- Posts: 9
- Joined: Fri Nov 29, 2019 9:46 am
Re: Some pdf are not recognized
GS x32 and x64 both are installed.
-
- XnThusiast
- Posts: 4138
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Some pdf are not recognized
If your file doesn't open in XnView MP which has full Unicode support, I suggest that you concentrate on that and start a new thread in that section of the forum stating that the attached ы.pdf file doesn't open, that is more likely to result in a solution...
Edit:
Your file also opens for me in XnView Classic on Windows 10, so seemingly some configuration issue on your computer, but I still suggest that you start a new thread as above to increase the chances of an early solution, if you are unable to find the solution yourself.
Edit:
Your file also opens for me in XnView Classic on Windows 10, so seemingly some configuration issue on your computer, but I still suggest that you start a new thread as above to increase the chances of an early solution, if you are unable to find the solution yourself.