Saving to pdf file - without font shown in file Properties

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

User avatar
Hatters
Posts: 7
Joined: Wed Jan 23, 2013 5:08 am

Saving to pdf file - without font shown in file Properties

Post by Hatters » Wed Oct 10, 2018 1:27 pm

When you create a multi-page pdf file (or batch scan to pdf), XnView adds "Helvetica" font information to the file.
This does not allow you to configure the download of the file to the information system (the file is not considered a scan, and recognized pdf file).
How to remove this information?

cday
XnThusiast
Posts: 2134
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Saving to pdf file

Post by cday » Wed Oct 10, 2018 2:10 pm

Hatters wrote:
Wed Oct 10, 2018 1:27 pm
When you create a multi-page pdf file (or batch scan to pdf), XnView adds "Helvetica" font information to the file.
The PDF file is as you say an image file, so the font information arbitrarily entered in the file Properties has no practical significance, does it?

This does not allow you to configure the download of the file to the information system (the file is not considered a scan, and recognized pdf file).
Could you explain the problem you are experiencing in more detail?

Note that PDF files produced by XnView software are not searchable, OCR software is required to make an image file of text searchable.

How to remove this information?
The file properties can be edited in some PDF software, either Adobe Acrobat or equivalent software, or special utilities, some freeware, if you need to.

User avatar
Hatters
Posts: 7
Joined: Wed Jan 23, 2013 5:08 am

Re: Saving to pdf file

Post by Hatters » Thu Oct 11, 2018 4:34 am

cday wrote:
Wed Oct 10, 2018 2:10 pm
The PDF file is as you say an image file, so the font information arbitrarily entered in the file Properties has no practical significance, does it?
...
Could you explain the problem you are experiencing in more detail?
Note that PDF files produced by XnView software are not searchable, OCR software is required to make an image file of text searchable.
That's right. All programs for viewing pdf files ignore font information.
But in the organization to which I send the file check the structure of the pdf file. They need strictly scanned files (conversion from *.doc or *.docx is not valid). I don't know why they have such demands.
The file properties can be edited in some PDF software, either Adobe Acrobat or equivalent software, or special utilities, some freeware, if you need to.
Oh, Yes.
But I do not want to work with one file in several programs. If the utility can be connected to XnView - tell me its name.

For example, save the image to pdf (see attachment).
In the properties of the pdf file there is information about the font "Helvetica". What for?
Attachments
pic.pdf
(137.01 KiB) Downloaded 34 times
pic2.png
pic.png

cday
XnThusiast
Posts: 2134
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Saving to pdf file

Post by cday » Thu Oct 11, 2018 7:21 am

Hatters wrote:
Thu Oct 11, 2018 4:34 am
But in the organization to which I send the file check the structure of the pdf file. They need strictly scanned files (conversion from *.doc or *.docx is not valid). I don't know why they have such demands.
Possibly because PDF files created by converting *.doc or *.docx files would contain vector fonts, which would mean that the text in the file could be easily altered.

cday wrote: The file properties can be edited in some PDF software, either Adobe Acrobat or equivalent software, or special utilities, some freeware, if you need to.
Hatters wrote:But I do not want to work with one file in several programs. If the utility can be connected to XnView - tell me its name.

I don't think that is possible; the only solution I can see would be to batch convert the properties your PDF files using one of the solutions above.
Hatters wrote: In the properties of the pdf file there is information about the font "Helvetica". What for?

I don't know, possibly a requirement of the PDF spec, or an arbitrary assignment in the PDF creation software (third party, I think) used by XnView software.

cday
XnThusiast
Posts: 2134
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Saving to pdf file

Post by cday » Thu Oct 11, 2018 10:12 am

A small update:

1 I have been unable to delete the Helvetica font shown in the Properties of your file using Adobe Acrobat [Standard XI] for some reason.

2. Re-saving the file using 'Print to file' from software that supports that or an installed 'printer' seems to remove the font shown in Properties.

3. A PDF file created by opening and saving an image using another freeware software seems to produce a file with no font in the properties. :D

I'll send you a PM.

Edit:

The above 'Print to file' option is explained in this link. It is also possible to print to file directly from Chrome (and probably other Chromium-based web browsers) by opening the PDF file (Ctrl + O) and then saving the file using 'Save as PDF'.

User avatar
xnview
Author of XnView
Posts: 31597
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Saving to pdf file

Post by xnview » Sun Oct 14, 2018 10:57 am

i'll fix it
Pierre.

User avatar
Hatters
Posts: 7
Joined: Wed Jan 23, 2013 5:08 am

Re: Saving to pdf file

Post by Hatters » Fri Nov 16, 2018 11:12 am

Thank you for your response.
When can we expect an updated release?

User avatar
Hatters
Posts: 7
Joined: Wed Jan 23, 2013 5:08 am

Re: Saving to pdf file

Post by Hatters » Mon Jan 28, 2019 10:46 am

I am grateful to you, the font information issue has been fixed.

Now there is another error.
When creating multi-page pdf files, the structure of the files is broken and they become unreadable.
I took 3 pictures (1.png, 2.png, 3.png) and created 123.pdf – only 1 page is read in the file.
Multi-page image file 123.tif-created correctly. But once you save it as 123_tif.pdf - an error occurs again.

How can the situation be corrected?
Attachments
123_tif.pdf
(26.35 KiB) Downloaded 30 times
123.tif
(20.95 KiB) Downloaded 24 times
123.pdf
(26.15 KiB) Downloaded 26 times
3.png
3.png (2.85 KiB) Viewed 1696 times
2.png
2.png (2.8 KiB) Viewed 1696 times
1.png
1.png (2.59 KiB) Viewed 1696 times

User avatar
xnview
Author of XnView
Posts: 31597
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Saving to pdf file

Post by xnview » Tue Jan 29, 2019 6:37 am

Hatters wrote:
Mon Jan 28, 2019 10:46 am
How can the situation be corrected?
right, i'll fix it
Pierre.

User avatar
Hatters
Posts: 7
Joined: Wed Jan 23, 2013 5:08 am

Re: Saving to pdf file

Post by Hatters » Tue Jan 29, 2019 9:30 am

Is this a problem only in XnView Classic?
Fixed in XnView MP?

User avatar
xnview
Author of XnView
Posts: 31597
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Saving to pdf file

Post by xnview » Tue Jan 29, 2019 1:46 pm

Hatters wrote:
Tue Jan 29, 2019 9:30 am
Is this a problem only in XnView Classic?
Fixed in XnView MP?
the problem is only with XnView Classic 2.47
Pierre.

User avatar
Hatters
Posts: 7
Joined: Wed Jan 23, 2013 5:08 am

Re: Saving to pdf file

Post by Hatters » Mon Feb 11, 2019 11:40 am

Sorry, but XnView MP in the formation of the pdf is also added information about fonts (((

User avatar
xnview
Author of XnView
Posts: 31597
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Saving to pdf file

Post by xnview » Mon Feb 11, 2019 1:00 pm

Hatters wrote:
Mon Feb 11, 2019 11:40 am
Sorry, but XnView MP in the formation of the pdf is also added information about fonts (((
0.92?
Pierre.

cday
XnThusiast
Posts: 2134
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Saving to pdf file

Post by cday » Mon Feb 11, 2019 1:24 pm

xnview wrote:
Mon Feb 11, 2019 1:00 pm
Hatters wrote:
Mon Feb 11, 2019 11:40 am
Sorry, but XnView MP in the formation of the pdf is also added information about fonts (((
0.92?
XnView MP 0.92 writes font data to File > Properties > Fonts , same issue now fixed in Classic...
Attachments
0.92 Fonts Test.pdf
(106.15 KiB) Downloaded 26 times

User avatar
xnview
Author of XnView
Posts: 31597
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Saving to pdf file

Post by xnview » Mon Feb 11, 2019 1:48 pm

should be fixed in 0.93
Pierre.

Post Reply