View Single Post
Old 04-17-2009, 03:25 AM   #108
pubolab
Member
pubolab began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2008
Device: CASIO pocket viewer S1600, Sony PRS-505 and Cybook Gen 3
Quote:
Originally Posted by kiklop74 View Post
That is a known feature of epub format on sony reader. Sony reader uses different fonts for displaying epub files than LRF files. You need to set epub files to use LRF fonts.

To do that in news recipe add this line to it:

Code:
    extra_css = '@font-face @font-face {font-family: "serif1";src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf)} body{font-family: serif1, serif} .article_description{font-family: serif1, serif} p{font-family: serif1, serif}'

There are some difference now. The main menu page still remains '?', while the section menu page have garbage characters. Jumping to the article page will reboot the device.

Looks like calibre did not do GB2312 to UTF8 conversion.

Is there a complete reference manual of the recipe syntax and commands?
pubolab is offline