Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-27-2013, 04:10 PM   #496
jackie_w
Wizard
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: 2,909
Karma: 4329601
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
Quote:
Originally Posted by ousia View Post
What I wanted to achieve is a way to apply those fonts when font-variant: small-caps is invoked in the CSS file.

But it seems there is no way to do that. I will have to manually edit every ePub file that contains small caps.
The difficulty is not knowing what css class selector name will be used for smallcaps in your many and varied epubs. I think the best you would be able to do is to add something like the following to your default.css file
Code:
.smallcaps, .smallcaps1, .smallcaps2, .small-caps, .sc, .fsc, .smallCaps, .Smallcaps, .SmallCaps {
    font-family: serifsc, serif;
    font-variant: normal;
    }
where the red bit is a list of the class names you think might have been used. You will catch some that way, but it's obviously guesswork
jackie_w is offline   Reply With Quote
Old 04-27-2013, 05:45 PM   #497
Nick_1964
Bookworm
Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.Nick_1964 can self-interpret dreams as they happen.
 
Nick_1964's Avatar
 
Posts: 382
Karma: 20000
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Aura HD, Kobo Glo
Quote:
Originally Posted by ousia View Post
Thanks for your reply, NIck_1964.

I remove the fonts embedded in the ePub using a compression tool and I edit CSS or HTML files with a plain text editor. (I use calibre only for the ebook-viewer [the ePub reader].)

I have added two lines to the default.css file:

Code:
@font-face {font-family: serifsc; font-weight: normal; font-style: normal; src:url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/FreeSerifSC.ttf);}
@font-face {font-family: serifsc; font-weight: bold; font-style: normal; src:url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/FreeSerifBoldSC.ttf);}
What I wanted to achieve is a way to apply those fonts when font-variant: small-caps is invoked in the CSS file.

But it seems there is no way to do that. I will have to manually edit every ePub file that contains small caps.
Use sigil, you can edit an ebook without compressing,decompressing,remove fonts or css.
Nick_1964 is offline   Reply With Quote
Old 04-27-2013, 09:15 PM   #498
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,530
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by jackie_w View Post
The difficulty is not knowing what css class selector name will be used for smallcaps in your many and varied epubs. I think the best you would be able to do is to add something like the following to your default.css file
Code:
.smallcaps, .smallcaps1, .smallcaps2, .small-caps, .sc, .fsc, .smallCaps, .Smallcaps, .SmallCaps {
    font-family: serifsc, serif;
    font-variant: normal;
    }
where the red bit is a list of the class names you think might have been used. You will catch some that way, but it's obviously guesswork
But you still have to go into the ePub's XML files and convert the smallcaps text to lowercase as the simulated smallcaps use uppercase text. I have never seen simulated smallcaps that are not in uppercase.
JSWolf is offline   Reply With Quote
Old 04-27-2013, 09:42 PM   #499
jackie_w
Wizard
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: 2,909
Karma: 4329601
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
@JSWolf,

But in post #493 ousia said the text is in lowercase.
jackie_w is offline   Reply With Quote
Old 04-27-2013, 10:05 PM   #500
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,530
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by jackie_w View Post
@JSWolf,

But in post #493 ousia said the text is in lowercase.
Actually, he said...

Quote:
In my ePubs (at least in some of them) the spans marked for the use smallcap font are already in lowercase.
So not all are lowercase. And that means converting the uppercase to lowercase.

There is something wrong with those ePub that have lowercase smallcaps as you cannot simulate smallcaps with lowercase.
JSWolf is offline   Reply With Quote
Old 04-28-2013, 07:14 AM   #501
ousia
Enthusiast
ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.ousia writes the songs that make the whole world sing.
 
Posts: 28
Karma: 40680
Join Date: Aug 2012
Device: Sony PRS-T1
Many thanks your replies, jackie_w, Nick_1964 and JSWolf.

Quote:
Originally Posted by jackie_w View Post
The difficulty is not knowing what css class selector name will be used for smallcaps in your many and varied epubs. I think the best you would be able to do is to add something like the following to your default.css file
Code:
.smallcaps, .smallcaps1, .smallcaps2, .small-caps, .sc, .fsc, .smallCaps, .Smallcaps, .SmallCaps {
    font-family: serifsc, serif;
    font-variant: normal;
    }
where the red bit is a list of the class names you think might have been used. You will catch some that way, but it's obviously guesswork
I think it would be easier to edit each file that uses small caps (I donít have many ones).

What I intended is something like:

Code:
IF font-variant: small-caps
    THEN USE font-family: serifsc
But now I know this is impossible. After all, this is a workaround for a bug in Adobe Reader Mobile and I think that my fix can do the work.

Quote:
Originally Posted by Nick_1964 View Post
Use sigil, you can edit an ebook without compressing,decompressing,remove fonts or css.
Thanks for the tip.

Iím fine with 7-Zip in Windows or file-roller in Linux. They do the work for me. Compression and decompression is automatically performed.

Quote:
Originally Posted by JSWolf View Post
But you still have to go into the ePub's XML files and convert the smallcaps text to lowercase as the simulated smallcaps use uppercase text. I have never seen simulated smallcaps that are not in uppercase.
Sorry, Iím afraid I havenít expressed myself in an accurate way.

There is a way to use (not even simulate) small caps with lowercase letters. It requires to create a font that replaces all lowercase glyphs with the small caps ones. And then use that font.

This exactly the way small caps are used in this ePub file.

Quote:
Originally Posted by JSWolf View Post
Actually, he said...

Quote:
In my ePubs (at least in some of them) the spans marked for the use smallcap font are already in lowercase.
So not all are lowercase. And that means converting the uppercase to lowercase.
Youíre right: not all books are in lowercase. I have books that have faked small caps with all in uppercase characters. But I donít have problems with this, because I donít mind that small caps are faked in this case.

What I meant too is that I havenít checked them all .

Quote:
Originally Posted by JSWolf View Post
There is something wrong with those ePub that have lowercase small caps as you cannot simulate small caps with lowercase.
I hope it is clear now how I can be achieved. Iím not faking smallcaps, Iím using the real glyphs.

Many thanks again for all your replies.
ousia is offline   Reply With Quote
Old 04-28-2013, 10:46 PM   #502
leo007
Junior Member
leo007 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2013
Device: Sony PRS T1
EReader June

I personaly think that the information bar (in EReader June) is to hight for the page number & clock, how to make it shorter? Thank you very much
leo007 is offline   Reply With Quote
Old 05-31-2013, 12:28 AM   #503
gonzule
before sleep, read or TV?
gonzule began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Apr 2008
Location: Chile
Device: Sony Reader PRS-T1
Quote:
Originally Posted by frankynov View Post
I saw that there was a new firmware recently : 1.0.05.11130
I just wanted to know, is the "June Reader" with the flicker free pages turning still compatible with this firmware without rooting ?
i would like to know the same. last time i rooted i started having some issues with the dictionary (a long time ago), Now i installed 1.0.05.11130 and the dictionary problems are solved (and the device became un rooted), but i miss the clock adn battery indicators at the bottom
gonzule is offline   Reply With Quote
Old 07-11-2013, 04:13 AM   #504
keba
Junior Member
keba began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2012
Device: PRS-T1
Hi, I was wondering if it was possible to add RTL support to the modified reader. In normal html documents, this is done by either using

Quote:
<body dir="rtl">
or in the .css file:
Quote:
direction: rtl; /* Right to left */
I was hoping it would be possible to add this. Essentially, only the letter order has to be reversed, and the standard alignment is to be switched to right, although this needs to be done for "justified" alignment too. Then, the missing fonts for those languages could simply be integrated in the epub file. Is that possible?
keba is offline   Reply With Quote
Old 11-27-2013, 06:31 AM   #505
bartch
Junior Member
bartch began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-t1
Quote:
Originally Posted by jackie_w View Post
That sounds encouraging for rooted users Something extra, and vital, included in the non-root install procedure, it seems.
Strange, when I installed the Unrooted version on my rooted reader (btw, i also repartitioned my prs-t1), I only got the clock after a reboot, but the partly refresh options were gone..as if only a part of the XML config file was reloaded.
I think that the programs installed in Dalvik cache take over again after a reboot/reset..
So, i openend the system/app map with ES explorer and deleted the ebookReader.apk and ebookReader.odex, installled the modified APK again, and now everything is working, even after a reboot/reset.

Grtz
Bart
bartch is offline   Reply With Quote
Old 12-14-2013, 08:13 AM   #506
michailbachtin
Member
michailbachtin began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2013
Device: Sony PSR-1
I have been anxiously awaiting the new version of the JuneReader software that removes the 200 character highlighting limit for non-DRM material. Have I missed the download somewhere? I really need it for academic work.

I would be thankful for any info on this topic.
michailbachtin is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-T1 Sony Home Screen has a hidden app launcher!!! uboot Sony Reader Dev Corner 12 01-11-2012 04:21 PM
I've lost my home screen Paulc15 Kobo Tablets 12 11-16-2011 02:19 PM
Home Screen, do you use it? Breila Barnes & Noble NOOK 7 06-27-2011 10:01 AM
PRS-950 Modified firmware with clock and other features - updated with latest Sony 2.0 rev gardenstate Sony Reader 6 12-27-2010 07:06 AM
What wallpaper do you have on your Home Screen? naivejenni Lounge 31 12-08-2010 06:44 PM


All times are GMT -4. The time now is 12:08 PM.


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