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

Still wrong encoding in pdf metadata [ Was: Re: Bug#821280: refcard: updated french translation ]



Hi,

Baptiste noticed that there is a wrong character in the pdf metadata, even
after I have changed the pdftk command to the use of utf-8 encoding:
a non-breaking space gets displayed as an euro sign €.


Baptiste Jammet <baptiste@mailoo.org> wrote:
> Hi,
> 
> >I don't see any such euro sign in the title.
> >Which pdf viewer do you use?
> >With Okular it looks fine.
> It's in the window title.
> I'm using Atril (evince from Mate) and iceweasel (see attachment).
> mupdf don't print any document title in the window, except filename.
> ... could it be the window manager ?

No, I don't think so.


Baptiste Jammet <baptiste@mailoo.org> wrote:
> The easy way is to replace &#x00A0; with simple space, but I don't
> understand why the NBSP is recognised in the file but not as the window
> title.

The content in the pdf sheets and the window title are different things
in the pdf file, they are stored separately, and they are generated
separately.
The data for the window title is read out of the pdf metadata, and these
metadata are generated/written with the tool "pdftk" while building
the refcard pdf.
I have played around with that a bit, and it seems that's a bug in pdftk.

I'm just setting up a Debian testing in a VM, to test if the problem is
still there in Testing version.
If yes, I will file a bugreport against pdftk.



Holger

-- 
============================================================
Created with Sylpheed 3.5.0 under
	D E B I A N   L I N U X   8 . 0   " J E S S I E " .

Registered Linux User #311290 - https://linuxcounter.net/
============================================================


Reply to: