01-20-2012, 10:18 PM | #61 |
Connoisseur
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
|
|
01-20-2012, 11:45 PM | #62 | |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
Morkl - is there a way to override the location of your version of the app's shared prefs to look in /data/data/com.sony.drbd.ebook.reader/shared_prefs/com.sony.drbd.ebook.reader_preferences.xml instead? This would mean though that you'd need to have changed the permissions on a file which means it would only work on rooted T1's. I don't know what happens if you can't read your shared prefs (hopefully not a force close). Also, I guess what Jackie said about this being a rather minor point in the scheme of things is worth remembering. It could be a lot of effort for a little payback! Cheers, Simon. |
|
01-21-2012, 02:17 AM | #63 |
Connoisseur
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
|
I've uninstalled it. I've minimal root zeam. When I try to launch stock reader from app's list it does not start. When I go to books collection it works fine.
Could anybody with minimal root zeam confirm the same behavior of the stock reader app. Thanks |
01-21-2012, 09:14 PM | #64 | |||
Connoisseur
Posts: 80
Karma: 68347
Join Date: Oct 2009
Location: Sweden
Device: PRS-T1
|
New version posted, more info here.
Quote:
Quote:
Also: notes and TOC seem to me like they display Unicode fine, even in the stock Reader? A TOC that is displayed as part of the book will have to be rendered with a font containing the characters in question though. Quote:
|
|||
01-22-2012, 10:47 AM | #65 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I love the new customised font-sizes. I can now get the perfect size for my 7 different customised font-faces in varying lighting conditions without needing to reconnect to the PC. The Sony 'set default font-size' also works for me. If you don't mind, I have a couple of questions about the reader.xml file. So far I made my changes to section <fontSizeTableEpub> only:
Edit: I tried to send you some more well-deserved karma, but apparently I have to spread the love elsewhere before I can come back to you. I need to find another worthy cause Last edited by jackie_w; 01-22-2012 at 10:53 AM. |
|
01-22-2012, 11:07 AM | #66 | |
Connoisseur
Posts: 80
Karma: 68347
Join Date: Oct 2009
Location: Sweden
Device: PRS-T1
|
Quote:
Anyhow, it uses the stock version of any table it doesn't find in the XML, so it should be safe to erase the ones you don't use. |
|
01-22-2012, 04:27 PM | #67 |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Morkl - dare I ask when we'll be able to change the reader.xml settings from within your modified app? If adding extra config screens to the existing Reader app isn't scalable I would certainly be very happy with a separate app to change the settings.
For a couple of wishlist items: On my 350, if I go to the not-first page of the TOC, do something else, and return to the TOC, I go to the last page of the TOC I was looking at. On the T1, you always return to the first page of the TOC. I often use the TOC to work out how far until the end of the current chapter. Another nice feature of PRS+ is the ability to change the mappings of keys. For example, I re-map a long-press-on-home to go to the TOC (see above for how I use this). Do you think this sort of thing is possible? Cheers, Simon. |
01-22-2012, 05:04 PM | #68 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Regarding wishlist items for the reader app...
... At the moment selecting a new custom font remaps both the 4 serif and 4 sans-serif @font-faces to the selected custom font. Some ebooks deliberately style passages of text as font-family: sans-serif or monospace for emphasis. It would be good not to lose these. In my css/style.css file I have remapped all 3 generic font-families (serif, sans-serif, monospace) and I was pleasantly surprised to find that when I select a new custom font (via the reader app) the monospace custom font is retained. I thought it would be quite nice to have an option (in reader.xml) to NOT remap the 4 sans-serif @font-faces. In this way sans-serif styling would not only be retained when selecting a font other than 'Original' but would also be displayed in custom sans-serif font of choice. Quote:
P.S. I hope you don't regret starting this development work... the requests may keep on coming |
|
01-22-2012, 11:30 PM | #69 |
ebooknut
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
|
I have been following this thread with great interest, but must admit that almost everything except the CSS discussion is going over my head. At this point I have one very basic question: Do I understand correctly that I need a PC to install the modified Reader? I cannot do it using a Mac? Thx!
Last edited by pssquirrel; 01-22-2012 at 11:31 PM. Reason: typo |
01-22-2012, 11:53 PM | #70 | |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
I'm afraid I don't know if you can install it on to a non-rooted T1 with a Mac. Cheers, Simon. |
|
01-23-2012, 07:03 AM | #71 | |||
Connoisseur
Posts: 80
Karma: 68347
Join Date: Oct 2009
Location: Sweden
Device: PRS-T1
|
Quote:
Key mappings is definitely possible; I just have to figure out the key event handling first. Quote:
Quote:
|
|||
01-23-2012, 07:52 AM | #72 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I just thought my later suggestion may be easier to implement and you could customise 7 serifs + 1 sans + 1 mono (I've also added 1 smallcaps and 1 fancy dropcap), which may be enough for most. Anyway, the decision is entirely yours. I'm much happier with your reader app as-is than I was with the original because it's no longer necessary to manually force any T1-specific css into each epub. This is much appreciated when you may want to read on any of several different reader models. |
|
01-23-2012, 12:42 PM | #73 | ||
Connoisseur
Posts: 62
Karma: 36180
Join Date: Dec 2011
Location: US East Coast
Device: Kobo Aura HD, Kindle 4, Sony PRS-T1 (formerly PRS-500 & 505), iPad Air
|
Quote:
<font name="Amasis" type="serif" regular="AmasisMTW1G.otf" italic="AmasisMTW1G-Italic.otf" bold="AmasisMTW1G-Bold.otf" bolditalic="AmasisMTW1G-BoldItalic.otf" /> <font name="Univers Next" type="sans-serif" regular="UniversNextW1G-Regular.otf" italic="UniversNextW1G-Italic.otf" bold="UniversNextW1G-Bold.otf" bolditalic="UniversNextW1G-BoldItalic.otf" /> But then, one of my font-selector choices is a serif CJK font and the custom-Original font in my css is Western. (I read in English most of the time, but sometimes need the CJK font.) So with the CJK font, I need both serif and sans-serif refer to the CJK font... Of course, if I can choose between two css's on the fly (one for English, the other for CJK), that would be the most ideal. Or would it be possible to define something like this? (two lines defining one entry (same name, different types)): <font name="CJK Font" type="serif" regular="CJK_serif_R.otf" italic="CJK_serif_I.otf" bold="CJK_serif_B.otf" bolditalic="CJK_serif_BI.otf" /> <font name="CJK Font" type="sans-serif" regular="CJK_sans_R.otf" italic="CJK_sans_I.otf" bold="CJK_sans_B.otf" bolditalic="CJK_sans_BI.otf" /> Quote:
Last edited by soseono; 01-23-2012 at 12:59 PM. |
||
01-25-2012, 08:30 AM | #74 |
Connoisseur
Posts: 62
Karma: 36180
Join Date: Dec 2011
Location: US East Coast
Device: Kobo Aura HD, Kindle 4, Sony PRS-T1 (formerly PRS-500 & 505), iPad Air
|
Here's another idea... Can the font-selector work double-duty also as a css-picker? For instance: (assuming that all css files are in the same location as the current style.css)
<font name="Amasis" type="serif" regular="AmasisMTW1G.otf" italic="AmasisMTW1G-Italic.otf" bold="AmasisMTW1G-Bold.otf" bolditalic="AmasisMTW1G-BoldItalic.otf" /> <font name="Univers Next" type="sans-serif" regular="UniversNextW1G-Regular.otf" italic="UniversNextW1G-Italic.otf" bold="UniversNextW1G-Bold.otf" bolditalic="UniversNextW1G-BoldItalic.otf" /> <font name="Western Style 2" type="css" filename="style2.css" /> <font name="CJK Font" type="css" filename="CJKstyle.css" /> Just throwing some ideas out in the open... |
01-25-2012, 10:10 AM | #75 |
Enthusiast
Posts: 30
Karma: 15142
Join Date: Sep 2010
Device: SONY PRS-T1
|
Morkl, thank you for your great work!
I've just two questions: - What is the unit of the font sizes defined in the <fontSizeTableXXX> sections? - Would it be possible to specify the path to the custom CSS file via the configuration XML instad of hard-coded importing the [READER]\css\style.css? soseono, a good idea, +1 |
Tags |
css, fonts |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-350 Changing Fonts in PRS+ | spacebrew | Sony Reader Dev Corner | 31 | 08-24-2012 06:29 AM |
PRS-350 PRS 350 & PRS+: Changing LRF-fonts permanently | Analogus | Sony Reader Dev Corner | 21 | 11-08-2011 11:55 AM |
Am i doing it right?PRS+ and CSS forced Epub fonts via Calibre | melkorbauglir | Sony Reader | 20 | 07-29-2011 10:09 AM |
How does the fonts of PRS-350 and PRS-650 compare to each other? | lkkmaths | Sony Reader | 16 | 04-08-2011 07:43 PM |
Changing text size and fonts with PRS 505 | levi_john | Sony Reader | 1 | 01-20-2009 03:25 AM |