View Single Post
Old 01-13-2012, 10:48 AM   #3291
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Seyprs,

there are two types of fonts used
A) System-fonts used to render the UI (UserInterface), text, rft and lrf located in the firmware path: opt/sony/ebook/FONT
files are: tt0003m_.ttf; tt0011m_.ttf, tt0419m_.ttf
neither the original Sony, nor the PRS+ fonts support chinese.
To enable chines you have to replace the fw-font folder with another one holding at least one with a extended font.
This font has to meet several "formal aspects" (read *VERY* detailed guide on changing default Reader fonts)
To "mount" your file you need to put a boot-script "prsp.sh" into database/system/PRSPlus (folder should already exist, otherwise create it. Attention all case-sensitive)
prsp.sh needs *nix-line break and should look something like that:
Code:
cp /Data/FONT /tmp
mount --bind /tmp/FONT /opt/sony/ebook/FONT
or if your font-files are realy huge try mounting it direct from IM
Code:
mount --bind /Data/FONT /opt/sony/ebook/FONT
(where /Data/ referes to the IM, so you will see just the folder /FONT in explorer)

Note: by only putting these three files into /FONT you will find that dictionary will show up blank. This is due to a missing symlink, but this is another story.

B) filetypes which can handle embedded or external fonts
These are PDF (for embedded fonts) and epub supporting both - probably the easier way
To save me typing this twice please read ahead here

HTH
Mark

PS: I know this is somewhat confusing and my English isn't the best too.
And eventually we should compile all this infos and steps into the WIKI.

PPS: in case of emergency: There is PRS+ "Safe Mode":
If the reader is started while connected to USB, PRS+ will not start, and the startup-script (prsp.sh) will not be executed, too. So if anything goes wrong, reset your reader, connect to USB, restart. Edit/remove prsp.sh. Restart once again.

Last edited by Mark Nord; 01-13-2012 at 10:53 AM. Reason: Added info about Safe-Mode
Mark Nord is offline   Reply With Quote