Bug 172802 - Superfluous red boxes in DVI page thumbnails
Summary: Superfluous red boxes in DVI page thumbnails
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: DVI backend (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 201576 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-14 15:49 UTC by Tristan Miller
Modified: 2013-11-12 09:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
LaTeX file whose DVI causes problems for okular (539 bytes, text/plain)
2008-10-14 15:49 UTC, Tristan Miller
Details
DVI file which okular renders with red boxes (768 bytes, application/x-dvi)
2008-10-14 15:50 UTC, Tristan Miller
Details
Screenshot showing red boxes (43.55 KB, image/png)
2008-10-14 15:50 UTC, Tristan Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2008-10-14 15:49:23 UTC
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.
Comment 1 Tristan Miller 2008-10-14 15:49:57 UTC
Created attachment 27873 [details]
LaTeX file whose DVI causes problems for okular
Comment 2 Tristan Miller 2008-10-14 15:50:27 UTC
Created attachment 27874 [details]
DVI file which okular renders with red boxes
Comment 3 Tristan Miller 2008-10-14 15:50:52 UTC
Created attachment 27875 [details]
Screenshot showing red boxes
Comment 4 Tristan Miller 2008-10-15 13:13:24 UTC
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
Comment 5 Pino Toscano 2009-07-26 20:32:04 UTC
*** Bug 201576 has been marked as a duplicate of this bug. ***
Comment 6 Tristan Miller 2010-03-05 12:35:22 UTC
Problem seems to have been fixed in Okular 0.10.1 (KDE 4.4.1).
Comment 7 Mark van Rossum 2013-11-12 08:30:58 UTC
Please re-open as this bug is back for me using the above test file and
okular-4.11.3-1.fc19.x86_64
Comment 8 Burkhard Lück 2013-11-12 08:45:36 UTC
with attachment 27874 [details] 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
Comment 9 Mark van Rossum 2013-11-12 09:25:50 UTC
(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.