Bug#760751: [okular] Okular shows "[Please insert PrerenderUnicode{??} into preamble]" in the title bar, when the title of the document contains an umlaut

2014-09-08 Thread Thomas Hackert
Hello Stuart, *,
On Mon, Sep 08, 2014 at 04:12:04PM +1000, Stuart Prescott wrote:
> > But now to my problem. If I open an PDF file, which has an German umlaut
> > in its title, Okular will replace the umlaut with "Please insert
> > PrerenderUnicode{??} into preamble]" (e.g. if its title would be
> > "Einführung" it will become "Einf[Please insert PrerenderUnicode{??} into
> > preamble]hrung") ... :
> > 
> > Steps to reproduce:
> > 
> > 1. Download https://www.bg.bib.de/portale/dab/pdf/einf_dab.pdf
> > 2. Open it in Okular
> > 3. Look at the title bar
> > 
> > You will see "Einf[Please insert PrerenderUnicode{ü} into preamble]hrung
> > in das Fach Datenbanken" instead of "Einführung in das Fach Datenbanken"
> > ... :(
> > 
> > You could also use "File - Properties" (I hope, this is the right
> > translation. In German it is "Datei - Eigenschaften" ... ;) ), where you
> > could see its title with this "Please insert..." annotation.
> 
> This is a problem with the specific PDF that you have linked to and not with 
> okular. What you see in the title bar there is quite literally what is set 
> as the title for that PDF in the document metadata:
> 
> $ pdfinfo einf_dab.pdf 
> [...]
> Keywords:   Datenbanken, Einf[Please insert PrerenderUnicode{ü} into 
> preamble]hrung, Motivation

thank you for your information :)

> The producer of this pdf (pdfeTeX-1.21a by the looks of it) needs to be 
> configured to correctly handle non-ASCII characters in the PDF metadata. If 
> you had the latex source available, you'd be able to fix this by 

I am afraid not ... :(

> regenerating the PDF... The solution is to either tell pdflatex that the 
> input file is encoded in UTF-8 (for example \usepackage[utf8]{inputenc}) or 
> to help pdflatex understand how to deal with this character (add 
> \PrerenderUnicode{ü} to the preamble.)

O.K. I will try to ask someone from bib, if it is possible to fix this.
Thanks again for your answer and have a nice evening
Thomas.

-- 
Operator, please trace this call and tell me where I am.


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140908154838.ga10...@neo.matrix.org



Bug#760751: [okular] Okular shows "[Please insert PrerenderUnicode{??} into preamble]" in the title bar, when the title of the document contains an umlaut

2014-09-07 Thread Stuart Prescott
Hi Thomas,

> But now to my problem. If I open an PDF file, which has an German umlaut
> in its title, Okular will replace the umlaut with "Please insert
> PrerenderUnicode{??} into preamble]" (e.g. if its title would be
> "Einführung" it will become "Einf[Please insert PrerenderUnicode{??} into
> preamble]hrung") ... :
> 
> Steps to reproduce:
> 
> 1. Download https://www.bg.bib.de/portale/dab/pdf/einf_dab.pdf
> 2. Open it in Okular
> 3. Look at the title bar
> 
> You will see "Einf[Please insert PrerenderUnicode{ü} into preamble]hrung
> in das Fach Datenbanken" instead of "Einführung in das Fach Datenbanken"
> ... :(
> 
> You could also use "File - Properties" (I hope, this is the right
> translation. In German it is "Datei - Eigenschaften" ... ;) ), where you
> could see its title with this "Please insert..." annotation.

This is a problem with the specific PDF that you have linked to and not with 
okular. What you see in the title bar there is quite literally what is set 
as the title for that PDF in the document metadata:

$ pdfinfo einf_dab.pdf 
[...]
Keywords:   Datenbanken, Einf[Please insert PrerenderUnicode{ü} into 
preamble]hrung, Motivation

The producer of this pdf (pdfeTeX-1.21a by the looks of it) needs to be 
configured to correctly handle non-ASCII characters in the PDF metadata. If 
you had the latex source available, you'd be able to fix this by 
regenerating the PDF... The solution is to either tell pdflatex that the 
input file is encoded in UTF-8 (for example \usepackage[utf8]{inputenc}) or 
to help pdflatex understand how to deal with this character (add 
\PrerenderUnicode{ü} to the preamble.)

cheers
Stuart

-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/540d48b7.c56e440a.1951.8...@mx.google.com



Bug#760751: [okular] Okular shows "[Please insert PrerenderUnicode{??} into preamble]" in the title bar, when the title of the document contains an umlaut

2014-09-07 Thread Thomas Hackert
Package: okular
Version: 4:4.14.0-2
Followup-For: Bug #760751

Dear Maintainer,
sorry for my empty bug reports, but for whatever reason reportbug-ng has not
opened an window, where I could enter any further information. So I thought, it
has done nothing and tried to open this bug a couple of times ... :(

But now to my problem. If I open an PDF file, which has an German umlaut in its
title, Okular will replace the umlaut with "Please insert PrerenderUnicode{??}
into preamble]" (e.g. if its title would be "Einführung" it will become
"Einf[Please insert PrerenderUnicode{??} into preamble]hrung") ... :

Steps to reproduce:

1. Download https://www.bg.bib.de/portale/dab/pdf/einf_dab.pdf
2. Open it in Okular
3. Look at the title bar

You will see "Einf[Please insert PrerenderUnicode{ü} into preamble]hrung in
das Fach Datenbanken" instead of "Einführung in das Fach Datenbanken" ... :(

You could also use "File - Properties" (I hope, this is the right translation.
In German it is "Datei - Eigenschaften" ... ;) ), where you could see its title
with this "Please insert..." annotation.

Sorry for the inconvenience and have a nice day
Thomas.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.14-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages okular depends on:
ii  kde-runtime 4:4.14.0-1
ii  libc6   2.19-10
ii  libfreetype62.5.2-1.1
ii  libgcc1 1:4.9.1-12
ii  libjpeg88d1-1
ii  libkactivities6 4:4.13.3-1
ii  libkdecore5 4:4.14.0-1
ii  libkdeui5   4:4.14.0-1
ii  libkexiv2-114:4.14.0-1
ii  libkio5 4:4.14.0-1
ii  libkparts4  4:4.14.0-1
ii  libkprintutils4 4:4.14.0-1
ii  libkpty44:4.14.0-1
ii  libokularcore5  4:4.14.0-2
ii  libphonon4  4:4.7.2-1
ii  libpoppler-qt4-40.26.4-1
ii  libqca2 2.0.3-6
ii  libqimageblitz4 1:0.0.6-4
ii  libqmobipocket1 4:4.12.2-2
ii  libqt4-dbus 4:4.8.6+git64-g5dc8b2b+dfsg-1
ii  libqt4-declarative  4:4.8.6+git64-g5dc8b2b+dfsg-1
ii  libqt4-svg  4:4.8.6+git64-g5dc8b2b+dfsg-1
ii  libqt4-xml  4:4.8.6+git64-g5dc8b2b+dfsg-1
ii  libqtcore4  4:4.8.6+git64-g5dc8b2b+dfsg-1
ii  libqtgui4   4:4.8.6+git64-g5dc8b2b+dfsg-1
ii  libsolid4   4:4.14.0-1
ii  libspectre1 0.2.7-3
ii  libstdc++6  4.9.1-12
ii  phonon  4:4.7.2-1
ii  zlib1g  1:1.2.8.dfsg-1

okular recommends no packages.

Versions of packages okular suggests:
ii  ghostscript9.05~dfsg-9
ii  jovie  4:4.14.0-1
pn  okular-extra-backends  
ii  poppler-data   0.4.7-1
ii  texlive-binaries   2014.20140528.34243-5
ii  unrar  1:5.0.10-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140907143608.5836.91232.reportbug@niobe.matrix



Bug#760751: [okular] Okular shows "[Please insert PrerenderUnicode{??} into preamble]" in the title bar, when the title of the document contains an umlaut

2014-09-07 Thread Thomas Hackert
Package: okular
Version: 4:4.14.0-2
Severity: normal

--- Please enter the report below this line. ---


--- System information. ---
Architecture: i386
Kernel:   Linux 3.14-2-686-pae

Debian Release: jessie/sid
  500 unstabledownload.jitsi.org 
  500 trusty  ppa.launchpad.net 
  500 testing www.deb-multimedia.org 
  500 testing security.debian.org 
  500 testing ftp.de.debian.org 
  500 stable  dl.google.com 
  500 sid-pgdgapt.postgresql.org 
  500 sid linux.dropbox.com 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.


-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140907134914.ga4...@neo.matrix.org