Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-26-2013, 11:08 AM   #1
JamieS
Junior Member
JamieS began at the beginning.
 
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
JamieS is offline   Reply With Quote
Old 04-26-2013, 11:30 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,798
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JamieS View Post
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
You may not need to include fonts for things to work.
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
theducks is online now   Reply With Quote
Advert
Old 04-26-2013, 03:44 PM   #3
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
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.
mrmikel is offline   Reply With Quote
Old 04-27-2013, 02:13 PM   #4
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by JamieS View Post
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.
If you're preparing an ebook, stylesheets are your friend! I strongly suggest you GET some experience with them! Otherwise you'll be including manual code for e.g. every occurance of an un-indented first paragraph. And for every change of font. Messy and laborious.

Just about every reader device has a default serif font and a sans-serif one. Will these do as your two fonts?
exaltedwombat is offline   Reply With Quote
Old 04-27-2013, 02:17 PM   #5
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by mrmikel View Post
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.
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.
exaltedwombat is offline   Reply With Quote
Advert
Old 04-27-2013, 09:26 PM   #6
teh603
Autism Spectrum Disorder
teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.teh603 ought to be getting tired of karma fortunes by now.
 
teh603's Avatar
 
Posts: 1,212
Karma: 6244877
Join Date: Sep 2011
Location: Coastal Texas
Device: Android Phone
Quote:
Originally Posted by exaltedwombat View Post
If you're preparing an ebook, stylesheets are your friend! I strongly suggest you GET some experience with them! Otherwise you'll be including manual code for e.g. every occurance of an un-indented first paragraph. And for every change of font. Messy and laborious.
Agreed. If you're like me and don't use CSS very often, bookmark a CSS reference website and use it when you're making that stylesheet. It'll save you a ton of headache later on.

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:
Just about every reader device has a default serif font and a sans-serif one. Will these do as your two fonts?
I always embed two- a serif text font and a title/heading one. Both FOSS and licensed for commercial use.
teh603 is offline   Reply With Quote
Old 04-28-2013, 04:28 AM   #7
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by teh603 View Post
I always embed two- a serif text font and a title/heading one.
Why? What's wrong with the device's default serif text font? It will have been carefully selected for readability.
exaltedwombat is offline   Reply With Quote
Old 04-28-2013, 04:46 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
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
Jellby is offline   Reply With Quote
Old 04-28-2013, 11:45 AM   #9
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
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 11:50 AM.
roger64 is offline   Reply With Quote
Old 04-28-2013, 08:24 PM   #10
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by JamieS View Post
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

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
Hitch is offline   Reply With Quote
Old 04-29-2013, 11:55 AM   #11
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 907
Karma: 1803094
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Nxtpaper 11
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.
DrChiper is offline   Reply With Quote
Old 05-03-2013, 03:39 AM   #12
JamieS
Junior Member
JamieS began at the beginning.
 
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:
Agreed. If you're like me and don't use CSS very often, bookmark a CSS reference website and use it when you're making that stylesheet. It'll save you a ton of headache later on.
Can you suggest a CSS reference website you like in particular?

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
JamieS is offline   Reply With Quote
Old 05-04-2013, 07:34 PM   #13
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
DaleDe is offline   Reply With Quote
Old 05-10-2013, 07:00 AM   #14
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
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;
}
Here the reader should use Georgia for normal text but if it isn't there it should use a generic serif font. For headers its Arial then a generic sans-serif font.

BobC

Last edited by BobC; 05-10-2013 at 07:04 AM.
BobC is offline   Reply With Quote
Old 05-17-2013, 02:57 AM   #15
JamieS
Junior Member
JamieS began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2013
Device: Kindle Fire HD
Thanks guys, great stuff
JamieS is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting fonts in Sigil EditorOne Sigil 8 03-20-2016 07:48 AM
Fonts echous with Sigil ! morad7 Sigil 6 03-06-2012 09:45 AM
Sigil & Embedded Fonts Danger Sigil 3 12-18-2010 09:57 PM
Embedding fonts with Sigil? MacEachaidh Sigil 4 08-20-2010 07:16 AM
Embedding fonts with Sigil and Calibre JaneFancher Calibre 1 04-09-2010 12:35 AM


All times are GMT -4. The time now is 06:01 PM.


MobileRead.com is a privately owned, operated and funded community.