ok thanks - the 2 readers I own - sony & kindle both substitute their own fonts for what is specified in epub/mobi code, so a book typically looks fine on an actual reader, but when I go to edit it in sigil then the strange font definitions kick in & affect book view.
the specific book that was bugging me has some strange code in the html pages:
Code:
@page {
margin-bottom: 5pt;
margin-top: 5pt
}
@font-face {
font-style: normal;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Regular.ttf);
font-weight: normal
}
@font-face {
font-style: italic;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Italic.ttf);
font-weight: normal
}
@font-face {
font-style: normal;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Bold.ttf);
font-weight: bold
}
@font-face {
font-style: italic;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-BoldItalic.ttf);
font-weight: bold
}
@font-face {
font-style: italic;
font-family: Font_d3cfbc50-3e39-4d93-b1ef-c468eef0d5b4;
src: url(../fonts/LiberationSerif-Italic.ttf)
.....
<body class="epub">
<div class="calibre">
then it had a epub style defined in the styles sheet which also referenced a font with a long alphanumeric gibberish name which I have now removed
Code:
.epub {
display: block;
**** font name removed from here now ****
font-size: 1em;
line-height: 1.2;
margin-bottom: 0;
margin-left: 5pt;
margin-right: 5pt;
margin-top: 0;
padding-left: 0;
padding-right: 0
}
I have not seen this anywhere else to data.