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 01-02-2007, 02:32 PM   #1
db100
Member
db100 is on a distinguished road
 
Posts: 19
Karma: 52
Join Date: Dec 2006
Finally understand how to put user fonts on Sony Reader!

THere are two tricky things:

1) There is a so file, called libfreetype.so.6.3.10, there's a link for this so file, called libfreetype.so.lnk. When you build your opt.fs, the path in link file is the path of your computer, not path in your SONY Reader, you need modify it by hand.

2) Once you put your user fonts under /FONT directory, you need to rebuild fonts database. If you ever tryed update fonts in linux, that's pretty much the same procedure, I guess (it is just the guess now)

Tell you, I studied all so called successful stories about implant user fonts reported here, they are very much fake. At least the Korean story is not true. The Russian story, they modified tt0003m_.ttf, since Russian fonts is not like Korean or Japanese, it is very small, so I don't think that's a standard procedure.
db100 is offline   Reply With Quote
Old 01-02-2007, 02:52 PM   #2
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
Well, looks pretty tricky to me.
You can embed fonts with PDF files, so I guess that for russian or asian languages, it's much easier to create PDF files right now.
Hadrien is offline   Reply With Quote
Advert
Old 01-02-2007, 08:03 PM   #3
NatCh
Gizmologist
NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.NatCh ought to be getting tired of karma fortunes by now.
 
NatCh's Avatar
 
Posts: 11,615
Karma: 929550
Join Date: Jan 2006
Location: Republic of Texas Embassy at Jackson, TN
Device: Pocketbook Touch HD3
True, but if there's a way to build a utility to do this for me for RTFs that'd be very nice -- it'd allow skipping the "make a PDF" step.
NatCh is offline   Reply With Quote
Old 01-17-2007, 01:45 PM   #4
tuktuk
Member
tuktuk began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2006
Device: Zaurus
Quote:
Originally Posted by db100
THere are two tricky things:

1) There is a so file, called libfreetype.so.6.3.10, there's a link for this so file, called libfreetype.so.lnk. When you build your opt.fs, the path in link file is the path of your computer, not path in your SONY Reader, you need modify it by hand.

2) Once you put your user fonts under /FONT directory, you need to rebuild fonts database. If you ever tryed update fonts in linux, that's pretty much the same procedure, I guess (it is just the guess now)

Tell you, I studied all so called successful stories about implant user fonts reported here, they are very much fake. At least the Korean story is not true. The Russian story, they modified tt0003m_.ttf, since Russian fonts is not like Korean or Japanese, it is very small, so I don't think that's a standard procedure.
Yep. So far, the localization can be done through replacing/modifying the three fonts inside the Reader. Russian and Ukrainian are already working because all you need to do is add some 30-40 glyphs that are mostly based on the existing glyphs in the font.

Yesterday I added the Japanese font that Sony used in Librie. It works; however, the small size in txt is broken (too small for the font metrics, I guess). In addition, I had to strip the font of some characters because the /opt partition (where the fonts are located) has a limited size. The maximum size of the font so far seems to be somewhere around 4.5MB. Igorsk, do you know the exact size of the /opt partition? The good thing is that this partition is in cramfs file system (which is compressed).

The fonts are copyrighted, so I don't think somebody would be sharing the modified fonts here.

I may post screenshots of Japanese text on the Reader later.

Last edited by tuktuk; 01-17-2007 at 01:53 PM.
tuktuk is offline   Reply With Quote
Old 01-17-2007, 02:22 PM   #5
db100
Member
db100 is on a distinguished road
 
Posts: 19
Karma: 52
Join Date: Dec 2006
7M total. the maximum size of fonts you can put is about 3.5M, this is problem in most of CJK fonts. You might think about modify xml file and put fonts to different location.
db100 is offline   Reply With Quote
Advert
Old 01-19-2007, 01:24 PM   #6
tuktuk
Member
tuktuk began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Sep 2006
Device: Zaurus
There is a problem with the smallest size of the characters as seen on the second picture. Other sizes work great. Any ideas how I can fix this?
Attached Thumbnails
Click image for larger version

Name:	001.jpg
Views:	1825
Size:	483.7 KB
ID:	2663   Click image for larger version

Name:	002.jpg
Views:	1803
Size:	128.4 KB
ID:	2664   Click image for larger version

Name:	003.jpg
Views:	1804
Size:	137.5 KB
ID:	2665  

Last edited by tuktuk; 01-19-2007 at 03:54 PM.
tuktuk is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-600 How do you put book in series on sony reader Asimov Sony Reader 8 04-11-2010 06:11 AM
PRS-600 Where does the sony reader put the library? Sjonnie Sony Reader 3 01-17-2010 10:43 AM
New user - finally with a Sony - resume is crucial martinalex Sony Reader 10 08-22-2007 09:56 AM
How to put manga or other pictures on the Sony Reader and have them look good too etatoby Sony Reader 14 03-29-2007 04:36 PM
Finally I got to see a Sony Reader and it's nice Liviu_5 Sony Reader 13 11-21-2006 06:43 PM


All times are GMT -4. The time now is 12:43 AM.


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