Thread: PRS-T1
View Single Post
Old 11-09-2018, 02:49 AM   #7
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
Quote:
Originally Posted by PatGIV View Post
where is that in calibre? I'd like to learn that trick!
Calibre IS a software to convert ebooks from one format into another.
So learning that trick means to learn how to use calibre.

There is no need to convert an epub with calibre to make it work on a Sony. If the epub passes the tests, then it will be displayed on a sony more or less as intended.

Changing the fonts and margins and stuff can be better done in the main .CSS file of the book (just replace margin and font-family with the desired values). It is advisable to run a test F7 and let calibre correct the font names by itself to prevent some errors on picky ereaders. One can see in real-time (preview window) how the book looks like before finishing it - in particular if one uses glyphs outside ASCII and the new font may miss some of these.
Depending on the book, it may be several .CSS files, and if you're lazy, you can add yours at the end mylovelyfontsandmargins.css where you redefine only the font-family of the needed tags and/or the margins:
@page {
margin-bottom: 5pt;
margin-top: 5pt
}
@font-face {
src: url(fonts/MBF.ttf);
font-family: "MyBelovedFont";
font-weight: normal;
font-style: normal;
}
h1, h2, h3, h4, h5, p, body, table, ol, li, ul, th, td {
font-family: "MyBelovedFont";
}
Ghitulescu is offline   Reply With Quote