Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-21-2011, 01:22 PM   #1
diftcsx
Junior Member
diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.
 
Posts: 5
Karma: 9794
Join Date: Nov 2011
Location: NY, USA
Device: Sony PRS-T1
Chinese epub support for PRS-T1 without flashing?

Hello, I'm new to the world of ereaders and to the mobileread forums...

I was wondering if there's a way to make the Sony PRS-T1 support Chinese epubs without flashing the device? I know there's a thread for Unicode support without flashing, but it's based on a different device so I'm not sure if the technical things are the same. Also, I'm hardly tech-savvy, so after reading through the posts I didn't really understand it...

If flashing/hacking the device is a must, then will I still be able to download software updates for the PRS-T1 after it has been hacked?

If anyone could help, that would be great, thanks. =)
diftcsx is offline   Reply With Quote
Old 11-30-2011, 11:47 PM   #2
nosnoop
Enthusiast
nosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavens
 
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
Quote:
Originally Posted by diftcsx View Post
I was wondering if there's a way to make the Sony PRS-T1 support Chinese epubs without flashing the device?
I would also like to hear more experience regarding this.

After lurking in this forum, I gather that one way is to embed the Chinese font into each epub file as jackie_w described here. The advantage is that you don't need to mess with firmware, the downside would be large increase in file size, and the tedious job of embedding each file; as there is no utility which can do batch conversion.

What are the options for Traditional Chinese fonts? I saw DroidSansFallback being mentioned... is it Unicode only? What about Big5? What other fonts in reasonable size are available which renders well in PRS-T1?

The other option would be to root it and use CoolReader.

Quote:
If flashing/hacking the device is a must, then will I still be able to download software updates for the PRS-T1 after it has been hacked?
You should be able to. My question would be whether minimum root needs to be reapplied after update. And you would probably need a new restore package for the new firmware.
nosnoop is offline   Reply With Quote
Advert
Old 12-01-2011, 02:05 AM   #3
ttsddu
Junior Member
ttsddu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2011
Device: PRS-T1
Quote:
Originally Posted by seabee View Post
I finally succeeded for references to any PRS-T1 integrated font !

for exemple:
@font-face {
font-family: MyFont1;
font-weight: normal;
font-style: normal;
src: url(res:///ebook/fonts/FrutigerNeueLTW1G-Regular.otf);
}

Don't need to include a copy of these fonts in each ePUB !
See my previous list of filenames for fonts you can directly reference.
And now that I found this, I know that references outside of the ebook content are possible, only have to find how to reference user-visible integrated and external flash.
I can also stop trying urls that don't begin with res:/// !

My sample reference 6 of the PRS-T1 fonts without embedding them (obviously in 2.3KB) plus a failed reference to a font added to internal flash.

FYI, I already tried res:///ebook/mnt/sdcard (in the sample) and res:///ebook/sdcard as READER root, both failed, will do more tests tomorrow.
Detailed steps:
1. Right click on the book you added in calibre, click "Tweak ePub".
2. Click "Explode ePub", locate and open the .css file by text editor. (e.g. ".\OPS\css\main.css")
3. Change the corresponding font-face block to below.
@font-face {
font-family:"the font family you found using in other blocks, e.g. cnepub, zw";
src:url(res:///ebook/fonts/DroidSansFallback.ttf);
}
4. Save the file, click "Rebuild ePub".
5. Select the book and click "Send to device", or right click on the book, click "Open containing folder" and copy the modified book to your desired location.

Thank you seabee for this exciting solution.
ttsddu is offline   Reply With Quote
Old 12-01-2011, 04:15 AM   #4
nosnoop
Enthusiast
nosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavens
 
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
Quote:
Originally Posted by ttsddu View Post
3. Change the corresponding font-face block to below.
@font-face {
font-family:"the font family you found using in other blocks, e.g. cnepub, zw";
src:url(res:///ebook/fonts/DroidSansFallback.ttf);
}
...
Thanks!! That's great news.
But what about those epubs where there were no font reference or mentioned anywhere in the css files?
What do I need to put in for the "font-family"?

Edit: Success!!
To answer my own question, I put in a font-family in the body { }; not sure if this is necessary or not.

Last edited by nosnoop; 12-01-2011 at 04:44 AM.
nosnoop is offline   Reply With Quote
Old 12-06-2011, 10:39 PM   #5
PaulKenn
Junior Member
PaulKenn began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2011
Device: Sony PRS T1
I bought a Sony PRS T1 (red) recently, hoping to enjoy ebook reading, esp. the Chinese epub...but then, I tried the above-mentioned "Tweak ePub", step by step, I could only see ?????????????????????? after the first page. I called Sony, and they said I could use PDF format to read books. What's the point?

Please HELP me to enable Chinese epub reading.
PaulKenn is offline   Reply With Quote
Advert
Old 12-07-2011, 01:26 AM   #6
nosnoop
Enthusiast
nosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavens
 
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
Quote:
Originally Posted by PaulKenn View Post
I bought a Sony PRS T1 (red) recently, hoping to enjoy ebook reading, esp. the Chinese epub...but then, I tried the above-mentioned "Tweak ePub", step by step, I could only see ?????????????????????? after the first page. I called Sony, and they said I could use PDF format to read books. What's the point?
OK, here's an easier way. Forget about Tweak ePub and Explode ePub:
  • Load the original chinese epub, click on Convert Books.
  • Select "Look & Feel"
  • Copy & Paste this code into the "Extra CSS" box":
    Code:
    @font-face {
       font-family: "DroidFont", serif, sans-serif;
       src:url(res:///ebook/fonts/DroidSansFallback.ttf);
       }
  • Then click "OK"
  • You will be prompted if you want to convert from epub to epub, click Yes.
And that's it! Send to your reader and start reading!
This works for most of the files which don't have specified fonts or font reference in the original epub. If it has, you may need to add the font name to the "font-family" above.
I have only used books with unicode, which definitely works; I believe it should also work with Big5 and GB codes too, though I have not tried this.

Last edited by nosnoop; 12-07-2011 at 03:07 AM.
nosnoop is offline   Reply With Quote
Old 12-07-2011, 06:39 PM   #7
diftcsx
Junior Member
diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.diftcsx knows what is on the back of the AURYN.
 
Posts: 5
Karma: 9794
Join Date: Nov 2011
Location: NY, USA
Device: Sony PRS-T1
Talking

Thank you so much, ttsddu and nosnoop!! It works now - my reader PRS-T1 can read Chinese epubs. Thank you guys!!
diftcsx is offline   Reply With Quote
Old 12-08-2011, 10:17 AM   #8
xuyn2003
Connoisseur
xuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texanxuyn2003 might easily be mistaken for a Texan
 
Posts: 71
Karma: 18140
Join Date: Jul 2011
Device: PRS-T1&KOBOTOUCH
oh no, I got a mistake, so I edit the post

Last edited by xuyn2003; 12-08-2011 at 10:19 AM.
xuyn2003 is offline   Reply With Quote
Old 12-08-2011, 09:59 PM   #9
PaulKenn
Junior Member
PaulKenn began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2011
Device: Sony PRS T1
Wow, it works!

So grateful to you, nosnoop.

IT WORKS AND I CAN ENJOY READING CHINESE EPUB BOOKS!

PaulKenn is offline   Reply With Quote
Old 12-12-2011, 11:56 PM   #10
spring93936
Junior Member
spring93936 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1 Kindle DXG
hello,i am a chinese user too when i read chinese epub and use TOC to page ,i only see "???" but if i dont use TOC, i can see the chinese word
whats the point~~~Orz
spring93936 is offline   Reply With Quote
Old 12-13-2011, 03:00 AM   #11
nosnoop
Enthusiast
nosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavens
 
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
Quote:
Originally Posted by spring93936 View Post
hello,i am a chinese user too when i read chinese epub and use TOC to page ,i only see "???" but if i dont use TOC, i can see the chinese word
whats the point~~~Orz
Not sure why it does not work for you.
My Chinese ePub works fine with TOC. No problem at all.
nosnoop is offline   Reply With Quote
Old 12-13-2011, 03:34 AM   #12
spring93936
Junior Member
spring93936 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1 Kindle DXG
Quote:
Originally Posted by nosnoop View Post
Not sure why it does not work for you.
My Chinese ePub works fine with TOC. No problem at all.
My book use the font MsYaHei
and
My chinese epub is mobi covert to epub~~is it that the problem?
your css is key in ??
@font-face {
font-family: "DroidSans", serif, sans-serif;
src:url(res:///ebook/fonts/DroidSansFallback.ttf);
}

thank you~~
spring93936 is offline   Reply With Quote
Old 12-13-2011, 04:25 AM   #13
nosnoop
Enthusiast
nosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavensnosnoop is a rising star in the heavens
 
Posts: 45
Karma: 13564
Join Date: Nov 2011
Device: Kindle Paperwhite; PRS-T1
Quote:
Originally Posted by spring93936 View Post
My book use the font MsYaHei
and
My chinese epub is mobi covert to epub~~is it that the problem?
your css is key in ??
@font-face {
font-family: "DroidSans", serif, sans-serif;
src:url(res:///ebook/fonts/DroidSansFallback.ttf);
}

thank you~~
Try adding the MsYaHei in the font family, i.e.:

Code:
@font-face {
   font-family: "DroidFont", "MsYaHei", serif, sans-serif;
   src:url(res:///ebook/fonts/DroidSansFallback.ttf);
   }
nosnoop is offline   Reply With Quote
Old 12-13-2011, 06:24 AM   #14
spring93936
Junior Member
spring93936 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1 Kindle DXG
Quote:
Originally Posted by nosnoop View Post
Try adding the MsYaHei in the font family, i.e.:

Code:
@font-face {
   font-family: "DroidFont", "MsYaHei", serif, sans-serif;
   src:url(res:///ebook/fonts/DroidSansFallback.ttf);
   }
i try it~~but it still show "???"
and when i use the "fast page gun" or "enter page #" it can show the correct word
only have the problem for use "TOC"

Last edited by spring93936; 12-13-2011 at 06:32 AM.
spring93936 is offline   Reply With Quote
Old 12-13-2011, 10:51 AM   #15
spring93936
Junior Member
spring93936 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1 Kindle DXG
I got it!!!

1. use "MS word" to edit the book files
2. choice "Embed fonts" and save to html
3. use calibre and key in
@font-face {
font-family: "DroidFont", "MsYaHei", serif, sans-serif;
src:url(res:///ebook/fonts/DroidSansFallback.ttf);
}
4. convert to mobi
5. convert to epub

I can watch Taiwan book and use TOC
spring93936 is offline   Reply With Quote
Reply

Tags
chinese, prs-t1


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unicode Font support without flashing alanine Sony Reader Dev Corner 99 08-06-2010 10:27 AM
Improved ePub support on PRS-300/600 HarryT Sony Reader 41 10-09-2009 07:11 AM
Epub/Overdrive support for the PRS-500? Bob Russell Sony Reader 7 08-29-2009 09:23 PM
PRS-500 to get EPUB support after all? igorsk News 23 08-14-2009 01:14 PM
Chinese Support : book name & fetching chinese webs tnzshn Calibre 12 05-02-2009 02:21 AM


All times are GMT -4. The time now is 08:16 AM.


MobileRead.com is a privately owned, operated and funded community.