Quote:
Originally Posted by fredex
I'm reading the Kindle edition of Sharon Lee and Steve Miller's "Accepting the Lance" in Calibre. In Calibre 4.21 there is an issue with the first line of each chapter, wherein it extends several words beyond the right margin before the linebreak occurs.
Changing preferences in the calibre from "Paged" mode to "Flow" fixes the problem.
I have not been able to recreate the issue in Calibre 3.x. Likewise on my actual Kindle paperwhite it displays fine.
so I'm left to guess it is either a Calibre problem, or something weird in the CSS or html. While I'm no expert in either, they both look fine to me.
Code:
.pcalibre1:first-line {
text-transform: uppercase
}
Code:
<body class="calibre" id="I3QM0-42e1df17df8e45d499273e237de08784">
<div class="calibre5" id="calibre_pb_17"></div>
<p class="part" id="calibre_toc_11">Jelaza Kazone</p>
<p class="p15">• • • • • • • • • • • • • • •</p>
<p class="pcalibre1 p5">“Last I heard, it was better to be doin’ something than doin’ nothin’,” Clarence said into the silence that followed Theo’s account of her meeting with the portmaster.</p>
This is the beginning of the first chapter, but the others are much the same.
note that class pcalibre1 attempts to set first line to all caps. if I comment out the body of pcalibre1 the problem goes away (along with the caps).
here's what it looks like on the page:
made into attachment (paperclip icon in advanced mode)
Thanks in advance!
Fred
|
It appears to be a calibre viewer problem. This is what i did:
Quote:
.pcalibre:first-line {
/* text-transform: uppercase;*/
font-variant: small-caps;
}
|

Using the unmodified epub shows normal in the server viewer.

bernie