View Single Post
Old 11-07-2017, 10:34 AM   #1
Russ
Junior Member
Russ began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2005
Device: XDA II
Epub displays normally on Mac, but in all italics on Windows?

Does anyone have any idea about how I can solve an epub which displays normally on Calibre Mac, iBooks (Mac), iBooks (iPad), Kindle etc, but display in all italics on Calibre Windows (8 and 10)?

Sadly I cannot post the book here, but it is markdown via Pandoc and looks good elsewhere, any pointer appreciated.

It uses custom fonts and the CSS (snippet below) looks OK.

Code:
@font-face {
  font-family: "Vollkorn-SemiBold";
  src: url("../fonts/Vollkorn-SemiBold.ttf");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Vollkorn-Italic";
  src: url("../fonts/Vollkorn-Italic.ttf");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Vollkorn-Regular";
  src: url("../fonts/Vollkorn-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

body{
  font-family: "Vollkorn-Regular";
  font-size: 0.9em;
  line-height: 1.3;
}

h1, h2, h3, h4, h5, h6,  {
  font-family: "Vollkorn-SemiBold";
  margin-top: 2em;

b, strong {
  font-family: "Vollkorn-SemiBold";
}

em, cite {
  font-family: "Vollkorn-Italic";
}
.....
Russ is offline   Reply With Quote