| Summary: | Superfluous red boxes in DVI page thumbnails | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Tristan Miller <psychonaut> |
| Component: | DVI backend | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lueck, mail, mark.vanrossum, piotr.sniady |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
LaTeX file whose DVI causes problems for okular
DVI file which okular renders with red boxes Screenshot showing red boxes |
||
Created attachment 27873 [details]
LaTeX file whose DVI causes problems for okular
Created attachment 27874 [details]
DVI file which okular renders with red boxes
Created attachment 27875 [details]
Screenshot showing red boxes
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
*** Bug 201576 has been marked as a duplicate of this bug. *** Problem seems to have been fixed in Okular 0.10.1 (KDE 4.4.1). Please re-open as this bug is back for me using the above test file and okular-4.11.3-1.fc19.x86_64 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
(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. |
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.