Thread: PRS-T1 Modified Sony home screen
View Single Post
Old 08-17-2012, 12:46 AM   #426
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
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
Should Reader discussions be here or in this thread?

I had a bit of a play around with the reader.xml and what is and isn't needed.

With this
Code:
<styles default="/mnt/sdcard/reader/css/default.css" />
and leaving out all the <style ..> entries both the clock and the font size overrides work. You get the default font choices, but default.css is ignored. Leaving out the <styles ...> section altogether gives the same behaviour.

Using
Code:
<styles default="/mnt/sdcard/reader/css/default.css">
</styles>
gave random behaviour. Sometimes Reader gave a force close message, sometimes it started but took a while. These surely would be some of Morkl's "nasal daemons". Don't do this!

Simplifying the first example this complete reader.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<reader pagesPerRefresh="1">
        <informationBar left="none" right="clock_hm" />
</reader>
gives you the default font size choices, a clock at the bottom and of course Morkl's bold/italic fixes.


I didn't try having the wrong number of <style ...> entries in the <styles> section.

Cheers,
Simon.
snarkophilus is offline