[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Bug#23401: negative text-indent -> printing problems
From: martin () schenk ! com
Date: 2001-03-31 12:50:35
[Download RAW message or body]
Package: khtml
Version: 3.0 (using KDE 2.1.1 )
Severity: normal
Installed from: compiled sources
Compiler: gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
OS: Linux 2.4.2 i686
OS/Compiler notes:
A MS-Word generated html page with a tag like:
<p class=MsoNormal style='margin-left:46.35pt;text-indent:-18.0pt'>
gets rendered correctly on screen, but when printing the negative value for \
text-indent seems to be converted to a big (unsigned short) value - so the text is \
outside the right margin of the printer.
example:
<html>
<body lang=DE style='tab-interval:35.4pt'>
<p class=MsoNormal><span style='font-size:12.0pt;mso-bidi-font-size:10.0pt'>Für
den Erwerb eines Übungszeugnisses müssen folgende Leistungen erbracht \
werden.<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:42.55pt;text-indent:-14.2pt'><span \
style='font-size:12.0pt;mso-bidi-font-size:10.0pt'>-<span style='mso-tab-count:1'> \
</span>Klausur am Ende des Semesters<o:p></o:p></span></p> </body> </html>
becomes the ps-output (without header):
36 Y(Für den Erwerb eines Übungszeugnisses müssen folgende Leistungen erbracht \
werden.)453 10 T 65 Y(-)4 65574 T
(Klausur am Ende des Semesters)171 65587 T
Without the negative text-ident, printing works. The size of the values (65574, \
65587) seems to indicate an (unsigned short) casting problem somewhere.
I hope someone who knows printing in khtml can find the error from this description.
Martin
(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic