|
|||||||
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features. If you have any problems with the registration process or your account login, please contact us. Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience. |
| Sony Reader Dev Corner Linux, hacking and development of software and hardware |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | ||
|
Connoisseur
![]() ![]() ![]() ![]()
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
|
Unicode Font support without flashing
WARNING: MAY RESULT in WIPING OUT 505's INTERNAL MEM (equal to a Hard Reset, won't damage the firmware), BACKUP FIRST, AND TRY IT AT YOUR OWN RISK!
STEPS: 1. connect 505 to PC, create a directory called FONT (note all upper case) under its root directory. 2. put your customized Unicode font files in FONT directory (three files tt0003m_.ttf,tt0011m_.ttf,tt0419m_.ttf, with the font family name "Swis721 BT", "Dutch801 Rm BT", and "Courier10 BT" respectively, basically the same as you would do with a prs-500). 3. get my fontmapper-070218.zip, unzip it onto the root directory of a SD card formatted as FAT16. 4. insert SD card into 505, wait until it display the message, press 1 to activate. 5. wait 10 seconds or so and then the screen flashes a few times, until it displays the "already activated" message, hit MENU to exit. DONE! NOTES: 1. Though this method is based on igorsk's flashing package, it doesn't actually do the flashing. Instead it mounts /Data/FONT over existing /opt/sony/ebook/FONT. So the effect will be lost if you reset (cold reboot) the reader. Then you only need to insert the SD card to activate it again to get back the font support. This method is based on the discussion thread led by obelix on the-ebooks.org Russian forum. 2. If you use Sony Connect software to upload LRFs to the reader, make sure you update the fonts used by the Connect software to your customized fonts too, otherwise the reader will attempt to reformat those LRF books again due to different set of fonts used. They are usually in the directory called \CONNECT Reader\Data\fonts. Make sure you back up those original fonts before you do so. All credits go to igorsk, obelix and those who contributed their works towards hacking the sony reader! (For Chinese Unicode font support, see this thread over hi-pda forum for details) Known Problem (this may be a bit technical): 1. the method is essentially just "mount --bind /Data/FONT /opt/sony/ebook/FONT", trivial! But the real problem is how to restart tinyhttp in order for reload the new fonts. 2. Directly killing tinyhttp.sh and tinyhttp, and then restart tinyhttp.sh works. But the reader will no longer be able to load books from SD card, and the system time is messed up. 3. In the hack given above, I used another solution to do it Quote:
Quote:
So if things were done properly, tinyhttp gets restarted and new fonts are loaded. Only problem is that the mkdosfs thing may have done some damage to the partition table of /Data, so if you use Connect software to transfer LRF files to the reader's internal memory AFTER using this hack, you may end up corrupting the cache, and the reader will attempt to re-format the LRF files before displaying them for the first time. The temporary solution is to either transfer LRFs to SD card, or to do the transfer before this hack is applied (i.e., do a reset, then transfer files before using this hack). Help is need to further investigate this problem and find a real solution!
__________________
http://www.inien.com/ Wiki Site for Chinese e-books Auto PDF generation for e-book devices Supports iLiad, Sony Reader, Hanlin V3, and a few others. Last edited by alanine; 06-25-2009 at 06:42 PM. Reason: update download URL for fontmapper zip file |
||
|
|
|
|
Enthusiast
|
|
|
|
#2 |
|
Junior Member
![]()
Posts: 3
Karma: 10
Join Date: Jan 2008
Device: PRS500
|
strange, 137 reads with no reply? Isn't this something big for 505 community?
|
|
|
|
|
|
#3 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 1,523
Karma: 9735
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
|
Does it work for PRS500?
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 1,277
Karma: 2110
Join Date: Nov 2007
Location: UK
Device: Sony 505 (Blue)
|
My understanding is that for the 500, there's no reason not to flash it, as there's an updater to recover if it doesn't work (but it's been done by quite a few people now).
As for this hack, it looks very interesting. I've not had a chance to play yet, but while I originally thought I'd have no direct use of it, I'm now wondering if I could try something like replacing the default font with MS's Calibri one (I think that's the one I thought looked nice but didn't want to slow down the page-turns by embedding it). As for the general thing itself, even if you're not after the unicode fonts it's interesting - I've not had a chance to try & see what info about the internals have been found, but it does make me wonder what other options this might open up in terms of adding functionality? |
|
|
|
|
|
#5 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 1,277
Karma: 2110
Join Date: Nov 2007
Location: UK
Device: Sony 505 (Blue)
|
Any pointers to how I can get a copy of the original font files, so I can just change one at a time?
|
|
|
|
|
|
#6 |
|
Connoisseur
![]() ![]() ![]() ![]()
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
|
The originals are in the Connect software on your PC if you use Windows, something like \CONNECT Reader\Data\fonts
__________________
http://www.inien.com/ Wiki Site for Chinese e-books Auto PDF generation for e-book devices Supports iLiad, Sony Reader, Hanlin V3, and a few others. |
|
|
|
|
|
#7 | |
|
Junior Member
![]()
Posts: 7
Karma: 10
Join Date: Feb 2008
Device: sony or Cybook
|
Quote:
|
|
|
|
|
|
|
#8 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 1,277
Karma: 2110
Join Date: Nov 2007
Location: UK
Device: Sony 505 (Blue)
|
Hmm - tried it & it seems to have done a full reset, completely clearing the internal memory!
|
|
|
|
|
|
#9 |
|
Connoisseur
![]() ![]() ![]() ![]()
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
|
I'm sorry to hear that. But this didn't happen to all the people who tried the Chinese Unicode font solution. I'll investigate further!
__________________
http://www.inien.com/ Wiki Site for Chinese e-books Auto PDF generation for e-book devices Supports iLiad, Sony Reader, Hanlin V3, and a few others. |
|
|
|
|
|
#10 | |
|
Connoisseur
![]() ![]() ![]() ![]()
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
|
Quote:
__________________
http://www.inien.com/ Wiki Site for Chinese e-books Auto PDF generation for e-book devices Supports iLiad, Sony Reader, Hanlin V3, and a few others. Last edited by alanine; 02-17-2008 at 10:59 PM. Reason: fixed the wrong URL |
|
|
|
|
|
|
#11 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 1,277
Karma: 2110
Join Date: Nov 2007
Location: UK
Device: Sony 505 (Blue)
|
|
|
|
|
|
|
#12 | |
|
Connoisseur
![]() ![]() ![]() ![]()
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
|
Quote:
If it were due to a wrong font file, it'll just hang and a usual reset will get back to normal, but won't format the mem.
__________________
http://www.inien.com/ Wiki Site for Chinese e-books Auto PDF generation for e-book devices Supports iLiad, Sony Reader, Hanlin V3, and a few others. |
|
|
|
|
|
|
#13 |
|
Serial Bricker
![]() ![]()
Posts: 63
Karma: 104
Join Date: Feb 2008
Location: Singapore
Device: Sony PRS-505
|
tested using chinese unicode and working very fine
|
|
|
|
|
|
#14 |
|
Enthusiast
![]()
Posts: 25
Karma: 10
Join Date: Dec 2004
Device: T:C; AlphaSmart Dana
|
POST EDITED:
Never mind about it resetting the device. I made a little boo-boo on renaming the font file (internal name, that is.) Once you do that, it works fine. Nice job! It even preserves everything in memory.
__________________
vrf Last edited by vrf; 02-18-2008 at 02:40 AM. Reason: change |
|
|
|
|
|
#15 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
Posts: 1,277
Karma: 2110
Join Date: Nov 2007
Location: UK
Device: Sony 505 (Blue)
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-500 Unicode Enabled RTF | Honza | Sony Reader Dev Corner | 33 | 03-31-2010 09:45 AM |
| Flashing screen question | johngreen99 | Which one should I buy? | 6 | 01-12-2008 07:54 PM |
| PRS-500 Template & extended font support at Feedbooks (poll) | Hadrien | Sony Reader Dev Corner | 9 | 05-12-2007 12:04 PM |
| PRS-500 Flashing the Reader via SD/MS | scotty1024 | Sony Reader Dev Corner | 29 | 04-09-2007 07:31 AM |
| Does HS support customizing background and font color? | Calvin998 | Reading and Management | 3 | 02-12-2004 04:36 PM |