Okular: thumbnail preview of a DVI file with "times" font has large areas in red

Bug #273023 reported by Katsudon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KDE Graphics
Fix Released
Medium
kdegraphics (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: okular

Kubuntu 8.10 with all upgrades.

In Okular open a DVI file created with LaTeX, nothing fancy, black and white text, which uses "times" font and open Thumbnails. When the size of the thumbnails is sufficiently big, the thumbnails look fine. When the size of the thumbnails is small, 40% of the area of the thumbnails becomes uniformly read (impossible to see the thumbnail). Not every DVI file with "times" font has this problem; it seems that the "density" of text per page should be big enough.

The problem does not concern PDF nor PostScript files.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you attach an example DVI file?

Changed in okular:
status: New → Incomplete
Revision history for this message
Katsudon (katsudon) wrote :
Revision history for this message
Katsudon (katsudon) wrote :
Changed in kdegraphics:
status: Incomplete → New
Revision history for this message
Katsudon (katsudon) wrote :
Revision history for this message
In , Psychonaut (psychonaut) wrote :

Version: (using KDE 4.1.2)
Installed from: SuSE RPMs

I created a simple LaTeX document using the default Computer Modern fonts. When viewing the resulting DVI in Okular, the thumbnail preview is full of big red boxes. (See attached screenshot.)

The bug does not occur when using PostScript fonts (e.g., by specifying \usepackage{times} in the LaTeX document). It also doesn't occur when viewing PostScript or PDF representations of the document. The problem may be related to the font encoding.

I'm attaching the original LaTeX file and DVI.

Revision history for this message
In , Psychonaut (psychonaut) wrote :

Created attachment 27873
LaTeX file whose DVI causes problems for okular

Revision history for this message
In , Psychonaut (psychonaut) wrote :

Created attachment 27874
DVI file which okular renders with red boxes

Revision history for this message
In , Psychonaut (psychonaut) wrote :

Created attachment 27875
Screenshot showing red boxes

Revision history for this message
In , Psychonaut (psychonaut) wrote :

Upon further study, I have further narrowed down the cause of the problem: The red boxes appear wherever there is a period character (.) when using Computer Modern fonts with certain font encodings. Here is a minimal example:

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
.
\end{document}

Add more periods to get more red boxes. The following font encodings produce red boxes:

T1
T2A
T2B
T2C
TS1
X2

The following font encodings do not produce red boxes (at least, not for the . character):

IL2
LCY
LGR
LMC
LO1
LY1
OML
OMS
OT1
OT2
OT4
T2D
T3
T4
TS3

Revision history for this message
Katsudon (katsudon) wrote :

Still the same on (K)ubuntu 8.10 with all upgrades.

Revision history for this message
Harald Sitter (apachelogger) wrote :

"Okular was not able to locate all the font files which are necessary to display the current DVI file. Your document might be unreadable."

Please attach a DVI that works. Thank you.

Changed in kdegraphics:
status: New → Incomplete
Revision history for this message
Katsudon (katsudon) wrote :

Indeed, the problem occurs only with documents using certain fonts. In this case its "times" fonts which can be installed from the standard repository by:

sudo aptitude install texlive-fonts-extra

description: updated
Changed in kdegraphics:
status: Incomplete → New
Revision history for this message
Katsudon (katsudon) wrote :

The same situation in Jaunty.

Revision history for this message
Katsudon (katsudon) wrote :

The same situation in Karmic alpha 3.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

It would probably be a good idea to forward this bug to bugs.kde.org, and link the report here.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Thanks.

Changed in kdegraphics (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in kdegraphics:
status: Unknown → New
Revision history for this message
In , Pino Toscano (pinotree) wrote :

*** Bug 201576 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Psychonaut (psychonaut) wrote :

Problem seems to have been fixed in Okular 0.10.1 (KDE 4.4.1).

Changed in kdegraphics:
status: New → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fixed in KDE 4.4.1.

Changed in kdegraphics (Ubuntu):
status: Triaged → Fix Released
Changed in kdegraphics:
importance: Unknown → Medium
Revision history for this message
In , cosine (mvanross) wrote :

Please re-open as this bug is back for me using the above test file and
okular-4.11.3-1.fc19.x86_64

Revision history for this message
In , Burkhard Lück (lueck) wrote :

with attachment 27874 okular does NOT render with red boxes in:

kubuntu 12.04:
$ okular --version
Qt: 4.8.2
KDE: 4.11.1
Okular: 0.17.1

4.12 compiled from sources:
$ okular --version
Qt: 4.8.2
KDE: 4.11.80
Okular: 0.17.80

master compiled from sources:
$ okular --version
xxQt: 4.8.2
KDE Development Platform: 4.11.3
xxOkularxx: 0.17.60
xx

Revision history for this message
In , cosine (mvanross) wrote :

(In reply to comment #7)
> Please re-open as this bug is back for me using the above test file and
> okular-4.11.3-1.fc19.x86_64

I'm confused. Now, just 1hr later, I don't see them any more on the same file...

I'll will try to narrow it down.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.