11-26-2010, 06:33 AM | #1471 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
|
11-26-2010, 07:00 AM | #1472 |
Addict
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
is it posible to use the all scripts shown on the project page in the PRS 505? If It isn't, could you sort the different scripts by type of reader, 505, 300 and 600, to avoid any confusion?
Thanks Last edited by VICTORSJG; 11-26-2010 at 07:04 AM. |
Advert | |
|
11-26-2010, 07:13 AM | #1473 | |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
Users don't see it, and devs shouldn't get confused by it. Look into build script to check which addons are supported by which reader. |
|
11-26-2010, 07:28 AM | #1474 |
Addict
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
For example if i compare the old script core_zLang (version 1.3 for prs 505) and the new, the different languages and the type of date don't appear, so in this case how is it show in the reader the different options to choose?
|
11-26-2010, 07:34 AM | #1475 |
Addict
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
|
Advert | |
|
11-27-2010, 02:24 AM | #1476 | |
Addict
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
Quote:
I've rewied the project page, on the lang are missed the menu customizer, status bar, and they aren't renamed the pageindex, clock, statusbarpageindex, statusbarclock. |
|
11-27-2010, 02:48 AM | #1477 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
I'm not yet done with translations, Victor. 2.x.x doesn't work on 505-s yet.
|
11-27-2010, 06:40 AM | #1478 |
Addict
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
|
11-27-2010, 03:23 PM | #1479 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
No it's not possible. That's why the version changed so drastically from 1.1.3 to 2.0.x.
|
11-27-2010, 10:33 PM | #1480 |
Member
Posts: 20
Karma: 10
Join Date: Nov 2010
Device: Onyx M92 White Pearl
|
Hi Kartu,
I found an effort to mount user font directory in PRSInstaller/installer.sh rather than /database/system/PRSPlus/prsp.sh, which just works perfect to display titles and TOC in Chinese, also LRF and txt books. But the weird thing is about epub: Before I use the script mentioned above, my epub css in /database/system/PRSPlus/epub/ worked for some epub books, while other epubs could not be displayed. Now with the modified script, the epub books which used to work with my epub css can not be displayed, while those which did not work with my epub css now can be displayed with the fonts used for system and lrf book... Seems that the font settting for some of the epub are overridden (however, I can see my css when I go to the More->PRS+ Options->Book viewer options) I found the script here: http://translate.google.com/translat...n&hl=&ie=UTF-8 and the re-packed installer can be found here: http://www.megaupload.com/?d=GIJ5BAES the script in installer.sh is: Code:
mount -t vfat -o rw,remount /dev/mtdblock13 /opt1/dict >> /Data/PRSPInstaller/install.log 2>&1 rm -R /opt1/dict/prsp >> /Data/PRSPInstaller/install.log 2>&1 #To uninstall PRS+ comment the next line (put # in the beginning of the line) cp -r /Data/PRSPInstaller/prsp /opt1/dict >> /Data/PRSPInstaller/install.log 2>&1 #mount font #resize tmp memory for font /bin/mount -o remount -t tmpfs -o size=16m /dev/shm /tmp >> /Data/PRSPInstaller/install.log 2>&1 cd /tmp #prepare font files tar xf /Data/PRSPInstaller/font.tar >> /Data/PRSPInstaller/install.log 2>&1 #replace the original FONT mount --bind /tmp /opt/sony/ebook/FONT >> /Data/PRSPInstaller/install.log 2>&1 mount -t vfat -o ro,remount /dev/mtdblock13 /opt1/dict >> /Data/PRSPInstaller/install.log 2>& my css is like (i put my fonts in /fonts/ in the internal memory): Code:
@font-face { font-family: "Song"; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/tt0011m_.ttf); } @font-face { font-family: "Song"; font-weight: bold; font-style: normal; src: url(res:///Data/fonts/tt0011m_.ttf); } @font-face { font-family: "Song"; font-weight: normal; font-style: italic; src: url(res:///Data/fonts/tt0011m_.ttf); } body { font-family: "Song", serif; widows: 0; orphans: 0; } Last edited by frank0734; 11-27-2010 at 11:17 PM. |
11-28-2010, 04:21 AM | #1481 | |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
Now, regarding bugs, remounting entire /tmp to FONT is not the way to go (increasing its size is fine, however)... So try it this way: Code:
mount -t vfat -o rw,remount /dev/mtdblock13 /opt1/dict >> /Data/PRSPInstaller/install.log 2>&1 rm -R /opt1/dict/prsp >> /Data/PRSPInstaller/install.log 2>&1 #To uninstall PRS+ comment the next line (put # in the beginning of the line) cp -r /Data/PRSPInstaller/prsp /opt1/dict >> /Data/PRSPInstaller/install.log 2>&1 #mount font #resize tmp memory for font /bin/mount -o remount -t tmpfs -o size=16m /dev/shm /tmp >> /Data/PRSPInstaller/install.log 2>&1 mkdir -p /tmp/FONT cd /tmp/FONT #prepare font files tar xf /Data/PRSPInstaller/font.tar >> /Data/PRSPInstaller/install.log 2>&1 #replace the original FONT mount --bind /tmp/FONT /opt/sony/ebook/FONT >> /Data/PRSPInstaller/install.log 2>&1 mount -t vfat -o ro,remount /dev/mtdblock13 /opt1/dict >> /Data/PRSPInstaller/install.log 2>&1 |
|
11-28-2010, 03:06 PM | #1482 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
frank0734
By the way, do Chinese use fb2 format for books? |
11-28-2010, 05:31 PM | #1483 |
Member
Posts: 20
Karma: 10
Join Date: Nov 2010
Device: Onyx M92 White Pearl
|
Hi Kartu,
Thank you for your codes, they are working as expected. I don't think fb2 is known by a lot of ebook readers in China. People prefer pdf and epub because of their availablility (especially pdf). Some local manufacturers also bring support for zip/rar format, which is popular for manga. I think another important missing feature in PRS+ is support for djvu. (Another effort which you probably know, ebookapplication.com, has introduced such features). I will definitely try fb2 anyway. By the way, do you mind looking at some css from the epub I have? As I mentioned, before I used the script, the user css in /database/system/PRSPlus/epub/whatever.css enable my 600 to display some Chinese epub files correctly while other not; after I used the script, the user css seems to be skipped, and epubs previously OK cannot be shown while those used to be messy now can be shown. I checked several files, and found that, the previously OK files do not specify fonts in their internal css (and they were displayed according to my user css before I use the script) the previously NOT OK files did specify fonts and their path (and they could not be shown since I did not have correct system font then before I use the script) it seems to me that after I run the script to define system fonts, the user defined epub css is skipped. examples: previously OK: http://textsnip.com/89e17d http://textsnip.com/3b0385 previously NOT OK: http://textsnip.com/a4a4dc Not sure if it is anothe bug... Last edited by frank0734; 11-28-2010 at 11:42 PM. |
11-29-2010, 07:38 AM | #1484 |
PRS+ author
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
frank,
path for css file used by adobe viewer in PRS+ is: /database/system/PRSPlus/epub/style.css epubuserstyle addon overwrites that file with whatever you choose from options. You can't see chinese letters without defining fonts in CSS (adobe viewer uses its own fonts, built into executable) |
12-03-2010, 02:20 AM | #1485 |
Member
Posts: 20
Karma: 10
Join Date: Nov 2010
Device: Onyx M92 White Pearl
|
Hi Kartu,
I am happy that you included Chinese localization to the alpha version of prs+. I just fixed some glitches in the translation I provided. Another problem is that, without proper embedded Chinese font in the firmware, the Chinese menu won't be shown correctly until the user load their own. Of course, we can load Chinese fonts with scripts. But I think it will be more convenient for users if they have a way to include fonts within the firmware. Will there be any firmware with non-encrypted cramfs system so that we can modify it to include our fonts? Besides, is the copy right of fonts a problem for PRS+? There are a couple of open-source eastern Asian font which are small enough for PRS600 firmware, so I wonder the possibility to have a branch of PRS+ to include these fonts. Finally, I am also curious that, does it drains the reader faster if we mount fonts from internal memory for system/txt/LRF and for epub(through css?), rather than use the font in "system memory in activity"? Thanks. Regards, Liang |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using HD Folders as Collections on Sony PRS-505 | fglaysher | Calibre | 8 | 07-26-2010 09:55 PM |
Enhanced Firmware for V3 | keng2000 | HanLin eBook | 12 | 04-12-2010 09:30 AM |
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 70 | 02-18-2009 06:34 PM |
Sony Reader PRS-505 upgrade to Sony PRS-700 | Kris777 | Sony Reader | 23 | 12-08-2008 06:56 AM |
Sub folders in firmware v1.08 | Prince Hal | Amazon Kindle | 28 | 10-23-2008 03:20 PM |