View Single Post
Old 11-06-2011, 11:14 AM   #1
baliantas
Junior Member
baliantas began at the beginning.
 
baliantas's Avatar
 
Posts: 9
Karma: 10
Join Date: Feb 2011
Device: Sony PRS-350
Question PRS-350 only partially displays embedded font

Hello,

I've created an epub in Sigil (0.4.2) where I use an embedded font. This works just fine in ADE (and in Sigil 'Book View'), but on my PRS-350 (running PRS+ 2.0.14), the headers (h1 tags) are shown in the default font.

The css:
Code:
@font-face {
font-family : "Fontin";
font-weight : normal;
font-style : normal;
src : url(../Fonts/Fontin.ttf);
}

h1 {
font-family : "Fontin", serif;
font-size : 2.55em;
color : #36292c;
text-align : center;
}

p {
font-size : 0.75em;
}

.fntn {
font-family : "Fontin", serif;
font-size : 1.55em;
text-align : center;
}
Relevant html code:
Code:
  <h1>Test header</h1>
 <p class="fntn">Test sub</p>


Could anyone enlighten me on what's going on here? Thanks...
Attached Files
File Type: epub type - Unknown.epub (24.5 KB, 295 views)
baliantas is offline   Reply With Quote