Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2009, 11:40 AM   #241
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Didn't work for me with LRF, but I only had a few minutes for experimenting. It is possible the font names and families I used are not what the renderer expects.
pepak is offline   Reply With Quote
Old 12-17-2009, 12:20 PM   #242
kbear
Member
kbear is on a distinguished road
 
Posts: 10
Karma: 56
Join Date: Dec 2009
Device: PRS-505
Quote:
Originally Posted by JSWolf View Post
Very nice. Would you mind posting detailed directions please? Thanks.
As I said in my previous post, the key is to name the fonts correctly.

The font's internal name (not the filename of the .ttf) can be altered by a font-editing application like FontLab Studio (which is what I use - font design is a hobby of mine).

Unfortunately I'm a Mac user, and I don't know what font editing apps are available for Windows, so I can't give you step-by-step instructions for some other freeware tool. FontLab is available for Windows, but it is a rather expensive professional app.

However, whatever tool you use, the procedure is straight forward: let's say we want to use Times instead of the default Dutch 801.

1. We open the Times Roman font and rename it to Dutch 801, just like it's described in Valloric's PDF. Save it as tt0011m_.ttf.

2. Open the next style, lets say, Times Italic, and we ALSO rename it to Dutch 801. But we set the style name to "Italic" instead of "Roman". Then we save it as tt0011i_.ttf. (I'm not certain that the .ttf name has to be exact. Maybe it will work with any name, as long at its 8.3 characters long)

3. Repeat the same procedure for the bold and bold italic styles, naming them tt0011b_.ttf and tt0011bi.ttf respectively.

When the fonts are prepared. Upload them to the Reader. Experienced PRS hackers already know how to do that so I won't bother with a detailed description, since you can find instructions on other forums of this site.

The only thing that bears scrutiny is that if you use an automated system like PRSCustomizer, you will need to manually copy the fonts in the proper location (depending on your firmware) inside the sdcard folder, because PRSCustomizer only copies the three default fonts.

I hope this was clear enough. I'll be happy to answer any questions. Just post them in the forum, or PM me.
kbear is offline   Reply With Quote
Old 12-17-2009, 12:58 PM   #243
tedmcardle
Banned
tedmcardle doesn't littertedmcardle doesn't litter
 
Posts: 5
Karma: 110
Join Date: Dec 2009
Device: tedmcardle
Thanks for this info.
tedmcardle is offline   Reply With Quote
Old 12-20-2009, 04:37 AM   #244
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Quote:
Originally Posted by kbear View Post
As I said in my previous post, the key is to name the fonts correctly.
No. I just can't get the fonts named correctly. Could you please post the Italic font that works for you, so that I can compare it to my font and discover what's wrong?
pepak is offline   Reply With Quote
Old 12-21-2009, 06:29 PM   #245
kbear
Member
kbear is on a distinguished road
 
Posts: 10
Karma: 56
Join Date: Dec 2009
Device: PRS-505
Quote:
Originally Posted by pepak View Post
No. I just can't get the fonts named correctly. Could you please post the Italic font that works for you, so that I can compare it to my font and discover what's wrong?
Sure. Click here to download the fonts I use in my PRS-505. They are Mac OS X system fonts, so to use them legally you need to own a Mac
kbear is offline   Reply With Quote
Old 12-22-2009, 12:17 AM   #246
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Thanks. I don't plan to USE them, I just want to find out why MY fonts don't work. In the afternoon I will have it and then I will delete them.
pepak is offline   Reply With Quote
Old 12-22-2009, 12:09 PM   #247
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Looks like the real italics/bold only works in RTF, but not LRF :-(
pepak is offline   Reply With Quote
Old 12-23-2009, 07:21 AM   #248
kbear
Member
kbear is on a distinguished road
 
Posts: 10
Karma: 56
Join Date: Dec 2009
Device: PRS-505
Quote:
Originally Posted by pepak View Post
Looks like the real italics/bold only works in RTF, but not LRF :-(
That's strange. Although I have no LRF documents to test, I noticed that apart from RTF, the user interface of the reader was also able to use the new font styles (i.e. sans-serif bold) for the menu display.

This led me to believe that the text renderer of the PRS-505 could handle extra styles in all documents that use internal fonts.

I suggest you try uploading a new LRF document to the reader. Maybe documents already uploaded have been cached with the old font set.

If that's the case, formatting the Reader (to empty the internal cache) or uploading a new LRF document might work.

This is of course all speculation, but there's nothing to lose by trying.
kbear is offline   Reply With Quote
Old 12-23-2009, 11:01 AM   #249
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Quote:
Originally Posted by kbear View Post
I noticed that apart from RTF, the user interface of the reader was also able to use the new font styles (i.e. sans-serif bold) for the menu display.
I noticed that as well. However, the UI is much less picky than the renderers regarding proper font setup. There are configurations which will routinely fail in rederer but work in UI.

Quote:
I suggest you try uploading a new LRF document to the reader. Maybe documents already uploaded have been cached with the old font set.
Nope :-(
pepak is offline   Reply With Quote
Old 01-19-2010, 04:28 AM   #250
newowner
Junior Member
newowner began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2010
Device: sony prs-505
Question on Font update for Sony PRS-505

Hi, I'm new to the site and to ebooks and need some help with the guide. Appendix D instructions are to run PRS-505 Update 1.1.00.18040 which is the same as the latest firmware version shown on Sony's site. However, the ABOUT section on my reader list 1.1.01.25200 which seems to be a newer version. Is the information in the guide outdated or am I reading it incorrectly?

The script for modifying fonts shows VersSE.ttf with a size of 32 in the example (fig 3.3). Will 32 (or another selected size) become the default font size? Would be nice as this would eliminate zooming on existing small print.
(NOTE -current trial version (6.0) of FontCreator will not allow you to save the newly created font.

If I proceed with the process what (if any) functionality will be lost?

If a newer firmware version is posted in the future will I need to repeat the process to change fonts? If so, how does one go about modifying the guide to flash the reader with the lastest firmware.

Thanks in advance for your assistance.
newowner is offline   Reply With Quote
Old 01-23-2010, 02:06 PM   #251
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Quote:
Originally Posted by newowner View Post
Hi, I'm new to the site and to ebooks and need some help with the guide. Appendix D instructions are to run PRS-505 Update 1.1.00.18040 which is the same as the latest firmware version shown on Sony's site. However, the ABOUT section on my reader list 1.1.01.25200 which seems to be a newer version. Is the information in the guide outdated or am I reading it incorrectly?
Both. Or possibly neither. The current situation is that while there are newer firmware versions than 18040, they have no new functionality apart from different date format, and thus are considered safe for replacement with the "most popular" 18040.

Quote:
If I proceed with the process what (if any) functionality will be lost?
You will get an american date format in "books by date" instead of your british/german/whatever.

Quote:
If a newer firmware version is posted in the future will I need to repeat the process to change fonts?
The font files will remain the same (so once you modify them as necessary, back them up!), but you will need to modify this hypothetical future firmware with them again.
pepak is offline   Reply With Quote
Old 01-31-2010, 02:46 PM   #252
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
I have written an utility SonyFont for quickly and easily modifying font naming.
http://www.mobileread.com/forums/forumdisplay.php?f=141

If we ever figure out exactly how to add Bold and Italic fonts, I will update it for their support as well.
pepak is offline   Reply With Quote
Old 02-26-2010, 07:28 AM   #253
DGReader
Member
DGReader began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2010
Location: Phoenix, AZ, USA
Device: Sony Reader Pocket Edition
Thanks for writing this booklet, Valloric. Your sentence in the book "The fonts that come with the Reader are Swis721 BT, Dutch801 Rm BT and Courier10 BT, with filenames tt0003m_.ttf, tt0011m_.ttf, tt0419m_.ttf, respectively." answered the question that brought me to this page.

I'm wondering, though, can anyone tell me if there are any other fonts in the new Sony Reader Pocket Edition PRS300? I notice there were some preloaded books in German and French, complete with all foreign characters, but I don't know if those books have embedded fonts or if they're using the Reader's "native" fonts.

P.S. I should clarify that my purpose is not to make books more readable on my own Sony Reader but to convert some books with bare bones typography into books with more elegant typography. Yet I've read that embedding fonts slows down page turning, so I'm wondering if I would be able to create ePub books with more advanced typography that would be readable in an eBook reader's native fonts. Come to think of it, though, I guess I wouldn't want to go through the trouble of converting a classic if it wouldn't be readable on more than just the Sony Reader, so maybe I'm asking the wrong question here...

Last edited by DGReader; 02-26-2010 at 07:53 AM. Reason: Added clarifying information
DGReader is offline   Reply With Quote
Old 02-26-2010, 11:45 PM   #254
pepak
Fanatic
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: 594
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-505
Western glyphs are supported natively. You need extra fonts for e.g. east-european or asian languages.
pepak is offline   Reply With Quote
Old 03-06-2010, 02:15 PM   #255
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by pepak View Post
If we ever figure out exactly how to add Bold and Italic fonts, I will update it for their support as well.
I've successfully used fonts other than standard 3 in text viewers.

Did anyone try to simply put font into /opt.../fonts folder and try to reference it by name in LRF? (LRF explicitly references fonts by names)

As far as I see from reading the code, RTF needs some xml mappings etc, but LRF uses fonts folder with whatever is in it. System also loads all fonts in fonts folder regardless of their names. (I don't know where this list is used later, if at all)
kartu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 2, Changing Default Dictionary Alejandro Amazon Kindle 8 11-07-2010 01:40 PM
Is it possible to flash or changing fonts of reader without card? frodox Sony Reader Dev Corner 5 04-21-2010 08:24 AM
Changing fonts on ECO reader?? troykm HanLin eBook 2 12-23-2009 03:05 PM
Changing default font in Mobipocket? smp_iliad iRex 1 02-12-2009 09:46 PM
iLiad Changing the default sound ericshliao iRex Developer's Corner 4 12-21-2008 12:05 PM


All times are GMT -4. The time now is 10:16 AM.


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