Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-06-2008, 05:35 AM   #31
tasoskaf
Junior Member
tasoskaf began at the beginning.
 
Posts: 6
Karma: 12
Join Date: May 2008
Device: sony PRS 505
Does anybody knows where can i find customized greek fonts??
tasoskaf is offline   Reply With Quote
Old 05-08-2008, 04:55 AM   #32
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by alanine
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.
pepak is offline   Reply With Quote
Advert
Old 05-09-2008, 10:30 AM   #33
electristan
newbie reader
electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.
 
electristan's Avatar
 
Posts: 102
Karma: 2122142
Join Date: Jan 2008
Location: Oslo
Device: reMarkable, Boox T68, Kobo Mini, Nook STR, Sony PRS-505
Quote:
Originally Posted by pepak View Post
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. i had to use a tool called FontCreator it let me change the font family. hope it helps
electristan is offline   Reply With Quote
Old 05-10-2008, 01:47 AM   #34
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Quote:
Originally Posted by electristan View Post
for number 1 see my post here. 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"?
pepak is offline   Reply With Quote
Old 05-10-2008, 08:25 AM   #35
electristan
newbie reader
electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.
 
electristan's Avatar
 
Posts: 102
Karma: 2122142
Join Date: Jan 2008
Location: Oslo
Device: reMarkable, Boox T68, Kobo Mini, Nook STR, Sony PRS-505
Quote:
Originally Posted by pepak View Post
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
electristan is offline   Reply With Quote
Advert
Old 05-10-2008, 10:08 AM   #36
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
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:
Code:
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:
Code:
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?
pepak is offline   Reply With Quote
Old 05-10-2008, 11:27 AM   #37
electristan
newbie reader
electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.
 
electristan's Avatar
 
Posts: 102
Karma: 2122142
Join Date: Jan 2008
Location: Oslo
Device: reMarkable, Boox T68, Kobo Mini, Nook STR, Sony PRS-505
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.
electristan is offline   Reply With Quote
Old 05-10-2008, 11:48 AM   #38
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Cool! It apparently worked - the menu font is all different now. Thanks a lot for your help!
pepak is offline   Reply With Quote
Old 05-10-2008, 04:04 PM   #39
electristan
newbie reader
electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.electristan ought to be getting tired of karma fortunes by now.
 
electristan's Avatar
 
Posts: 102
Karma: 2122142
Join Date: Jan 2008
Location: Oslo
Device: reMarkable, Boox T68, Kobo Mini, Nook STR, Sony PRS-505
no problem, I've been helped sp many times on these forums i thought it was my time to try
electristan is offline   Reply With Quote
Old 05-17-2008, 12:17 AM   #40
Guesser
Member
Guesser began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2008
Device: Sony PRS-505
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:

Code:
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.

Last edited by Guesser; 05-17-2008 at 12:30 AM.
Guesser is offline   Reply With Quote
Old 05-19-2008, 06:22 PM   #41
alanine
Connoisseur
alanine has a complete set of Star Wars action figures.alanine has a complete set of Star Wars action figures.alanine has a complete set of Star Wars action figures.alanine has a complete set of Star Wars action figures.
 
Posts: 54
Karma: 399
Join Date: Sep 2007
Device: iLiad v2
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.

Last edited by alanine; 05-19-2008 at 06:25 PM.
alanine is offline   Reply With Quote
Old 05-22-2008, 05:12 AM   #42
pubolab
Member
pubolab began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2008
Device: CASIO pocket viewer S1600, Sony PRS-505 and Cybook Gen 3
Quote:
Originally Posted by alanine View Post
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.
pubolab is offline   Reply With Quote
Old 06-10-2008, 07:40 AM   #43
atesta
Banned
atesta began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Sep 2007
Device: TBA
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?
atesta is offline   Reply With Quote
Old 06-10-2008, 07:45 AM   #44
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
What books formats did you test it on?
igorsk is offline   Reply With Quote
Old 06-10-2008, 10:45 AM   #45
atesta
Banned
atesta began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Sep 2007
Device: TBA
Plain text, .txt
atesta is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-600 How to install Unicode font? hautit Sony Reader 1 11-01-2010 03:22 PM
Unicode support in K3 tomsem Amazon Kindle 22 09-02-2010 04:14 PM
unicode chars in epubs after flashing hakim Sony Reader 4 10-12-2009 08:33 AM
Safest way to get unicode font work without flashing firmware DairyKnight Kindle Developer's Corner 2 09-12-2009 05:05 AM
how to embed unicode font atu1303 LRF 8 08-21-2009 10:06 PM


All times are GMT -4. The time now is 04:36 PM.


MobileRead.com is a privately owned, operated and funded community.