View Single Post
Old 12-14-2009, 01:39 PM   #193
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Hi Laurentiu,

I tried your rtf fragment - converted to epub using Calibre and transferred to my PRS-505. It seems to display fine (not that I can read Romanian, you understand!). So it's just a matter of figuring out what's going wrong.

Given you have posted in this thread I assume you have read it and correctly copied your desired fonts into a newly created fonts directory on the PRS-600.

These are the steps I followed. My example uses the Georgia font-family rather than the Bookman in your sample rtf because I don't have Bookman on my reader.

1. Load rtf into MSWord and File/Save-as Web-filtered format to get an HTML version.

2. Edit the HTML in a text editor and remove all the style info - everything between <style> ... </style>. This step may not be necessary but it simplifies the HTML for the purpose of troubleshooting.

3. Import the HTML into Calibre.

4. Convert to epub using the following CSS in the Look-and-Feel/Extra-CSS box:-

@font-face {
font-family: "Georgia";font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/georgia.ttf);
}
@font-face {
font-family: "Georgia";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/georgiai.ttf);
}
@font-face {
font-family: "Georgia";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/georgiab.ttf);
}
@font-face {
font-family: "Georgia";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/georgiaz.ttf);
}
body {font-family: "Georgia", serif; line-height:120%; }

5. Transfer epub to reader using Calibre and admire pretty results without understanding a word.

I've attached my zipped-up HTML file in case it's any use.

Good luck!
Attached Files
File Type: zip Frag.zip (734 Bytes, 462 views)
jackie_w is offline   Reply With Quote