Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : Unicode Font support without flashing


alanine
02-15-2008, 10:39 PM
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 (http://www.inien.com/data/ninegua/prs-505_chinese_font/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 (http://www.hi-pda.com/forum/viewthread.php?tid=397115&extra=page%3D1) 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
ebook.setExitCode(3);
this.container.getWindow().doQuit();
This will get tinyhttp to do a natural quit, and let tinyhttp.sh to restart it. But then there is something very strange in tinyhttp.sh, it does the following

NUM=`grep Data /proc/mtd | awk -F: '{print $1}' | awk -Fd '{print$2}'`
/usr/local/sony/bin/mkdosfs /dev/mtdblock$NUM
/bin/grep Data /etc/mtab > /dev/null

Essentially this is formatting /Data partition! But indeed if /Data/FONT is already mounted, the mkdosfs will not format /Data. This also relates to gwynevans' report. In gwynevans' case /Data is formatted, but I suspect it's because /Data/FONT wasn't successfully mounted since everyone who tried this over the Chinese forum (http://www.hi-pda.com/forum/viewthread.php?tid=397115&extra=page%3D1) have enabled Chinese Unicode font successfully.

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!

diablo9
02-17-2008, 01:05 AM
strange, 137 reads with no reply? Isn't this something big for 505 community? :blink:

kacir
02-17-2008, 05:02 AM
Does it work for PRS500?

gwynevans
02-17-2008, 07:46 AM
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?

gwynevans
02-17-2008, 11:21 AM
Any pointers to how I can get a copy of the original font files, so I can just change one at a time?

alanine
02-17-2008, 12:57 PM
Any pointers to how I can get a copy of the original font files, so I can just change one at a time?

The originals are in the Connect software on your PC if you use Windows, something like \CONNECT Reader\Data\fonts

Acutesound
02-17-2008, 01:15 PM
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 (http://www.inien.com/data/ninegua/prs-505_chinese_font/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!

NOTE:

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.

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 (http://www.hi-pda.com/forum/viewthread.php?tid=397115&extra=page%3D1) for details)

Thanks. Where can you find the download for these customized fonts ?

gwynevans
02-17-2008, 02:24 PM
Hmm - tried it & it seems to have done a full reset, completely clearing the internal memory!

alanine
02-17-2008, 04:11 PM
Hmm - tried it & it seems to have done a full reset, completely clearing the internal memory!

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!

alanine
02-17-2008, 04:39 PM
Thanks. Where can you find the download for these customized fonts ?

You can try the Chinese Unicode font pack here (http://vip.yyjoy.com/each/PRS500_Flash/PRS500_CN_Solu_4.RAR), extract the two ttf files tt0003m_.ttf and tt0011m_.ttf from it, and get the 3rd font file tt0419m_.ttf from your own PC Connect software's font directory (something like \CONNECT Reader\Data\fonts).

gwynevans
02-17-2008, 04:50 PM
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!

I'd not be surprised if it was due to it finding something odd about the font I was trying & restarting as a result.

alanine
02-17-2008, 05:22 PM
I'd not be surprised if it was due to it finding something odd about the font I was trying & restarting as a result.

Please re-download the package, I've done something to prevent the formatting of internal mem. It now shows an error message "mounting FONT directory failed" instead. So if you see this message, it's because you didn't create the FONT directory on the root of 505's internal mem.

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.

SurgE
02-17-2008, 09:26 PM
tested using chinese unicode and working very fine :)

vrf
02-18-2008, 12:49 AM
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.

gwynevans
02-18-2008, 06:30 AM
Please re-download the package, I've done something to prevent the formatting of internal mem. It now shows an error message "mounting FONT directory failed" instead.

Done so & working now, thanks! Turns out the reason was me calling it FONTS, not FONT!

obelix
02-18-2008, 11:22 AM
1. connect 505 to PC, create a directory called FONT (note all upper case) under its root directory...
......
......
......


Congratulations, alanine! Finally, it's done!
Now all of us, who are using foreign fonts, or just want to replace existing fonts can do it without any modification of the firmware!

soilwork
02-18-2008, 12:14 PM
Thanks, alanine

Using your method, Korean users succeeded in using Korean fonts on their PRS 505. It is excellent that users do not have to worry about bricking their PRS 505 :)

Thanks again for sharing such valuable information.

vrf
02-18-2008, 07:13 PM
And idea why some LRF files freeze my Reader up after this trick?

alanine
02-18-2008, 10:34 PM
And idea why some LRF files freeze my Reader up after this trick?

Did you transfer the LRF to the reader after enabling this hack?

If so, it's probably not "freeze" but the LRF is being re-formated when first open, which usually takes quite a while. Subsequent open is no problem. Usually the connect software will do the formatting of LRFs on the PC side, and only need to update the cache on the reader so that the reader won't do the formatting again.

So this is a problem. I've already mentioned it in the first post. The bottom line is: DONT use connect software to transfer LRFs to the reader's internal memory AFTER enabling this hack! Do it before you enable the fonts (after a reset), or only transfer to SD/MS card.

vrf
02-18-2008, 11:12 PM
Thanks for the reply. Actually, the LRFs were on the Reader before I applied the hack. I haven't tried loading things on after the hack yet.

vrf
02-19-2008, 09:35 AM
Spent some time, got it working, for me at least.
You have to put your customized font in the Program Files/Sony/Reader/Data/Fonts folder as well. (Similiar to PRS-500 font changing discussed elsewhere.) This then handles the formatting when dumping books on the reader. (The font "wrapping" only works for rendering new font characters... the page layout is still set up for the old font, so you'll be missing some lines of text or will have white space if you only use the wrapper script.)

So...

1. Backup reader books to PC.
2. Format reader memory.
3. Make a backup copy of the fonts in the Sony folder.
4. Copy modified fonts to Sony folder
5. Copy modified fonts to "FONT" folder in Reader memory.
6. Connect Reader to Sony software... upload books... disconnect
7. Unzip Font Wrapping script to SD card.
8. Run script

New fonts now work on books on Reader and books that you add to reader. You'll need those modified fonts on whatever computer you use the Sony software on.

EDIT: BUT You need to reset the device after loading new books on, and then run the script again. This will change once we can flash the Reader with modified fonts.
I'm now running the very lovely Caecilia as my main reading text. Beautifully clear, and just as fast as the native fonts.

I think sturdy slab-serif fonts are the best choice for eink displays. Amazon uses Caecilia for the Kindle, although there are other good ones like Serifa and Calvert.

pitolee
02-19-2008, 08:23 PM
Thank you Alanine - I also used it with no problems to change the default typefaces to some I prefer. Excellent, simple hack.

rbrt222
02-25-2008, 08:27 PM
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).

hi, i just got my 505 yesterday and i'm having trouble with Unicode characters.
Can someone tell me where i can get those fonts(tt0003m_.ttf,tt0011m_.ttf,tt0419m_.ttf)?
and do i make a FONT directory same level as folder "database"?

thank you

alanine
02-25-2008, 10:55 PM
Can someone tell me where i can get those fonts(tt0003m_.ttf,tt0011m_.ttf,tt0419m_.ttf)?

You can try the Chinese Unicode font here (http://vip.yyjoy.com/each/PRS500_Flash/PRS500_CN_Solu_4.RAR), from which you can extract the first 2 ttf fonts. The third one you can use the original Sony font from your Connect software installation directory Connect\Reader\Data\fonts


and do i make a FONT directory same level as folder "database"?


Yes, and on the reader's internal memory.

Clemenseken
03-25-2008, 03:27 PM
:thumbsup: Hi alanine,

I understand that your non-flashing solution "mounts /Data/FONT over existing /opt/sony/ebook/FONT."

Do you think it possible by principle to get "applications" like obelix' SUDOKU (consisting of an autorun.xml and autorun.js) running *NOT* from an SD card but somehow start it from internal memory (like: /Data/...) ?

Everytime I start Sudoku this draws quite on akku power :angry:. Also I'd love a way to use a key like MARK (that I hardly ever use) to start a "menu" with some "home-made" options... (... I'm about to finish a game building on obelix' code. I'd like to run that "internal" somehow. As you may already suspect I'm not a pro-programmer.)

I'd be glad for any hints how to go about it! :thanks:
Thanks in advance (also to every other person with good ideas :bulb2: ) !!!

alanine
04-04-2008, 07:17 PM
Clemenseken, I understand what you are coming from. But AFAIK, the way to start a 3rd party application is by inserting a SD card that has the autorun.xml. Whether it's the only way, I don't know.

I can't think of a way to hijack some button from the default tinyhttp application so as to launch your own stuff. But again, I no longer have a 505 with me (the one I used to develop this app was a gift to my mom and is now somewhere half way around this planet).

cIIIz
04-16-2008, 06:29 PM
hi
I'm new to the eReaders world so forgive my newbie question, does this allow u to read books let's say written in Arabic for example (which is a right to left language ) ? or it only changes the interface font ?

thanks :)

igorsk
04-17-2008, 06:57 AM
No, RTL languages do not work even with proper fonts. The only way to read RTL on Reader is PDF with embedded fonts.

electristan
04-21-2008, 05:47 AM
worked great thanks alot :)
i had some issues with converting from .otf to .ttf and changing Font Family, but i found a piece of software called FontCreator. It has a free trial and does it all so i'm a happy guy. thanks again

electristan
04-22-2008, 10:53 AM
Just noticed that when you turn off your reader (Shut Down) and boot it back up again the fonts are back to the defaults and i have to reinsert the SD card and run the script again. is there any way around this? not a bit deal but i thought id ask.

Thanks again for the great tool!

tasoskaf
05-06-2008, 04:35 AM
Does anybody knows where can i find customized greek fonts??

pepak
05-08-2008, 03:55 AM
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).
I admit I am a font newbie - I just use Times, Courier, Arial and Verdana supplied with my Windows and that about completes my knowledge of fonts :). So my questions will be pretty basic:

1) How do I find a font with family name "Swis721 BT" (and the other two)?
2) Are fonts included with Windows XP Unicode or not? And if they are not, where would one look for unicode fonts? I am using Czech (East European) Windows.

electristan
05-09-2008, 09:30 AM
I admit I am a font newbie - I just use Times, Courier, Arial and Verdana supplied with my Windows and that about completes my knowledge of fonts :). So my questions will be pretty basic:

1) How do I find a font with family name "Swis721 BT" (and the other two)?
2) Are fonts included with Windows XP Unicode or not? And if they are not, where would one look for unicode fonts? I am using Czech (East European) Windows.

for number 1 see my post here (http://www.mobileread.com/forums/showpost.php?p=172501&postcount=29). i had to use a tool called FontCreator it let me change the font family. hope it helps

pepak
05-10-2008, 12:47 AM
for number 1 see my post here (http://www.mobileread.com/forums/showpost.php?p=172501&postcount=29). i had to use a tool called FontCreator it let me change the font family. hope it helps
Not quite. I take it that I am supposed to modify the font data so that the font family field contains "Swis721 BT" instead of the original "Whatever123 XY"?

electristan
05-10-2008, 07:25 AM
Not quite. I take it that I am supposed to modify the font data so that the font family field contains "Swis721 BT" instead of the original "Whatever123 XY"?

Exactly, you can do this with the software mentioned. Just open the font, go to "Tools => AutoNaming..." and follow the instructions. After that just save the modified font and all will be well.

Nice and easy :)

pepak
05-10-2008, 09:08 AM
For some strange reason I can't get it to work. I used FontMapper to modify standard Windows' Courier, Times and Verdana to the font families mentioned in the first post and renamed the files accordingly.Then I copied them and the fontmapper files to the SD card. This is what my directory structure contains:

K:\libfskLoad.so
K:\myvm2.xml
K:\FONT\tt0003m_.ttf
K:\FONT\tt0011m_.ttf
K:\FONT\tt0419m_.ttf
K:\Sony Reader\software\autorun.js
K:\Sony Reader\software\autorun.xml


When I started up the reader, it asked me whether I want to activate the script. I pressed "1" to do so and almost immediately I got an error message:

Run script
PRS-505 FONT MAPPER
mouting FONT directory failed.
MENU: exit

(yep, there's missing "n" in"mounting")

The card is formatted as FAT16 (I even reformatted it to make sure). I copied all files using my favorite file manager and I took care to keep font cases as described in the first post.

The good news is that no data got deleted from either the internal memory or the SD card.

Any idea what's wrong?

electristan
05-10-2008, 10:27 AM
I think the problem is that you have

\FONT\tt0003m_.ttf
\FONT\tt0011m_.ttf
\FONT\tt0419m_.ttf

on your SD card, they should be on your reader.

pepak
05-10-2008, 10:48 AM
Cool! It apparently worked - the menu font is all different now. Thanks a lot for your help!

electristan
05-10-2008, 03:04 PM
no problem, I've been helped sp many times on these forums i thought it was my time to try :)

Guesser
05-16-2008, 11:17 PM
This font hack worked for me. I'm having trouble with calibre after it though.

I did the font hack, then I copied a Chinese LRF ebook to it (which also has a Chinese title - not sure if that matters) using the Sony Connect software. The book works fine - the Chinese text appears properly in the menus, and the book's Chinese text is also fine. When I try connecting the reader via USB with calibre running however, I get the following error with no SD card inserted:

ExpatError: mismatched tag: line 50, column 1948
Failed to perform job: Get metadata from device
Further device related error messages will not be shown while this message is visible.
Detailed traceback:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/calibre/gui2/jobs.py", line 64, in run
File "build/bdist.linux-i686/egg/calibre/gui2/device.py", line 81, in books
File "build/bdist.linux-i686/egg/calibre/devices/prs505/driver.py", line 293, in books
File "build/bdist.linux-i686/egg/calibre/devices/prs505/books.py", line 134, in __init__
File "/usr/lib/python2.5/xml/dom/minidom.py", line 1915, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 928, in parse
result = builder.parseFile(file)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
ExpatError: mismatched tag: line 50, column 1948

.. and then after trying it again with a blank SD card inserted, I get a corrupt database error instead (which suggests deleting media.xml, etc.).

After erasing the media.xml and resetting my reader with a soft reset (which apparently killed the font hack, since the Chinese text turned into boxes), it worked fine. Then after re-applying the hack, I get the error. Not sure if it matters, but this is running calibre in Ubuntu 8.04.

alanine
05-19-2008, 05:22 PM
Guesser, it's probably a problem caused by the "dirty" remount this hack is using. It'll mess up the filesystem if subsequent write (e.g., use Sony Connect software to update book database on the 505) is performed. So I suggest you only apply the hack after you are done with copying new books. To be really safe, each time you connect 505 to PC, do a soft reset first to clear the effect of this hack.

The reason why Calibre fails on the PC end is beyond me, but I suspect it's related this hack. Probably someone could patch Calibre to work again in this situation. As I don't use it (and I no long have a 505), I can't suggest a fix. Sorry!

I recommend people using this hack to store all books on a SD card if they use Sony Connect software. This way it'll avoid updating 505's internal mem when updating book databases. So there'll be no danger of corrupting meta files or having the 505 to re-format LRFs, which is a milliion times slower than the PC.

pubolab
05-22-2008, 04:12 AM
Only problem is that the mkdosfs thing may have done some damage to the partition table of /Data,

Where does tinyhttp.sh reside in the reader's file system?

Maybe can temporarily "mount --bind" the tinyhttp.sh parent directory to some where in the SD card so that you can put a modified tinyhttp.sh there.

After the restart of the tinyhttp, you could then do a "umount" to remove the temporarily binding.

Just an idea, I did not receive my 505 yet.

atesta
06-10-2008, 06:40 AM
OK, I used this and it worked... partially. Font were really changed, but the reader is not displaying language-specific characters rightly, BUT IN THE TEXT ONLY. In the menu, characters are displayed correctly.
I used windows default fonts (time news roman, arial, courier) renamed using FontCreator.
Is there any way the font can be displayed corrently in the text itself?

igorsk
06-10-2008, 06:45 AM
What books formats did you test it on?

atesta
06-10-2008, 09:45 AM
Plain text, .txt

igorsk
06-10-2008, 10:36 AM
TXT has be in UTF-16/UTF-8 with a BOM for the non-latin characters to be displayed properly.

atesta
06-10-2008, 11:22 AM
It works! Perfect! Thank you very much!
(OK, now I have to find a way to convert my whole library. But the important thing is that it works.)

seajewel
06-16-2008, 06:08 PM
Is it possible to replace the English fonts for the Sony using this method? Would it be possible to have both Korean fonts AND a different default English font? Any help would be greatly appreciated!

lovebeta
06-21-2008, 09:00 AM
Is it possible to replace the English fonts for the Sony using this method? Would it be possible to have both Korean fonts AND a different default English font? Any help would be greatly appreciated!
Yes. Actually your Korean font should already contain some Latin typeface. If you are not satisfied with Korean font's Latin part, then you need to know how to construct a font by yourself. One tool to do that is FontCreator. However I don't know if you can legally do that or not due. Please check your font's license.

seajewel
06-24-2008, 11:26 AM
Thanks. I've figured out how to do this and it's wonderful. I love my Sony Reader. And to think, I came THIS CLOSE to getting a Kindle instead.

Edited to ask a couple of questions:

1. Do I need to keep the fontmapper files on the SD reader? i once removed them and noticed my Korean files were all messed up, but I'd also messed with other options so I wasn't sure that was the culprit. I'm guessing it is though.

2. After doing resets and reapplying the Unicode patch and such, and converting my Korean text files to .lrf using Calibre, I notice that pages or lines are missing between each page. I have looked at Korean sites for info and they say either it's because I need to reconvert after applying each new font, or some also say something about corrupted files in the cache, and mention chkdisk. Can someone explain the chkdisk for dummies? I think I go to cmd but dont know how to do anything from thereon forward, how to chkdisk disks (just the Sony Reader drive? or ?) and how to delete from there. Or can I just delete the cache from My Computer?

Any help greatly appreciated.

Yes. Actually your Korean font should already contain some Latin typeface. If you are not satisfied with Korean font's Latin part, then you need to know how to construct a font by yourself. One tool to do that is FontCreator. However I don't know if you can legally do that or not due. Please check your font's license.

soilwork
06-24-2008, 11:49 AM
1. Do I need to keep the fontmapper files on the SD reader? i once removed them and noticed my Korean files were all messed up, but I'd also messed with other options so I wasn't sure that was the culprit. I'm guessing it is though.

Once the fontmapping is done, you don't have keep the program on the SD.


2. After doing resets and reapplying the Unicode patch and such, and converting my Korean text files to .lrf using Calibre, I notice that pages or lines are missing between each page. I have looked at Korean sites for info and they say either it's because I need to reconvert after applying each new font, or some also say something about corrupted files in the cache, and mention chkdisk. Can someone explain the chkdisk for dummies? I think I go to cmd but dont know how to do anything from thereon forward, how to chkdisk disks (just the Sony Reader drive? or ?) and how to delete from there. Or can I just delete the cache from My Computer?

I would make sure whether the file is created correctly in your PC.
First, replace the default fonts in 'C:\Program Files\Sony\Reader\Data\fonts' with the fonts you put in your Sony reader.
Second, open the file you mentioned with Sony 'ebook library' program and see whether the file looks all right.

igorsk
06-24-2008, 04:14 PM
If you use eBook Library to transfer files, you have to have exactly the same fonts on PC and the device, otherwise you'll get those weird pagination issues.

seajewel
06-24-2008, 09:01 PM
Thank you both. This is slightly off topic, but it is a question about fonts. When I look at fonts in Font Creator to make one of them ttmwhatever.ttf, I can only choose one file instead of say, Calibri (with Bold + Italics + Bold/Italics, which are all separate files). Does this mean my Sony Reader will get rid of all italics and bolding? How do i get around this problem? Is there a way to construct a font to have all of those? Thank you!

ETA: I'm guessing this is what it means when people say Amazon Kindle has real italics, not algorithmic slanting which is what Sony has.. so I will see italics and bolding, but only in an inferior way?

seajewel
06-24-2008, 10:46 PM
EDITED: Reset before adding any new files to the device. It was said in the original post, and I'll say it again. It took me a while to really really set my mind that I'll do it every time.. and I do, and everything works beautifully. I do lose my last page, but it is a relatively small price to pay.



I am having this problem.. :( Any thoughts? I really like Calibre, so this is a bummer. I guess I could reinstall everything each time but it seems like a pain.

This font hack worked for me. I'm having trouble with calibre after it though.

.. and then after trying it again with a blank SD card inserted, I get a corrupt database error instead (which suggests deleting media.xml, etc.).

After erasing the media.xml and resetting my reader with a soft reset (which apparently killed the font hack, since the Chinese text turned into boxes), it worked fine. Then after re-applying the hack, I get the error. Not sure if it matters, but this is running calibre in Ubuntu 8.04.

Skittels
07-06-2008, 02:16 AM
Is this a way to get russian and english fonts displayed correctly,

What unicode package do i need to use for that?

got a gf who reaaaly wants that...

yirong
07-23-2008, 02:13 AM
It works great! Just remember to save your file as unicode format, you will get it!

JSWolf
07-24-2008, 07:37 PM
Does this Unicode Font support without flashing hack still work with the new 1.1.00.18040 version firmware?

igorsk
07-24-2008, 07:44 PM
It should.

atesta
07-25-2008, 04:52 AM
Well, and isn't the unicode support included in the new FW?
I haven't tested it yet, but it isn't mentioned in the new FW feature list :blink:.

igorsk
07-25-2008, 04:58 AM
Reader supported Unicode from Day 1. However, the fonts included have only characters for Western languages.

seajewel
07-25-2008, 11:33 AM
Anyone test it out yet? I'm sure it's fine but would love to hear a confirmation with "yes i did it and it worked." I'm mostly waiting to hear how battery life was affected at this point, since for the moment i don't need pdf or epub support.

soilwork
07-25-2008, 12:20 PM
According to a user in a Korean website that I frequent, this hack works after the firmware upgrade.

pepak
07-31-2008, 11:36 PM
I tried it yesterday and it works.

VietSon
08-02-2008, 12:46 AM
Hi all! Im newbie, just've got new 505 yesterday :-)
This thread figures out that I have to create a unicode for my own? I've english and russian in my device, now I want to add Vietnamese and Chinese fonts, can I take these from somewhere?

...

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).
...

Please tell me is I can read detailed information about customize Unicode from this forum?

Thank you!

seajewel
08-02-2008, 04:08 AM
Use Fontcreator software to customize fonts.

For anyone still using the patch, if you can fit a font into the flasher image, it's better to use the Universal Flasher 2.0 to load your custom fonts than this patch. While this patch was a godsend before the new firmware, it's obsoleted (for the most part) by the Flasher. With the flasher, you no longer have to reset the Reader (and thereby lose all your bookmarks) before adding new files to your Reader, nor do you lose your custom fonts every time you turn off the Reader. However, there is a file size limit.. from my experience, your font file has to be less than 2150kb or so, and you can only fit as many font files as you can if they add up to less than 2150kb. You can get around this problem in a number of ways, such as editing the main.xml file in the universal Flasher and replacing all mention of different fonts such as Swis721 BT and Courier**** with Dutch801Rm BT and just placing your new custom font, tt0011m_.ttf into the FONT folder on the Flasher.. which means all your text will be rendered using that font.

There are ways to get around this size limit, but even the detailed explanation from experts went over my head, so this is the method I personally use. It's great.

SurgE
08-03-2008, 01:26 AM
Hi all! Im newbie, just've got new 505 yesterday :-)
This thread figures out that I have to create a unicode for my own? I've english and russian in my device, now I want to add Vietnamese and Chinese fonts, can I take these from somewhere?



Please tell me is I can read detailed information about customize Unicode from this forum?

Thank you!

Chinese fonts can be found on hi-pda's forums. Not too sure about viet fonts, i reckon u gotta create the fonts yourself. Chinese fonts will NOT be flashable due to the large size of the fonts themselves (approx 6mb for each font)

shousa
08-03-2008, 09:59 PM
Has anyone tried Japanese fonts? I guess while a lower number than Chinese Kanji each one will be too big?

and if they do work would they work with PDF?