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 08-26-2008, 08:41 PM   #181
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Jeff, you may want to add an option to PRSCustomizer that allows the users to easily replace the default Reader fonts. Yes, the customizer comes with its own Cyrillic/Eastern European support, but there are other reasons why one would want to change the default fonts. I for one wanted to replace the default text font with Caecilia, becuse it looks awesome and is faaaar easier on the eyes than Dutch Roman (which is the Reader's default).

What I did was follow instuctions given here on how one changes a font to something the Reader can use (basically one needs to rename the font on both the file and font level), then replaced the font PRSCustomizer created for me in the sdcard folder.

It would be really nice if PRSCustomizer could have something like "Load personalized font" button, and the program would do all the necessary work of renaming the font and file and placing it in the required folder so it all works with the device. That would also make it easier for people to add their own languages too, so you and porkupan wouldn't have to do it all by yourselves.

Cheers,

Valloric

EDIT: Oh, and just in case anyone does the same thing I did (replaces the default fonts), you have to reload all the books you have on the Reader. That is, delete them, then add them again. If you don't, a few lines of text from the previous page will appear on top of the next page. This is because the book you loaded before the font change was adjusted for the font you previously were using. Deleting and adding the book again solves the problem.

Last edited by Valloric; 08-26-2008 at 08:59 PM.
Valloric is offline   Reply With Quote
Old 08-27-2008, 11:27 AM   #182
porkupan
Fanatic
porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.
 
porkupan's Avatar
 
Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
Jeff,

Since you asked to be notified about the current status of hacks and features, I just wanted to let you know that I added the Italian and Croatian locales, fixed the Russian letter sort (for both Russian and Ukrainian) and rearranged the code around a bit in order to be able to support more of it (apparently the JS functions in Kinoma can only be up to certain number of characters long). Made it a little bit more modularized, too.

porkupan is offline   Reply With Quote
Advert
Old 08-27-2008, 02:24 PM   #183
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by porkupan View Post
Jeff,

Since you asked to be notified about the current status of hacks and features, I just wanted to let you know that I added the Italian and Croatian locales, fixed the Russian letter sort (for both Russian and Ukrainian) and rearranged the code around a bit in order to be able to support more of it (apparently the JS functions in Kinoma can only be up to certain number of characters long). Made it a little bit more modularized, too.

Thanks porkupan!

I've uploaded PRSCustomizer 0.05a with porkupan's changes included. If you've already downloaded 0.05 this download is only required if you want to upgrade the localization functions.

Last edited by JeffElkins; 08-28-2008 at 09:00 AM. Reason: new version
JeffElkins is offline   Reply With Quote
Old 08-28-2008, 09:06 AM   #184
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by Valloric View Post
Jeff, you may want to add an option to PRSCustomizer that allows the users to easily replace the default Reader fonts
Thanks for the feedback Valloric. I want to tread carefully here, because I've learned by hard experience that it's easy to brick a reader via the fonts.
JeffElkins is offline   Reply With Quote
Old 08-28-2008, 03:43 PM   #185
Peto
Legal Alien
Peto doesn't litterPeto doesn't litter
 
Peto's Avatar
 
Posts: 288
Karma: 105
Join Date: Jan 2008
Device: Sony PRS-505/T1/Kindle PW2
Quote:
Originally Posted by JeffElkins View Post
Thanks for the feedback Valloric. I want to tread carefully here, because I've learned by hard experience that it's easy to brick a reader via the fonts.
Yeah, me too. Seems easier than it is.
Peto is offline   Reply With Quote
Advert
Old 08-28-2008, 06:59 PM   #186
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Peto View Post
Yeah, me too. Seems easier than it is.
I must be lucky then... although there's IMO a limited amount of things you could screw up. Basically, you need to:

1. Rename the font file correctly.
2. Edit the font's metadata correctly, and this can be relatively easily done with FontCreator.
3. Make sure you're working with a TrueType font, and NOT an OpenType one, because that will surely brick your reader. If you have an OT font, you can convert it to an OT font with TT outlines with FontCreator, and the Reader supports those (I'm running just such a font file on mine).
4. Place the file in the correct folder of the universal flasher.

That's it, from what I can see. You can only mess up one (or more) of those steps, I can't see where else you could go wrong. I got everything working on my first try, in a whole 15 minutes. No bricking, nothing. Had to reload my books again though, for correct pagination (although that is to be expected).

EDIT: If there's demand, I would be willing to write up a detailed, step-by-step guide (with screenshots) on how one can easily change their default fonts.

Last edited by Valloric; 08-28-2008 at 07:06 PM.
Valloric is offline   Reply With Quote
Old 08-28-2008, 07:20 PM   #187
porkupan
Fanatic
porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.
 
porkupan's Avatar
 
Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
Quote:
Originally Posted by Valloric View Post
That's it, from what I can see. You can only mess up one (or more) of those steps, I can't see where else you could go wrong. I got everything working on my first try, in a whole 15 minutes. No bricking, nothing.
I agree that it's not difficult at all. But there is a couple of issues. First, you have to get a hold of FontCreator. Preferably a licensed copy so no one gets in trouble. Second, how do you propose to automate this process through the PRSCustomizer tool? You would need to know the structure of the TTF file, where does the Font Family Name fit, what name to use for the file, which font you are replacing. All sorts of complications for a tool that was not intended for this sort of task.

You can easily make a separate set of fonts manually, and stick it into the FONT directory on the card. But automating this seems like an overkill.
porkupan is offline   Reply With Quote
Old 08-28-2008, 07:46 PM   #188
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by porkupan View Post
I agree that it's not difficult at all. But there is a couple of issues. First, you have to get a hold of FontCreator. Preferably a licensed copy so no one gets in trouble. Second, how do you propose to automate this process through the PRSCustomizer tool? You would need to know the structure of the TTF file, where does the Font Family Name fit, what name to use for the file, which font you are replacing. All sorts of complications for a tool that was not intended for this sort of task.

You can easily make a separate set of fonts manually, and stick it into the FONT directory on the card. But automating this seems like an overkill.
Well I obviously didn't mean automating it through FontCreator. There is definitely a way do change the font family by opening the font directy in binary mode and doing it that way. In fact, I'm sure there's an open source library that could help with interfacing with the font file.

The final name for the font file is fixed. The reader expects font files to be named "tt0003m_.ttf", "tt0011m_.ttf" and "tt0419m_.ttf". The middle one is the font for body text, that is Dutch Roman AKA "Dutch801 Rm BT" specifically. So that's not a problem.

But finally, I would agree that it could be a lot of work. Doing it by hand takes 15 minutes, but is apparently prone to "operator error" , and PRSC could help with that.
Valloric is offline   Reply With Quote
Old 08-28-2008, 09:05 PM   #189
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Valloric View Post
I must be lucky then... although there's IMO a limited amount of things you could screw up. Basically, you need to:

1. Rename the font file correctly.
2. Edit the font's metadata correctly, and this can be relatively easily done with FontCreator.
3. Make sure you're working with a TrueType font, and NOT an OpenType one, because that will surely brick your reader. If you have an OT font, you can convert it to an OT font with TT outlines with FontCreator, and the Reader supports those (I'm running just such a font file on mine).
4. Place the file in the correct folder of the universal flasher.

That's it, from what I can see. You can only mess up one (or more) of those steps, I can't see where else you could go wrong. I got everything working on my first try, in a whole 15 minutes. No bricking, nothing. Had to reload my books again though, for correct pagination (although that is to be expected).

EDIT: If there's demand, I would be willing to write up a detailed, step-by-step guide (with screenshots) on how one can easily change their default fonts.
Please do. I would be very interested in seeing the process.
JSWolf is online now   Reply With Quote
Old 08-28-2008, 10:48 PM   #190
jerryleejr
Koby-rific!
jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.jerryleejr can program the VCR without an owner's manual.
 
jerryleejr's Avatar
 
Posts: 941
Karma: 191112
Join Date: Jan 2008
Location: 2' From My MacBook Pro
Device: Kobo Sage,Kobo Aura One, Glo HD,PRS-T1,PRS-950, PRS 300, PRS 350
Maybe I missed it but where is the dmg file for this??
jerryleejr is offline   Reply With Quote
Old 08-29-2008, 04:51 AM   #191
Thoran
Resident
Thoran began at the beginning.
 
Thoran's Avatar
 
Posts: 31
Karma: 30
Join Date: Aug 2008
Location: Hannover, Germany
Device: Sony PRS-505
Jeff, many thanks for your perfekt work!

Greetings from Germany
Thoran is offline   Reply With Quote
Old 08-29-2008, 07:51 AM   #192
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by jerryleejr View Post
Maybe I missed it but where is the dmg file for this??
There is no dmg. It's prscustomizer.app and stored within the zip archive.
JeffElkins is offline   Reply With Quote
Old 08-29-2008, 07:52 AM   #193
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by JSWolf View Post
Please do. I would be very interested in seeing the process.
As would I, please do.
JeffElkins is offline   Reply With Quote
Old 08-29-2008, 11:02 AM   #194
pkaak
Junior Member
pkaak began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2008
Device: PRS-505
Maybe it is already explained somewhere in the treath.. but after 10 pages of reading I couldn't find it that quickly.
Can someone explain the different hacks for me.. or maybe you can explain it in the readme file of the program. Just for the newbies with us
pkaak is offline   Reply With Quote
Old 08-29-2008, 11:12 AM   #195
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by pkaak View Post
Maybe it is already explained somewhere in the treath.. but after 10 pages of reading I couldn't find it that quickly.
Can someone explain the different hacks for me.. or maybe you can explain it in the readme file of the program. Just for the newbies with us
From the first message, the hacks:
Quote:
Localization by porkupan
(Currently English,French,German,Russian,Spanish,Polish,Dutch ,Czech,Italian,Croatian)
Unicode fonts with Cyrillic/Eastern European Support
Uniform font size for menus
Multiple Iconsets (currently four)
One-key shutdown (Joystick center key)
Personalized About Screen (Name,Telephone,Email)
Joystick page forward
Volume key page turns
Volume key history navigation
Circle pad history navigation
Clock (24/12 hr)
Which of these require explanation?
JeffElkins is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS500 - Will we be able to use PRSCustomizer after upgrading firmware? jimmyzou Sony Reader 0 11-30-2009 10:10 AM
Prscustomizer not working and info on unicode shilpa Sony Reader 1 08-14-2009 01:35 AM
beginner to prs505 reader adixon Sony Reader 30 12-08-2008 01:00 PM
Help with PRSCustomizer!! Please rlanger Sony Reader 11 11-28-2008 05:47 AM
How-To Customize the Reader Name and Theme Frog29 Sony Reader Dev Corner 1 08-08-2008 07:49 PM


All times are GMT -4. The time now is 08:38 AM.


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