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 Yesterday, 10:38 AM   #1
porcupine59
Member
porcupine59 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2023
Location: OHIO USA
Device: Kobo Clara HD
importing specialized fonts

I'm fairly new to Sigil, though pretty comfortable with CSS and HTML.

My question: Is it a relatively simple matter to import fonts and associate them with an epub file?

I'm specifically asking because I'm reading a book about Old English, and my ereader (Kobo Clara HD) tells me that it doesn't really have all the fonts it needs to do the complete job right.

I'd consider learning out to do it if it's relatively simple, but since this is the only book I'll probably ever read that will need those fonts, I'm not up for spending four hours trying to figure it out.

Guess I'm just looking for a quick take----pretty easy, or a pain in the butt. Thanks for any thoughts.
porcupine59 is offline   Reply With Quote
Old Yesterday, 10:47 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,176
Karma: 6565382
Join Date: Nov 2009
Device: many
Importing the font file into Sigil is just like importing any other file. Simply use Add Existing. The issue is then creating the CSS to use the font and then using that css in the right places.

There is a very nice plugin that handles the proper CSS creation:

It can be found here in our Plugin Index:

https://www.mobileread.com/forums/sh...0&postcount=17

The font file itself should be an otf or ttf font file (as Windows has issues with some lesser used font file types). And of course, if you are going to publish your epub, you must have the license/permission to use that font commercially or use an open source font file that has no restrictions on redistribution.

Sigil will also allow you to obfuscate your font for its protection, and there are plugins to strip down the font file to just the set of characters actually used in the book to both limit file size and to again help protect the font from being stolen or misused by limiting the text it can be used on.

Last edited by KevinH; Yesterday at 10:52 AM.
KevinH is offline   Reply With Quote
Advert
Old Yesterday, 11:02 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,770
Karma: 24088595
Join Date: Dec 2010
Device: Kindle PW2
@porcupine59 lf you haven't already done so, you might want to download the official Sigil User Guide.
Then read the Include Custom Fonts tutorial. If your book was properly encoded, the Junicode font should work.
You probably only need to embed the usual 4 default fonts.

Junicode-Regular.otf
Junicode-Bold.otf
Junicode-Italic.otf
Junicode-BoldItalic.otf

Last edited by Doitsu; Yesterday at 11:15 AM.
Doitsu is offline   Reply With Quote
Old Yesterday, 11:30 AM   #4
porcupine59
Member
porcupine59 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2023
Location: OHIO USA
Device: Kobo Clara HD
Thank you KevinH and Doitsu for the great information. I will follow your leads and give it a go. It sounds pretty do-able. I appreciate the help.
porcupine59 is offline   Reply With Quote
Old Yesterday, 12:45 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,176
Karma: 6565382
Join Date: Nov 2009
Device: many
Be aware that in some e-readers, you have to turn on or enable "publisher" fonts in the e-reader's settings so that the e-reader will not default to only using its internal fonts.
KevinH is offline   Reply With Quote
Advert
Old Yesterday, 05:07 PM   #6
porcupine59
Member
porcupine59 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2023
Location: OHIO USA
Device: Kobo Clara HD
Noted, Kevin. Thanks again.
porcupine59 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Implementing large, specialized dictionary two_wheels ePub 5 09-14-2016 02:06 PM
Importing custom fonts doesn't work in Marvin 3.0 Spfamy1 Marvin 4 08-17-2016 08:27 PM
making a specialized search for Kindle jonalbert Kindle Formats 1 01-13-2011 04:19 PM
All-round device,or specialized E-book? dream88 General Discussions 32 05-23-2010 11:52 PM
Even more specialized than ereaders : the wikireader sebastienbillard News 43 10-15-2009 01:49 PM


All times are GMT -4. The time now is 05:36 AM.


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