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