![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2013
Device: iRex iliad
|
Text overflows in viewer
If I set text-align to justify in Calibre Viewer's custom CSS, some text starts overflowing (look at the second line). Similarly, text is not properly aligned on the right side - this screenshot shows the problem very clearly.
Is there anything I missed in the settings, or is this a problem with Calibre? I'm using version 0.9.13 on Windows. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Change the font, this is a bug in Qt with certain fonts.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2013
Device: iRex iliad
|
OK, thanks.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jun 2010
Device: none
|
I have a question about calibre:
to save as only epub with a cover and a opf file then I got 3 files. now I like to change the opf file to only txt. not the htm codes inside. In a DOS-box it wil work, opf to txt but the codes are still in. How can I change it? Who knows it? Last edited by moby4me; 01-17-2013 at 05:25 PM. Reason: I did not hear some |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2012
Device: Nokia Lumia 900
|
I've got to say, I find this bug to be rather annoying. If you want to add to their bug report, it seems that in Windows 8 using Times New Roman, capitalized letters are a source of this issue. All lowercase letters are within the bounds of the container, but by replacing lowercase characters with uppercase ones, the right-edge of the text (in ltr mode, at least) moves further and further to the right, as uppercase characters are wider than lowercase ones, instead of wrapping around properly.
An example: Code:
<html> <body style="width:956px;background-color:black;color:#949494"> <div style="padding:75px;"> <p style="text-align:justify; background-color:darkgreen"> <span style="text-transform:uppercase;background-color:darkblue"> Rath considered himself</span> a businessman. Besides being something of an expert in the finer arts of item relocation, he also considered himself a </p> </div> </body> </html> (Click to enlarge) Last edited by WT Sharpe; 01-22-2013 at 01:53 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
0.9.7: Anomaly viewer, start viewer in full screen mode | DrChiper | Calibre | 2 | 11-23-2012 06:33 AM |
[Kindle Touch] No Image viewer and pdf viewer with white margins | MaxPowerITA | Kindle Developer's Corner | 7 | 04-24-2012 05:27 AM |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
# user css for viewer.py/ ebook-viewer/ prs-650 | tscamera | Calibre | 0 | 01-02-2011 06:28 PM |
Foxit's "text viewer" -> save? | ile | Amazon Kindle | 2 | 10-10-2010 06:29 PM |