ok finally got it to work, with the path from prs+'s override css (which didn't really do the trick for any of my epubs when activated from the settings menu). but adding the references to the pubs did the trick, so here it goes:
pages_styles.css
Code:
@page {
margin-bottom: 5pt;
margin-top: 5pt
}
@font-face {
font-family: "myfont";
src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf);
}
@font-face {
font-family: "myotherfont";
src: url(res:///opt/sony/ebook/FONT/tt0003m_.ttf)
}
@font-face {
font-family: "mythirdfont";
src:url(res:///opt/sony/ebook/FONT/tt0419m_.ttf);
}
stylesheet.css:
Code:
.calibre {
display: block;
font-family: "myfont";
font-size: 1em;
padding-left: 0;
padding-right: 0;
margin: 0 0pt
}
.calibre1 {
display: block;
font-family: "myotherfont";
font-size: 1em;
padding-left: 0;
padding-right: 0;
margin: 0 0pt
}
.calibre2 {
display: block;
font-family: "mythirdfont";
font-size: 1em;
padding-left: 0;
padding-right: 0;
margin: 0 0pt
}
start.xhtml:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Teszteree</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<p class="calibre">árvíztűrő tükörfúrógép</p>
<p class="calibre1">árvíztűrő tükörfúrógép</p>
<p class="calibre2">árvíztűrő tükörfúrógép</p>
</body>
</html>