Thread: Glo Fonts
View Single Post
Old 01-23-2013, 10:52 AM   #1
sunny1z
Enthusiast
sunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura aboutsunny1z has a spectacular aura about
 
Posts: 33
Karma: 4350
Join Date: Jan 2013
Device: Kobo Glo
Fonts

Hello,

in a previous post , where i wrote that an epub did not allow me to modify the font, someone advised me to delete certain hardcoded font styles, because the kobo did not know how to handle them.

So in another epub (using Sigil) I see the following lines. Now I'm wondering, with the KOBO should I check every epub for hardcoded fonts.. and delete them by using Sigil? Or are there other options?

so for this one.... is it gonna be the same problem in the KOBO?

in an page_styles.css

@page {
margin-bottom: 5pt;
margin-top: 5pt
}
@font-face {
font-family: "schreef";
src: url(../Fonts/ACaslonPro-Regular.otf)
}
@font-face {
font-family: "schreefI";
src: url(../Fonts/ACaslonPro-Italic.otf)
}
@font-face {
font-family: "schreefB";
src: url(../Fonts/ACaslonPro-Semibold.otf)
}
@font-face {
font-family: "schreefBI";
src: url(../Fonts/ACaslonPro-SemiboldItalic.otf)
}
@font-face {
font-family: "wpgSC";
src: url(../Fonts/ACaslonPro-SC.otf)
}


In the stylesheet.css, I see the lines:

.Basistabel {
border-collapse: separate;
border-spacing: 2px;
display: table;
margin-bottom: 0;
margin-top: 0;
text-indent: 0
}
.calibre {
display: block;
font-size: 1em;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0
}
.calibre1 {
color: black;
display: block;
font-family: "schreef", Serif; font-size: 1em;
font-style: normal;
font-weight: normal;
line-height: 1.25em;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
margin-top: 0;
text-align: left


.wpt-cursief {
font-family: "schreefI" }
.wpt-kleinkap {
font-family: "wpgSC" }
.wpt-vet {
font-family: "schreefB" }
.wpt-vet1 {
font-family: "schreefB"; line-height: 1.2
}
sunny1z is offline   Reply With Quote