Thread: PRS-T1 does prs-t1 support it?
View Single Post
Old 12-27-2011, 03:12 PM   #6
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
Quote:
Originally Posted by kivsha View Post
Thanks alot!

I attach a TXT and PDF, with an image of how it is supposed to be.
These formats matter to me. leave epub for now.
(I made these texts myself, so it is not copyrighted)
I was able to save the TXT with UTF-8 encoding such that Hebrew characters were visible on my PC. However, once transferred to the T1 none of the 7 font options would display the TXT correctly.

The T1 does have a built-in Hebrew font (which isn't selectable using the T1 font selection options) so I converted the TXT to EPUB using Calibre and added some css code to
  • reference the T1's Hebrew font
    Code:
    @font-face {font-family: serif, sans-serif, monospace;  src: url(res:///ebook/fonts/DroidSansHebrew.ttf)}
  • display right-to-left
    Code:
    body {direction: rtl}

The results were mixed. The epub displays OK (I think) on the PC in the Calibre Viewer. I've attached the epub so you can check for yourself.

Unfortunately, once transferred to the T1 the standard epub application displays the Hebrew characters but unfortunately it displays them left-to-right not right-to-left (see attached). Not having any experience of RTL languages I don't know whether there is a trick to getting this to work properly.

Alternatively, it's possible that a different Android epub reading app (FBReader or CoolReader) would read the epub correctly. My T1 has not been rooted so I'm afraid I can't check for you
Attached Thumbnails
Click image for larger version

Name:	Heb_epub.jpg
Views:	249
Size:	33.4 KB
ID:	80453  
Attached Files
File Type: epub Heb_from_utf8txt.epub (2.4 KB, 293 views)
jackie_w is offline   Reply With Quote