On Sun, 2005-04-17 at 12:16 +1200, Hadley Rich wrote:
> On Sun, 17 Apr 2005 12:05, Nick Rout wrote:
> > well there is no html2ps on my system, so further investigation is
> > required.
>
> Check out this bug, although it is about large print fonts it has a css work
> around that may be of use.
>
> http://bugs.kde.org/show_bug.cgi?id=75657
>
> hads
Thanks, a bit of googling plus that link led me to conclude that adding
a directive to konqueror's default css style sheet would fix the
problem. I added:
@media print {
body {
font-size: 14pt ;
font-family: Lucida ;
}
}
to /usr/kde/3.3/share/doc/HTML/en/common/kde-default.css
That works for simple pages, but doesn't work for some web pages. I
suspect that when the web page has its own stylesheet that it is
over-riding the kde default, even when there are no font settings in the
web page's stylesheet.
For example the printer friendly version of a page from Linuxjournal.com
imports a stylesheet which contains:
/* $Id: print.css,v 1.4 2003/11/25 19:26:21 dries Exp $ */
body {
margin: 1em;
background-color: #fff;
}
th {
text-align: left;
color: #006;
border-bottom: 1px solid #ccc;
}
tr.dark {
background-color: #ddd;
}
tr.light {
background-color: #fff;
}
td {
padding: 5px;
}
#menu {
visibility: hidden;
}
#main {
margin: 1em;
}
I can't see anything about fonts in there, but the kde default is not
applied.
Very frustrating.
>
--
Nick Rout <[EMAIL PROTECTED]>