![]() |
#1 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() 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; } |
![]() |
![]() |
![]() |
#5 | |
Member
![]() 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:
Thanks, Ander Last edited by ander111; 12-29-2010 at 04:48 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
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 |
|
![]() |
![]() |
![]() |
#7 |
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.
|
![]() |
![]() |
#8 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
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 |
![]() |
![]() |
![]() |
#9 |
Member
![]() 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. |
![]() |
![]() |
![]() |
#10 |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#11 |
Member
![]() 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 |
![]() |
![]() |
![]() |
#12 |
Member
![]() Posts: 14
Karma: 20
Join Date: Dec 2010
Device: Sony Reader PRS-650
|
Thanks for your help with this. Cheers, Ander
|
![]() |
![]() |
![]() |
#13 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#15 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |