View Single Post
Old 12-19-2022, 10:01 PM   #1
aknight2015
Junior Member
aknight2015 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2022
Device: Galaxy Tab SM-T500
Changing embeded font in ebook using Sigil 1.9.20

I'm trying to give my ebook a gothic style font. I've got the font. It's been embedded inside the epub file itself. The font is called alagard.ttf.

Code:
/* This defines styles and classes used in the book */
body { margin: 5%; text-align: justify; font-size: medium; background-color: #FCF5E5; }
}
code { font-family: "monospace"; }
h1 { text-align: left; }
h2 { text-align: left; }
h3 { text-align: left; }
h4 { text-align: left; }
h5 { text-align: left; }
h6 { text-align: left; }
h1.title { }
h2.author { }
h3.date { }
nav#toc ol,
nav#landmarks ol { padding: 0; margin-left: 1em; }
nav#toc ol li,
nav#landmarks ol li { list-style-type: none; margin: 0; padding: 0; }
a.footnote-ref { vertical-align: super; }
em, em em em, em em em em em { font-style: italic;}
em em, em em em em { font-style: normal; }
code{ white-space: pre-wrap; }
span.smallcaps{ font-variant: small-caps; }
span.underline{ text-decoration: underline; }
q { quotes: "“" "”" "‘" "’"; }
div.column{ display: inline-block; vertical-align: top; width: 50%; }
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
Additional question is how to increase the image quality inside the epub. When I read it on any screen it's been super compressed so it's very pixelated. How can I change that?
aknight2015 is offline