Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2012, 09:38 PM   #1
EditorOne
Jus' Learnin'
EditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toys
 
Posts: 19
Karma: 5618
Join Date: Apr 2012
Location: Tucson, AZ
Device: none
Formatting fonts in Sigil

I seem to be only able to use the Sigil default font--a non-serif that looks like Arial. The Book Browser shows a Font folder, but I have yet to figure out how to add a usable font to it. Because Windows Vista will not let me access the Fonts Folder (even though everyone who uses this computer has permissions), I downloaded some new fonts that I did not add to the System Fonts folder. Adding them to the Book Browser fonts folder has done nothing. Nothing in the Sigil menu changes when fonts are added to the folder, so HOW do you tell Sigil to reformat any text into the selected font family in the folder????

Is it necessary then, to only upload documents to Sigil that have fonts embedded in them? I've tried that, but Sigil always changes them to unformatted text . . . That includes uploading from Word and from InDesign.

With Sigil, are we limited to their default formatting options? No possibility to provide headings and chapter titles in an alternate font size and style?
EditorOne is offline   Reply With Quote
Old 04-17-2012, 02:50 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 2,861
Karma: 2714881
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
You can use different fonts in Sigil. The fonts folder in Sigil has nothing to do with the fonts folder of Vista. It is a folder within the ePUB.

In short, the procedure is as follows:
1. Upload the font you need in Sigil. It will appear in the fonts folder in Sigil.
2. Create in your stylesheet the definitions of the font via the @font-face class
3. Define in your stylesheet that the font is used for example in headers

Step 1 is simple. The other steps are defined at various steps here already if you search. A nice description is at the site of Liz Castro.

You can do almost everything within Sigil with regards to fonts and styles via stylesheets. However, you must use Code View and do it yourself via CSS and XHTML. Bookview is very limited in functionality and will not allow you to change fonts and alike.
Toxaris is offline   Reply With Quote
 
Enthusiast
Old 04-17-2012, 05:11 PM   #3
EditorOne
Jus' Learnin'
EditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toysEditorOne shares his or her toys
 
Posts: 19
Karma: 5618
Join Date: Apr 2012
Location: Tucson, AZ
Device: none
Thanks for your speedy response. I think my learning curve is still pretty steep as I'm not really very good with CSS so I'll have to figure out how to do the style sheet. I think I did manage to upload a font to Sigil, but then I didn't know what to do with it. Thanks for the link to Liz Castro. That will help.
EditorOne is offline   Reply With Quote
Old 04-18-2012, 02:12 AM   #4
huebi
Zealot
huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!huebi , Klaatu Barada Niktu!
 
Posts: 121
Karma: 5070
Join Date: Dec 2010
Device: none
Its the same with an image. Appending an image to the ePub with Sigil does not show the image at all - whereas it is still in the ePub. You have to use it somewhere in your (x)html files to be shown up. Same with fonts - adding them does not change anything at all. You have to use them in your CSS. Basic knowledge in XHTML and CSS is necessary for creating books with Sigil.
huebi is offline   Reply With Quote
Old 04-18-2012, 02:34 AM   #5
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: 1,403
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Hi

Embedded fonts are usually introduced in CSS stylesheets by a @font-face declaration.

I would like to stress a point that may confuse some beginner. Sigil ask you to be consistent: be careful to write the font family names on other parts of your stylesheet exactly in the same way as in your font-face declaration. This concerns single quotes.

Single quotes are not compulsory for fonts with a one word name like Arial; or even LibertineOCRegular. You can either use then or not. It's optional.

Times New Roman, on the other hand is a font name which includes two whitespaces and which must be written between quotes. It's compulsory.

But, if you use single quotes in one place for a font name, use single quotes everywhere. Sigil cares for consistency. You can't really complain about it but you must be aware of it.

http://code.google.com/p/sigil/issues/detail?id=1358

Here above, you'll find an attached EPUB file which has no validation problem either with Epubcheck or FlightCrew. ADE displays the true small capitals, Sigil does not, precisely because of this single quotes discrepancy.

You also can check how it displays on ADE as there, sometimes, can be, for me, unexplained differences.
Have a look at this book for example: http://efele.net/ebooks/livres/000163/index.html
L'homme au masque d'or and download the epub version (not the epub-) and compare Sigil and ADE displays. I would be keen to have some comments on this.

This is an advice.

Last edited by roger64; 04-19-2012 at 01:12 AM. Reason: A lenghtened commentary
roger64 is offline   Reply With Quote
Reply

Tags
bookbrowser, fonts, formatting, sigil

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fonts echous with Sigil ! morad7 Sigil 6 03-06-2012 09:45 AM
Formatting in Sigil Rizphil Sigil 4 02-14-2012 02:39 AM
Sigil Formatting errors? OrganicJerk Sigil 5 02-16-2011 08:06 PM
Can I stop Sigil from inserting sgc formatting commands? ramjet1953 Sigil 4 11-22-2010 11:59 AM
Embedding fonts with Sigil? MacEachaidh Sigil 4 08-20-2010 07:16 AM


All times are GMT -4. The time now is 04:36 PM.


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