{"id":1042,"date":"2015-08-19T01:34:42","date_gmt":"2015-08-19T01:34:42","guid":{"rendered":"http:\/\/www.diybookformats.com\/?p=1042"},"modified":"2023-05-24T03:38:43","modified_gmt":"2023-05-24T03:38:43","slug":"embed-fonts-ebook-sigil","status":"publish","type":"post","link":"https:\/\/diybookformats.com\/embed-fonts-ebook-sigil\/","title":{"rendered":"How to embed fonts into your ebook with Sigil"},"content":{"rendered":"<p>I made a video about some higher level issues, including what to do with DropCaps, pictures and embedded fonts after you&#8217;ve converted from Word (or other software) to ebook.<\/p>\n<p>Most mainstream publishers don&#8217;t embed fonts, because it makes the ebook bulkier and less easy to predict &#8211; it&#8217;s safer and easier to make a simple, lightweight ebook that just displays the text cleanly with no fancy stuff.<\/p>\n<p>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&#8217;t make a big impression on readers, who see past those things and just read the book). So if in doubt, stay safe, don&#8217;t embed fonts, keep everything super simple.<\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/gssGVOhXxpY\" width=\"640\" height=\"360\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>But if you want to embed fonts in your ebook, here&#8217;s a guide to using Sigil in order to do it right.<\/p>\n<blockquote><p>You&#8217;ll need this bit of code for your stylesheet, to add each unique font:<\/p>\n<p>@font-face {<\/p>\n<p>font-family: &#8220;LHF Larcher Roman&#8221;;<\/p>\n<p>font-weight: normal;<\/p>\n<p>font-style: normal;<\/p>\n<p>src: url(&#8216;..\/Fonts\/Larcher.ttf&#8217;);<\/p><\/blockquote>\n<p>Then you&#8217;ll need to upload the fonts into your ebook; then your paragraph style needs to &#8220;call&#8221; the font, like this:<\/p>\n<blockquote><p>.block_1 {<\/p>\n<p>color: black;<\/p>\n<p>display: block;<\/p>\n<p>font-family: &#8220;LHF Larcher Roman&#8221;, serif;<\/p>\n<p>font-size: 2em;<\/p>\n<p>letter-spacing: 5pt;<\/p>\n<p>line-height: 0.9;<\/p>\n<p>page-break-after: avoid;<\/p>\n<p>text-align: center;<\/p>\n<p>text-indent: 0;<\/p>\n<p>padding: 0;<\/p>\n<p>margin: 0<\/p>\n<p>}<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>This is not the same as embedding fonts in your Word Manuscript &#8211; which you can do before you save as a PDF (Kindle doesn&#8217;t seem to care about this, but IngramSpark is pickier so you might run into the issue).<\/p>\n<p>For ebooks, you can basically choose a handful of standard fonts, but readers can set them according to their own style preferences. If you really need a custom font for a chapter heading (to match your book cover design) you might consider saving chapter heading images for each of your chapters and using them instead of text. It&#8217;s a little clunky but it can work great.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I made a video about some higher level issues, including what to do with DropCaps, pictures and embedded fonts after you&#8217;ve converted from Word (or other software) to ebook. Most mainstream publishers don&#8217;t embed fonts, because it makes the ebook bulkier and less easy to predict &#8211; it&#8217;s safer and easier to make a simple, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2500,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[13,8,14],"class_list":["post-1042","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-book-formatting","tag-adding-fonts","tag-ebook-formatting","tag-embed-fonts-to-ebook"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/diybookformats.com\/wp-content\/uploads\/2023\/05\/dxobxpia9_4.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4qNdl-gO","_links":{"self":[{"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/posts\/1042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/comments?post=1042"}],"version-history":[{"count":3,"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/posts\/1042\/revisions"}],"predecessor-version":[{"id":2502,"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/posts\/1042\/revisions\/2502"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/media\/2500"}],"wp:attachment":[{"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/media?parent=1042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/categories?post=1042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diybookformats.com\/wp-json\/wp\/v2\/tags?post=1042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}