How to embed fonts into your ebook with Sigil

I made a video about some higher level issues, including what to do with DropCaps, pictures and embedded fonts after you’ve converted from Word (or other software) to ebook.

Most mainstream publishers don’t embed fonts, because it makes the ebook bulkier and less easy to predict – it’s safer and easier to make a simple, lightweight ebook that just displays the text cleanly with no fancy stuff.

Actually, little considerations like not indenting the first paragraph, having line breaks between paragraphs and no indents, or starting paragraphs with a bigger letter are all possible, but not actually a big deal (they won’t make a big impression on readers, who see past those things and just read the book). So if in doubt, stay safe, don’t embed fonts, keep everything super simple.

 

 

But if you want to embed fonts in your ebook, here’s a guide to using Sigil in order to do it right.

You’ll need this bit of code for your stylesheet, to add each unique font:

@font-face {

font-family: “LHF Larcher Roman”;

font-weight: normal;

font-style: normal;

src: url(‘../Fonts/Larcher.ttf’);

Then you’ll need to upload the fonts into your ebook; then your paragraph style needs to “call” the font, like this:

.block_1 {

color: black;

display: block;

font-family: “LHF Larcher Roman”, serif;

font-size: 2em;

letter-spacing: 5pt;

line-height: 0.9;

page-break-after: avoid;

text-align: center;

text-indent: 0;

padding: 0;

margin: 0

}

About The Author

Derek Murphy

I'm a location independent book designer (and book marketing genius) working on my PhD in Literature and shopping for a castle to use as a writer's paradise. I write non-fiction and YA.

Leave A Response


Fatal error: Uncaught ArgumentCountError: Too few arguments to function Jetpack_Subscriptions::comment_subscribe_init(), 1 passed in /home/customer/www/diybookformats.com/public_html/wp-includes/class-wp-hook.php on line 303 and exactly 2 expected in /home/customer/www/diybookformats.com/public_html/wp-content/plugins/jetpack/modules/subscriptions.php:703 Stack trace: #0 /home/customer/www/diybookformats.com/public_html/wp-includes/class-wp-hook.php(303): Jetpack_Subscriptions->comment_subscribe_init('') #1 /home/customer/www/diybookformats.com/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array) #2 /home/customer/www/diybookformats.com/public_html/wp-content/themes/optimizePressTheme/themes/3/comments.php(97): apply_filters('comment_form_su...', '') #3 /home/customer/www/diybookformats.com/public_html/wp-content/themes/optimizePressTheme/comments.php(1): include_once('/home/customer/...') #4 /home/customer/www/diybookformats.com/public_html/wp-includes/comment-template.php(1554): require('/home/cust in /home/customer/www/diybookformats.com/public_html/wp-content/plugins/jetpack/modules/subscriptions.php on line 703