View Single Post
Old 11-28-2010, 04:21 AM   #1481
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
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.
There is a bug #37 so prsp.sh doesn't run indeed, will be fixed in the nearest update.

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
kartu is offline   Reply With Quote