Quote:
Originally Posted by Hitch
You're embedding that font, right? Can you show us the CSS?
Hitch
|
The eBook is a one that's ePub 2. I edited it and then use Kindlegen to convert. I then used Kindleunpack to split the KF8/Mobi and used Calibre to side load the KF8. This is using a PW3 with firmware 5.8.11.
Here is the full CSS.
Code:
@font-face {
font-family: "EurostileLTStd";
src: url(../fonts/EurostileLTStd-Oblique.otf);
font-style: italic;
font-weight: normal;
}
@font-face {
font-family: "EurostileLTStd";
src: url(../fonts/EurostileLTStd.otf);
font-style: normal;
font-weight: normal;
}
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
text-align: justify;
}
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em;
}
.copy {
font-size: 0.9em;
margin-top: 0;
margin-bottom: 0;
text-indent: 0;
}
.copya {
font-size: small;
margin-top: 0.8em;
margin-bottom: 0.2em;
text-indent: 0;
}
.copyb {
font-size: small;
margin-top: 0;
margin-bottom: 0.8em;
text-indent: 0;
}
.ded {
margin-top: 4em;
margin-bottom: 0;
margin-left: 1.8em;
margin-right: 1.8em;
text-align: center;
text-indent: 0;
}
.epi1 {
margin-top: 4em;
margin-bottom: 1em;
margin-left: 1.8em;
margin-right: 1.8em;
text-indent: 0;
}
.epi2 {
margin-top: 0;
margin-bottom: 0;
margin-left: 1.8em;
margin-right: 1.8em;
text-align: right;
text-indent: 0;
}
.f1 {
font-family: "EurostileLTStd";
}
.h2a {
font-family: "EurostileLTStd";
font-size: 1.5em;
font-weight: normal;
margin-top: 0.8em;
margin-bottom: 0.8em;
page-break-after: avoid;
text-align: center;
text-indent: 0;
}
.h2c {
font-family: "EurostileLTStd";
font-size: 1.1em;
font-weight: normal;
margin-top: 0.8em;
margin-bottom: 0.8em;
page-break-after: avoid;
text-align: center;
text-indent: 0;
}
.h2chap {
font-family: "EurostileLTStd";
font-size: 1.6em;
font-weight: normal;
color: #777;
margin-top: 4em;
margin-bottom: 1.5em;
page-break-after: avoid;
text-align: center;
text-indent: 0;
}
.h2sub {
font-family: "EurostileLTStd";
font-size: 2em;
font-weight: normal;
margin-top: 0;
margin-bottom: 0;
page-break-after: avoid;
text-align: center;
text-indent: 0;
}
.imagefp {
margin: 0;
height: 100%;
text-align: center;
text-indent: 0;
}
.ipadfp {
margin: 0;
height: 100%;
text-align: center;
text-indent: 0;
}
.noindent {
margin-top: 0;
margin-bottom: 0;
text-indent: 0;
}
.noindentq {
margin-top: 1.8em;
margin-bottom: 0;
text-indent: 0;
}
.secbreak {
margin-top: 1em;
margin-bottom: 1em;
text-align: center;
text-indent: 0;
}
.stickup {
font-family: "EurostileLTStd";
font-size: 2em;
line-height: 0;
}
span.smallcaps {
font-size: 0.75em;
}
span.txit {
font-style: italic;
}
Here is the code from the book from the top of the file to the end of the paragraph that has the span.
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Original Sin</title>
<link href="../styles/9781501133244.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h2 class="h2c">Gamma Quadrant, 2386</h2>
<p class="noindent"><span class="stickup">T</span>he <i>Galaxy</i>-class starship jolted hard, as though it had slammed into something while soaring through the Gamma Quadrant. A tremendous roar filled the <i>Robinson</i> bridge as the impact hurled Captain Benjamin Sisko from the command chair. The deck canted beneath him and he flew over the operations console. Pain flared in his knee as it struck the back of Commander Gwendolyn Plante’s head. He landed in front of the main viewscreen, trying to cushion his fall with his outstretched hands. Agony sliced through Sisko’s right wrist as it gave way. He heard the snap of a bone not through his ears, but inside his body. Instantly nauseated, Sisko ignored both the feeling and his injury.</p>
<p>“Status report,” he called out. <span class="f1">The captain had to raise his voice to be heard above the shrill quaver of the automated shipwide alert that blared on and off in time with visual signals flashing red.</span> The ruddy tint of emergency lighting suffused the bridge.</p>