|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2013
Device: Kindle Fire HD
|
Using different fonts in Sigil
Hi all,
Newbie question coming up. I need to have two different fonts in a book I've written and wasn't looking forward to uploading fonts and dealing with stylesheets as I have no experience with these. But when I copied and pasted by word document with both fonts into Sigil, created chapters and a TOC and then converted the epub into a mobi everything comes out fine when I read the book in my Kindle reader. So why do I need to upload fonts or create a style sheet? Am I missing something? Thanks in advance, Jamie |
|
|
|
|
|
#2 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The device may support Your chosen font The device falls back to a system font (an you did not notice the difference) Stylesheets allow CONTROL in a common (usually single) place instead of willy-nilly through out the document. This allow a Single change to revise the look and feel of your work. What happens if you decided the font, foo.ttf, you chose for Chapter Headings looked really bad on a small display? Without a stylesheet, you would need to locate and change each and every use to the new choice. With a stylesheet, you simply make the change once. Do take time and learn basic CSS. The stylesheet need not be complex. K.I.S.S. will work well here |
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Find a book you like in the MR library. Three Men in a Boat is a good choice and look at any special formatting you like. Switch to code view and see what they used to get it. Then switch over to the stylesheet view for the code you just saw. Then go to w3schools.com for a further explanation if you need one.
For many books you don't need extra fonts at all. The plainest of books won't need much in the way of a stylesheet either. But as you get more familiar with epubs you will likely want to be able to make chapter titles nicer looking etc. |
|
|
|
|
|
#4 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 877
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Quote:
Just about every reader device has a default serif font and a sans-serif one. Will these do as your two fonts? |
|
|
|
|
|
|
#5 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 877
Karma: 2457540
Join Date: Nov 2011
Device: none
|
But be careful. Unless your ebook is for JUST you, on JUST one particular device, a lot of the clever stuff won't always work. Let alone if you convert a Kindle version - and if you are distributing the ebook that's a market you'd be foolish to ignore.
|
|
|
|
| Advert | |
|
|
|
|
#6 | ||
|
Autism Spectrum Disorder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,212
Karma: 6244877
Join Date: Sep 2011
Location: Coastal Texas
Device: Android Phone
|
Quote:
Although from how the Smashwords style guide reads, it makes me wonder if people even use Word and OO/LO stylesheets very often. Too much direct formatting, perhaps? Quote:
|
||
|
|
|
|
|
#7 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 877
Karma: 2457540
Join Date: Nov 2011
Device: none
|
|
|
|
|
|
|
#8 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,393
Karma: 17000149
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
And moreover, what's wrong with the font the user might have selected as preferred font
|
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,562
Karma: 2999999
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
A compromise solution would be to offer a reversible choice of fonts. I mean to propose some font which seems to go well with your formatting, but that can be easily overriden by user's choice. The problem is that I can only test this kind of solution with Kobo Glo. Last edited by roger64; 04-28-2013 at 12:50 PM. |
|
|
|
|
|
#10 | |
|
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,492
Karma: 130605331
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Jamie: Likely, it worked because, through sheer happenstance, the two "fonts" you called via Word, called in the in-line html, are also on the actual Kindle devices. For example: Times New Roman and Trebuchet, or something along those lines. If you had called, say, a Cyrillic font you'd put on your computer, or, say, Linux Libertine Ligatures--well, that would be a different story. Then, on your Kindle, you would see little blank boxes where the letters should go. In fact, I have a screenshot of a Kindle2 screen I took, to prove to someone insisting that I was a moron ebook-maker, because I couldn't magically make a book in Russian for Amazon ("...because there are already books in Russian on Amazon! So you must not know what you are doing!" I was not able to explain to to him that the books worked on K8 devices, but not K7. Just didn't want to hear me.). (If you want to see what an image of an unsuccessful called font looks like on a Kindle, just say so. Happy to show you.) If the font you request isn't available, the device will simply choose one from amongst those available, or, worst case, display little empty boxes. A lot depends on the encoding, etc. I hope that makes sense to you. Hitch |
|
|
|
|
|
|
#11 |
|
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 655
Karma: 21054
Join Date: Jun 2011
Device: pc, t1, t2, t3, kobo aura 2, kobo clara HD, kobo Libra H2O
|
You can also embed fonts (be sure to use open source fonts and not commercial ones!) in your epub's in combination with an appropriate style sheet to force your e-reader to use that fonts only. It makes your epub bigger in size though, and your e-reader must be able to handle those font formats (.otf, .ttf) but when it really complies to the OPS 2.x standard, it will work.
|
|
|
|
|
|
#12 | |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2013
Device: Kindle Fire HD
|
Thanks for all the great responses. Yup, I was using Helvitica and New Courier in my word document. The first for the main text of my story and the New Courier to represent a manuscript that one of my characters reads within the story (if that makes sense).
I do want to get familiar with CSS and stylesheets but there's so much else to do write, design cover, proof,promote etc I'm going to take a short cut this time if I can! Having said that thank you for the advice of looking at how other books use CSS. I should have thought of that. Also Quote:
So what I'm seeing at the moment, both on my Kindle and Ipad, is the main text (which was Helvitica) now showing up as whichever user font I choose in the device and the New Courier showing as itself and not changeable...which is exactly what I want. Can anyone forsee a reason why I might come unstuck using my epub as it is without further addition? Thanks again, great stuff. Jamie |
|
|
|
|
|
|
#13 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Our own wiki can serve as a beginners guide and reference guide to CSS and if you wish to improve then it is easy to do.
Dale |
|
|
|
|
|
#14 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 676
Karma: 2902180
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
|
Always worthwhile to specify a "fallback" font in case the reader doesn't have the one you wanted :
Code:
p {
font-family: Georgia, serif;
font-weight: normal;
text-indent: 1em;
text-align: justify;
line-height: 120%;
margin-bottom: .5em;
margin-left: 0.5em;
}
h1,h2,h3 {
font-family: Arial, sans-serif;
text-align: center;
}
BobC Last edited by BobC; 05-10-2013 at 08:04 AM. |
|
|
|
|
|
#15 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2013
Device: Kindle Fire HD
|
Thanks guys, great stuff
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Formatting fonts in Sigil | EditorOne | Sigil | 8 | 03-20-2016 08:48 AM |
| Fonts echous with Sigil ! | morad7 | Sigil | 6 | 03-06-2012 10:45 AM |
| Sigil & Embedded Fonts | Danger | Sigil | 3 | 12-18-2010 10:57 PM |
| Embedding fonts with Sigil? | MacEachaidh | Sigil | 4 | 08-20-2010 08:16 AM |
| Embedding fonts with Sigil and Calibre | JaneFancher | Calibre | 1 | 04-09-2010 01:35 AM |