Quote:
Originally Posted by regul8or
Do I need fonts to be embedded to the book if reader already flashed with unicode fonts with cyrillics?
|
Actually yes. The reason for this is that PRS-505 has two sets of fonts. On set is used natively by the device for it's LRF format. However epub software uses it's own fonts. So when you flash the device you change only fonts used for LRF.
To overcome this limitation you can do 2 things:
1. Embed Cyrillic fonts in epub
2. Point in css of epub to use device's LRF fonts
Here is an example:
Code:
@font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)}
@font-face {font-family: "sans-serif1";src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf)}
body{font-family: serif1, serif}
p {font-family: serif1, serif}
h1 {font-family: sans-serif1, sans-serif}
You can see that apart from specifying the new fonts I also add the default ones. This is just in case you use epub on some other device so it can fallback to default fonts in case of need. Otherwise reader might crash.
As a side note I can say that by pointing epub to use LRF fonts you are tying
the book to specific kind of device which may or may not be good for you. It is something you should have in mind when deciding how to prepare your ebooks.