Hi Toxaris,
I'm currently editing some ebooks for personal use (I can't upload them as the copyright hasn't quite expired yet) and tried using your epub optimizer to subset the fonts. I ended up with really weird results. It seems as if the plugin removed some letters that were actually used in the book. Here are screenshots:
Before:
After:
Css:
Code:
@font-face {
font-family: "Small Caps";
font-variant: small-caps;
src: url("../Fonts/SmallCaps.ttf") format("truetype");
}
h1 {
font-family: "Small Caps";
font-variant: small-caps;
text-align: center;
font-size: 1.6em;
}
li {
font-family: "Small Caps";
padding: 0px;
font-size: 0.9em;
margin-top: 0px;
}
ol {
font-family: "Small Caps";
font-variant: small-caps;
padding: 0px;
font-size: 1.2em;
margin-top: 0px;
text-indent: 1.2em;
text-align: justify;
}
HTML:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en" xml:lang="en">
<head>
<meta charset="utf-8"/>
<style type="text/css">
nav#landmarks, nav#page-list { display:none; }
ol { list-style-type: none; }
</style>
<title></title>
<link href="../Styles/Style0001.css" type="text/css" rel="stylesheet"/>
</head>
<body epub:type="frontmatter">
<nav epub:type="toc" id="toc">
<h1>Table of Contents</h1>
<ol>
<li>
<a href="../Text/A%20Word%20in%20Advance.xhtml">A Word in Advance</a>
</li>
<li>
<a href="../Text/A%20Test%20of%20Nerve.xhtml">A Test of Nerve</a>
</li>
<li>
<a href="../Text/A%20Chapter%20of%20Adventures.xhtml">A Chapter of Adventures</a>
</li>
<li>
<a href="../Text/More%20Trouble.xhtml">More Trouble</a>
</li>
<li>
<a href="../Text/Death%20in%20the%20Water.xhtml">Death in the Water</a>
</li>
<li>
<a href="../Text/The%20Big%20Bad%20Bear.xhtml">The Big Bad Bear</a>
</li>
<li>
<a href="../Text/The%20One%20That%20Got%20Away.xhtml">The One That Got Away</a>
</li>
<li>
<a href="../Text/A%20Sort%20of%20Education.xhtml">A Sort of Education</a>
</li>
<li>
<a href="../Text/Living%20Dangerously.xhtml">Living Dangerously</a>
</li>
<li>
<a href="../Text/The%20Thugs.xhtml">The Thugs</a>
</li>
<li>
<a href="../Text/The%20Black%20Intruder.xhtml">The Black Intruder</a>
</li>
<li>
<a href="../Text/A%20Professor%20Learns%20a%20Lesson.xhtml">A Professor Learns a Lesson</a>
</li>
<li>
<a href="../Text/The%20Foolish%20Tiger.xhtml">The Foolish Tiger</a>
</li>
<li>
<a href="../Text/The%20Last%20Adventure.xhtml">The Last Adventure</a>
</li>
<li>
<a href="../Text/In%20Conclusion.xhtml">In Conclusion</a>
</li>
<li>
<a href="../Text/Notes.xhtml">Notes</a>
</li>
</ol>
</nav>
</body>
</html>