01-07-2013, 07:45 AM | #1 |
Evangelist
Posts: 480
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
Why text becomes bold?
I want to change the size of the subheading. All is nice until 109%, but as soon as I enter 110% or anything bigger, subheading will be bold. Why?
Code in the css: Code:
.calibre24 { font-size: 109%; text-indent:0em; text-align:center; margin-bottom: 1em; margin-left: 3em; margin-right: 3em; margin-top: 0em } Code:
<p class="calibre24">this is subheading</p> Just made another experiment - when I add font-weight:bold, then the text is much bolder, whatever the size. So it's not real bold, but just looks bolder than main text both in Sigil and in Calibre viewer. It's totally mystifying. Does it mean I can't get big thin characters? Seems somehow wrong. |
01-07-2013, 08:00 AM | #2 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Use something other than Sigil or Calibre to view the book.
The QT render engine has display quirks |
Advert | |
|
01-07-2013, 09:39 AM | #3 |
Evangelist
Posts: 480
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
Oh, thanks. I started to suspect it was something about viewer, but it's very nice to know.
Maybe when I get a device that reads epubs, I'll consider it more important, but for now I'll stick with Calibre. Wonder what other quirks I should be aware of...? |
01-07-2013, 09:50 AM | #4 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Calibre actually uses the same Qt Webkit renderer that Sigil does in its viewer. Preview your ePub in Adobe Digital Editions if you want to get a ballpark idea of what the vast majority epub readers will be seeing. It's not going to be identical to what the various devices see, but it will be a lot closer.
|
01-07-2013, 10:58 AM | #5 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Sony makes a viewer for PC, so does Nook, so if you think you might go either of those directions, you could try those as well to preview. You will find if you begin to fiddle with embedded fonts, there are quirks there as well. They are not shown in Sigil, but appear in the viewers and devices.
Another reason to get and use a viewer is that images can overlap if they are too large, flooding the following page. This too is not shown by Sigil, but is shown by a viewer or device. |
Advert | |
|
01-07-2013, 04:31 PM | #6 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I'm not sure I remember the last thread in which the CSS was not "Calibre-this" or "Calibre-that." (And, really--we need a sub-forum for ePUB CSS. It's silly that all these questions are in Sigil, as if it has anything whatsoever to do with it. Or, generally, these should be moved to ePUB. This one had some relevance, but it's a novice question that would be better answered over there, by more folks with experience in using Calibre to make ePUBs.) Just my $.02 Hitch |
|
01-08-2013, 01:37 PM | #7 | |
eBook pro
Posts: 71
Karma: 5634
Join Date: Jan 2011
Location: Hertford, UK
Device: PC, iPad, Kindle, Kindle Fire, Galaxy Ace
|
Quote:
A lot of HTML rendering engines will automatically embolden headings and large fonts unless you specifically tell them not to. |
|
01-09-2013, 04:43 AM | #8 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
So true... Calibre is very nice for library management, but it's conversions... It takes me a lot more to clean that up than that its worth.
|
01-09-2013, 04:55 AM | #9 | ||
Evangelist
Posts: 480
Karma: 270594
Join Date: Aug 2010
Device: palm tx, Windows7, Galaxy A5
|
Quote:
At least now I know that I did everything right, and proper reader (that I won't be getting anytime soon) will show it. Quote:
Separate sub-forum would help tremendously. Though lurking around here has made me much smarter too. |
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I change body text from bold to normal? | Michaelus | Calibre | 13 | 07-28-2022 04:42 PM |
Help removing bold text | tecweston | Sigil | 5 | 02-08-2012 12:33 PM |
Troubleshooting Text in bold all the time. | jocampo | Amazon Kindle | 2 | 06-30-2011 06:37 PM |
Any hack to make default ebook text bold? | judith009 | Kindle Developer's Corner | 9 | 01-01-2011 02:32 PM |