Entire CSS*:
Code:
@font-face {
font-family: "EB Garamond RG";
src: url('. $adres_czcionek. $nazwa_czcionki. '-Regular.ttf);
}
@font-face {
font-family: "EB Garamond RG";
src: url('. $adres_czcionek. $nazwa_czcionki. '-Bold.ttf);
font-weight: bold;
}
@font-face {
font-family: "EB Garamond RG";
src: url('. $adres_czcionek. $nazwa_czcionki. '-Italic.ttf);
font-style: italic;
}
@font-face {
font-family: "EB Garamond RG";
src: url('. $adres_czcionek. $nazwa_czcionki. '-Bold-Italic.ttf);
font-style: italic;
font-weight: bold;
}
body {
font-family: "EB Garamond RG";
}
.pre-styl {
page-break-inside: avoid;
vertical-align: middle;
font-size: 30%;
line-height: 30%;
}
*replace $adres_czcionek. $nazwa_czcionki with font adress and name.
Yes, i do belive that i do not want line-height at 30%, it works for epub at 70%, but i just wanted to make sure it is not working.