Bug 107065 - kdvi has errors in rendering revtex papers
Summary: kdvi has errors in rendering revtex papers
Status: CLOSED FIXED
Alias: None
Product: kdvi
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Kebekus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 20:33 UTC by S. Umar
Modified: 2005-07-04 11:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
dvi file (48.69 KB, application/octet-stream)
2005-06-08 20:34 UTC, S. Umar
Details
log file (5.83 KB, text/plain)
2005-06-08 20:35 UTC, S. Umar
Details
fonts from document info list (845 bytes, text/plain)
2005-06-22 17:21 UTC, S. Umar
Details
screen capture of kdvi showing the document (369.29 KB, application/octet-stream)
2005-06-22 17:23 UTC, S. Umar
Details
dvi file containing a single formula (268 bytes, application/octet-stream)
2005-06-27 16:59 UTC, S. Umar
Details
the original tex file (66 bytes, text/plain)
2005-06-27 16:59 UTC, S. Umar
Details
image of kdvi for test.dvi (108.62 KB, image/png)
2005-06-27 17:03 UTC, S. Umar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Umar 2005-06-08 20:33:31 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Compiled From Sources
OS:                Linux

When I use kdvi to view papers using the revtex style I get error messages
saying "The DVI code set a character of an unknown font." This seems to
be ok after the first page but messes up all superscripts etc in the first page.

Same dvi file shows perfectly using xdvi and xdvik. Also, if I generate postscript
or pdf they also show fine. I am going to attach the dvi file.
Thanks
Comment 1 S. Umar 2005-06-08 20:34:44 UTC
Created attachment 11376 [details]
dvi file
Comment 2 S. Umar 2005-06-08 20:35:16 UTC
Created attachment 11377 [details]
log file
Comment 3 Stefan Kebekus 2005-06-22 07:40:59 UTC
On Wednesday 08 June 2005 20:33, S.Umar wrote:

> When I use kdvi to view papers using the revtex style I get error messages
> saying "The DVI code set a character of an unknown font." This seems to
> be ok after the first page but messes up all superscripts etc in the first
> page. 
> 
> Same dvi file shows perfectly using xdvi and xdvik. Also, if I generate
> postscript or pdf they also show fine. I am going to attach the dvi file.


Dear Mr. Umar,

thank you for your bug report. I could, however, not reproduce the bug here: 
your file displays fine on my machine. Could you send me the following 
information:

* The version of TeTeX that you use

* The content of the "Fonts" page from the "document info" dialog

* The output of KDVI if started from the command line.

Best wishes,

Stefan Kebekus.
Comment 4 S. Umar 2005-06-22 17:21:42 UTC
Created attachment 11545 [details]
fonts from document info list
Comment 5 S. Umar 2005-06-22 17:23:06 UTC
Created attachment 11546 [details]
screen capture of kdvi showing the document
Comment 6 S. Umar 2005-06-22 17:26:09 UTC
Hi,

I am using tetex-3.0 from Fedora Core 4 distribution.

Starting kdvi at the command line does not produce any
errors. Only errors I get are the ones described above
in an error window. Could it be something to do with
UTF-8?
Thanks
Comment 7 Stefan Kebekus 2005-06-25 14:59:53 UTC
On Wednesday 22 June 2005 17:26, S.Umar wrote:

> Starting kdvi at the command line does not produce any
> errors. Only errors I get are the ones described above
> in an error window. Could it be something to do with
> UTF-8?

Dear Mr. Umar,

thank you for the log-files and the screenshots. Honestly, I am quite baffled. 
I seriously believed that the problems were related to fonts, but this seems 
to be ruled out now. Also, I don't believe UTF-8 issues are responsible. Now 
I suspect that the main DVI interpreter loop is the source of trouble, and  I 
start to wonder if the issue is not really a compiler issue. Could you please 
do the following:

re-compile KDVI and related libraries and programs (min: kviewshell, optimal: 
kdegraphics, kdelibs and QT) with all optimizations disabled and full debug 
support. When debug-support is enabled, KDVI should print a stream of debug 
messages to the shell window that might be helpful.

lf the problems persists, I need to find out how to reproduce the issue and 
then debug KDVI carefully. For that, the DVI file is far too long. Could you 
please try to shorten the DVI file so that is no more than one page, at best 
no more than a few words.

Best,

Stefan.
Comment 8 S. Umar 2005-06-27 16:57:35 UTC
Well, I have prepared a file that only contains $^{16}O$ and uses the article
style. However, I should point out that since I am using Fedora Core 4 the
compiler is gcc-4.0.0, which is not yet supported. We use a patch to remove
the gcc4 restriction when compiling KDE packages. This is generated by kdelibs
and kdegraphics from 3.4 branch updated a few days ago.
Comment 9 S. Umar 2005-06-27 16:59:14 UTC
Created attachment 11604 [details]
dvi file containing a single formula
Comment 10 S. Umar 2005-06-27 16:59:52 UTC
Created attachment 11605 [details]
the original tex file
Comment 11 S. Umar 2005-06-27 17:03:57 UTC
Created attachment 11606 [details]
image of kdvi for test.dvi
Comment 12 Stefan Hoelldampf 2005-06-30 22:35:31 UTC
I have recompiled kviewshell and kdvi on Fedora Core 4 with GCC 3.4.4 using the sources from the original kdegraphics-3.4.1-0.fc4.1.src.rpm.

The problem still exists.
Comment 13 Stefan Kebekus 2005-07-04 11:30:37 UTC
Hi,

thank you for your bug report. The issue that you have reported is really a bug in the C++ compiler that RedHat uses for Fedore Core 4. The compiler is known to have issues, and is explicitly blacklisted as unsuitable to compile KDE. I have added a workaround for this particular bug to the KDVI source files, and KDVI seems to run fine now. 

The workaround will be contained in the upcoming KDE 3.4.2 release. It must be expected, however, that the buggy compile will cause more problems, at other places. Thus, I would strongly urge you to complain to the makers of Fedore about the issue.

Best,

Stefan Kebekus.