Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-07-2010, 12:27 PM   #1
mboyaci
Member
mboyaci began at the beginning.
 
Posts: 21
Karma: 16
Join Date: Sep 2010
Location: Cyprus
Device: Sony PRS 650, Kindle Paperwhite, Kindle Voyage
PRS 650 Firmware and userStyle.css

Hi,

I just flashed my Sony PRS 650 with firmware 1.05f (also tried 1.05e). The firmware seems to be working as I can see the clock on the main screen.

Unfortunately I cannot get the device to use the fonts specified in the userStyle.css file. I know the proper fonts are there because when I modify the extra CSS section in Calibre to use these fonts the books display with the proper fonts.

Any help will be appreciated.
mboyaci is offline   Reply With Quote
Old 12-07-2010, 01:34 PM   #2
edbro
Banned
edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.edbro is fluent in JavaScript as well as Klingon.
 
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
Did you put the new fonts on the device? It will show in Calibre because the fonts are available on your computer. When you view it on the reader, the fonts need to be available there also.
edbro is offline   Reply With Quote
Advert
Old 12-07-2010, 04:02 PM   #3
frquixote
Addict
frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.frquixote ought to be getting tired of karma fortunes by now.
 
Posts: 230
Karma: 2448688
Join Date: Mar 2006
Location: Kapolei, Oahu, HI
Device: KOBO Libra 2, Kindle PW3, Samsung 8A Tablet, Samsung S10e Phone
There seem to be two threads on this topic. Can you combine them? Also, please clarify whether the firmware you are discussing is Sony authorized or one of the hacks. If Sony authorized, please tell us where to find it. If otherwise, please identify which of the extensions you are referring to. Thanks.
frquixote is offline   Reply With Quote
Old 12-08-2010, 04:09 PM   #4
mboyaci
Member
mboyaci began at the beginning.
 
Posts: 21
Karma: 16
Join Date: Sep 2010
Location: Cyprus
Device: Sony PRS 650, Kindle Paperwhite, Kindle Voyage
One of the two threads was started by mistake. Please ignore the other thread.

The fonts are loaded on the device. As I said if I modify the css section in Calibre I can see the fonts. Also the firmware is the "Russified" 1.05f version not the original.

I have solved my problem by modifying the userStyle.css file slightly (originally it didn't have the body {} section):

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: normal;
font-style: normal;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed.ttf);
}

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: bold;
font-style: normal;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed-Bold.ttf);
}

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: normal;
font-style: italic;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed-Italic.ttf);
}

@font-face {
font-family: "DejaVu Serif Condensed";
font-weight: bold;
font-style: italic;
src: url(res:///Data/epub/FONT/DejaVu/DejaVuSerifCondensed-BoldItalic.ttf);
}

body {
font-family: "DejaVu Serif Condensed";
}

@font-face {
font-family: "sans-serif1";
src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf);
}

h1 {
font-family: sans-serif1, sans-serif;
}
mboyaci is offline   Reply With Quote
Old 12-24-2010, 04:14 AM   #5
ander111
Member
ander111 began at the beginning.
 
ander111's Avatar
 
Posts: 14
Karma: 20
Join Date: Dec 2010
Device: Sony Reader PRS-650
This thread is very helpful. I'm pleased to see we do have choices about fonts on our Sony Readers. It'd be great if we could choose fonts on the Reader itself, but the method here is certainly doable.

Quote:
Originally Posted by mboyaci View Post
I just flashed my Sony PRS 650 with firmware 1.05f (also tried 1.05e). The firmware seems to be working as I can see the clock on the main screen...
There's a firmware update for the PRS-650? Where did you find it? I've visited Sony's PRS-650 downloads section, but the only file there is the latest version of the Reader Library Software.

Thanks, Ander

Last edited by ander111; 12-29-2010 at 04:48 AM.
ander111 is offline   Reply With Quote
Advert
Old 12-24-2010, 05:09 AM   #6
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Quote:
Originally Posted by ander111 View Post
There's a firmware update for the PRS-650? Where did you find it? I've visited Sony's PRS-650 downloads section, but the only file there is the latest version of the Reader Library Software.
mboyaci is refering to a "unofficial-homebrew" AKA "russified" firmware mod.

Refere to here:the-ebook.org
and this thread here at MR
flashing the firmware
userstyle.css and epub margins

or simply use search-forum

HTM
Mark
Mark Nord is offline   Reply With Quote
Old 12-25-2010, 12:24 PM   #7
jswinden
Nameless Being
 
@ander111, even though this thread is for the russified firmware, you can add fonts to your Sony firmware Reader too. Do a search in the forums. The method is very similar.
  Reply With Quote
Old 12-25-2010, 06:21 PM   #8
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 jswinden View Post
@ander111, even though this thread is for the russified firmware, you can add fonts to your Sony firmware Reader too. Do a search in the forums. The method is very similar.
What you are talking about is adding (embedding) fonts or font references to the actual EPUB files. Even though the method may be similar, but the principle is very different. The "Russified FW" enabling pepak's hack allows you to add a global defaults file to the Reader instead of modifying each and every EPUB file you happen to buy or download.

Last edited by porkupan; 12-25-2010 at 10:52 PM. Reason: grammar
porkupan is offline   Reply With Quote
Old 12-28-2010, 06:11 AM   #9
ander111
Member
ander111 began at the beginning.
 
ander111's Avatar
 
Posts: 14
Karma: 20
Join Date: Dec 2010
Device: Sony Reader PRS-650
Okay, I've read more forum threads now. There's still some confusion and contradiction on this topic, but here's what seems to be true:

_ To specify an individual book's font, you can use Calibre to convert it to LRF format, which includes font options.

_ To specify a default font for all books, you must follow this procedure, which requires you to flash your Reader with the Boroda hacked firmware. You can then set the default font for all EPUB books on your device (and presumably use an app like Calibre to convert your non-EPUB books before loading them).

Is that about right?

(P.S.: Isn't it weird how this forum doesn't underline links? It makes them a tiny bit darker. But it's too subtle for me to see here on my laptop display, so I've added manual underlines. I wonder what they were thinking?)

Last edited by ander111; 12-29-2010 at 04:49 AM.
ander111 is offline   Reply With Quote
Old 12-28-2010, 07:24 AM   #10
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Hi ander111,
ad1) you can also incluce fonts to epubs with calibre
ad2) with the "russified" fw you also get a hacked (pepak) Adobe-Viewer so you can setup default userStyle.css with some fonts copied to the IM of your reader. Works only with EPUB.
For RTF/Txt the systemfonts are used. These got replaced by the hack to.
See availiable glyphs here

To your PS: Links become underlined after posting, but arn't in Preview. No need to underline manually.
HTH
Mark
Mark Nord is offline   Reply With Quote
Old 12-31-2010, 02:53 AM   #11
mboyaci
Member
mboyaci began at the beginning.
 
Posts: 21
Karma: 16
Join Date: Sep 2010
Location: Cyprus
Device: Sony PRS 650, Kindle Paperwhite, Kindle Voyage
Hi Ander,

"_ To specify a default font for all books, you must follow this procedure, which requires you to flash your Reader with the Boroda hacked firmware. You can then set the default font for all EPUB books on your device (and presumably use an app like Calibre to convert your non-EPUB books before loading them)."

This is exactly what I have done. Flashed the firmware, copied the DejaVu fonts to the reader and set them as default. Now I use Calibre to convert my non epub books to epub so I can read them on my PRS 650 or iPad.

Mehmet
mboyaci is offline   Reply With Quote
Old 01-09-2011, 05:18 AM   #12
ander111
Member
ander111 began at the beginning.
 
ander111's Avatar
 
Posts: 14
Karma: 20
Join Date: Dec 2010
Device: Sony Reader PRS-650
Thanks for your help with this. Cheers, Ander
ander111 is offline   Reply With Quote
Old 01-09-2011, 07:02 AM   #13
oddman5
Member
oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.
 
Posts: 11
Karma: 166284
Join Date: Dec 2009
Device: Kindle Voyage, Kobo Forma
I am also running "russified" prs 650, and have changed default font. But it seems that some books still have sony default font, or something similar. Does anybody know why?
(All books are epub format, and have drm removed).

Last edited by oddman5; 01-09-2011 at 07:19 AM.
oddman5 is offline   Reply With Quote
Old 01-09-2011, 11:28 AM   #14
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@oddman5,

Without seeing the epub it isn't possible to be certain, but you should look at the css file contained in the epub with a text editor and look for instances of font-family:xyz; or font-family:"xyz";

One or more of them is probably not set to match your userStyle.css.

You can edit the css and replace it in the epub, then try it again on your reader.

If you're using Calibre to manage your books, the Tweak-epub option is your friend.
jackie_w is offline   Reply With Quote
Old 01-10-2011, 02:01 AM   #15
oddman5
Member
oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.oddman5 can program the VCR without an owner's manual.
 
Posts: 11
Karma: 166284
Join Date: Dec 2009
Device: Kindle Voyage, Kobo Forma
@jackie_w

Thanks Jackie. I use Calibre, and I will try this later today.
I see in one book that it has font-family:"serif"; in the css file.
Can I just replace "serif" with for example "arial" on all instances where it occurs?

Last edited by oddman5; 01-10-2011 at 02:06 AM.
oddman5 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
user accessable userStyle.css please tselling PocketBook 14 02-25-2022 05:27 PM
prs-650 firmware on prs-600? omk3 Sony Reader Dev Corner 5 03-01-2011 02:38 PM
PRS 650 Firmware and userStyle.css mboyaci Sony Reader 1 12-07-2010 03:59 PM
userstyle.css and epub margins tselling Sony Reader Dev Corner 8 10-28-2010 01:51 PM
ADE mit userstyle css mtravellerh PocketBook 0 05-21-2010 03:40 PM


All times are GMT -4. The time now is 03:13 AM.


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