Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2012, 04:26 PM   #3481
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
ilovejedd:
I tried to add it, but it made the interface malfunction after selecting it as separator (I'm guessing due to the special nature of the backslash as escape character). Sorry!
quisvir is offline   Reply With Quote
Old 03-01-2012, 04:29 PM   #3482
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by quisvir View Post
ilovejedd:
I tried to add it, but it made the interface malfunction after selecting it as separator (I'm guessing due to the special nature of the backslash as escape character). Sorry!
No problem. I figured it was bound to be tricky to implement. Oh well, pipe '|' character should work well enough. *sigh* Seriously, some of the pen names folks use FanFiction.Net are just so funky.
ilovejedd is offline   Reply With Quote
Advert
Old 03-02-2012, 01:58 PM   #3483
MiK77
Enthusiast
MiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enough
 
Posts: 49
Karma: 638
Join Date: Mar 2011
Device: Sony PRS 650
I'm afraid something is wrong with lang.ods at Google Docs. When I copy to me local checkout, I get errors during compilation.
MiK77 is offline   Reply With Quote
Old 03-02-2012, 06:34 PM   #3484
EldRick
Evangelist
EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!EldRick goes to infinity... and beyond!
 
Posts: 470
Karma: 112801
Join Date: Aug 2010
Device: Aura H2O (i86, M96C, Mini&Glo, PRS-950, STR, K-Touch, K-DX, K-3)
Just for the record, the directions on how to install EPUB fonts at http://www.anamardoll.com/2011/06/er...tion-with.html are a bit confusing in their wording.

The instructions seem to tell you to create your /font directory under database, i.e. READER/database/fonts, rather than placing the directory in the root, i.e. READER/fonts
EldRick is offline   Reply With Quote
Old 03-03-2012, 05:36 AM   #3485
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
You can place the fonts on any place you want. So far you write the right path in the CSS-file.
And there is one point:
This sample code
Code:
src: url(res:///Data/fonts/Charis-Regular.ttf);
means:
Code:
res:///Data/
is the reader-memory itself (root).
So 'fonts' is the folder which is placed directly on the reader.
And everything is case-sensitiv!

A.
Analogus is offline   Reply With Quote
Advert
Old 03-03-2012, 07:57 AM   #3486
Shark69
Zealot
Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.Shark69 ought to be getting tired of karma fortunes by now.
 
Shark69's Avatar
 
Posts: 136
Karma: 493152
Join Date: Mar 2012
Location: Spain
Device: Kindle Oasis 2
Quote:
Originally Posted by Analogus View Post
If there is any kind of interest, I can transtale my new functions...
Shark69 is offline   Reply With Quote
Old 03-03-2012, 08:03 AM   #3487
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
I would be interested in the code.
My knowledge in JS is very low - so your code would be much help.

A.
Analogus is offline   Reply With Quote
Old 03-04-2012, 04:09 PM   #3488
pssquirrel
ebooknut
pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.pssquirrel ought to be getting tired of karma fortunes by now.
 
pssquirrel's Avatar
 
Posts: 297
Karma: 688154
Join Date: Oct 2011
Device: Kindle Voyage & Oasis
True Landscape Mode in 2.1.01alpha?

Never mind -- I figured it out.

If anyone is trying to get true landscape mode with PRS+ 2.1 (as opposed to having that awful overlap), it's not the "Rotate" command. Instead, go to Key Bindings > [Your Choice of Button] > Book > Toggle True Landscape Mode.

This is so great!! Now to go play with all the other new features in 2.1.

Thanks PRS+ Team for the fabulous work!!

Last edited by pssquirrel; 03-04-2012 at 08:19 PM.
pssquirrel is offline   Reply With Quote
Old 03-04-2012, 06:00 PM   #3489
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
Question to developers:

I want to make the BATTERY-SYMBOL able to get switched off (at least in books).


Any simple methods to do that? Tried but struggled...

A.
Analogus is offline   Reply With Quote
Old 03-04-2012, 06:32 PM   #3490
quisvir
Addict
quisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animalsquisvir is kind to children and small, furry animals
 
quisvir's Avatar
 
Posts: 238
Karma: 6875
Join Date: Feb 2009
Location: Netherlands
Device: Kindle PW2
Something like this:
Code:
kbook.model.container.sandbox.STATUS_GROUP.sandbox.STATUS_GROUP_SUB.sandbox.STATUS_GROUP.sandbox.BATTERY_LEVEL.show(false);
If 'show' doesn't work, try 'enable'.
quisvir is offline   Reply With Quote
Old 03-05-2012, 01:09 AM   #3491
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
quisvir:

Perfect!
Thank you very much. I would have to search hours for that line...

A.

Edit:
I want to TOGGLE 'false' and 'true'. The IF..ELSE statement doesn't work. I use following question:

Code:
if  (kbook.model.container.sandbox.STATUS_GROUP.sandbox.STATUS_GROUP_SUB.sandbox.STATUS_GROUP.sandbox.BATTERY_LEVEL.show = true)
Also tried: ... === true, ...=true, ...==='true', ...show(true), ... show() = true, ...

What's my error?

Last edited by Analogus; 03-05-2012 at 03:14 AM.
Analogus is offline   Reply With Quote
Old 03-05-2012, 07:04 AM   #3492
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by Analogus View Post
I want to TOGGLE 'false' and 'true'. The IF..ELSE statement doesn't work. I use following question:

Code:
if  (kbook.model.container.sandbox.STATUS_GROUP.sandbox.STATUS_GROUP_SUB.sandbox.STATUS_GROUP.sandbox.BATTERY_LEVEL.show = true)
Also tried: ... === true, ...=true, ...==='true', ...show(true), ... show() = true, ...

What's my error?
It's a function, not property. Check visible property.

Quote:
Originally Posted by MiK77 View Post
I'm afraid something is wrong with lang.ods at Google Docs. When I copy to me local checkout, I get errors during compilation.
Most likely unescaped quote chars.
kartu is offline   Reply With Quote
Old 03-05-2012, 07:28 AM   #3493
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
kartu: Thanks! Working...

Analogus is offline   Reply With Quote
Old 03-05-2012, 01:26 PM   #3494
MiK77
Enthusiast
MiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enoughMiK77 will become famous soon enough
 
Posts: 49
Karma: 638
Join Date: Mar 2011
Device: Sony PRS 650
Quote:
Originally Posted by kartu View Post
Most likely unescaped quote chars.
How do we have to escape the double quotes? I've replaced all double quotes " by single quotes '. Now it works again.
MiK77 is offline   Reply With Quote
Old 03-05-2012, 01:43 PM   #3495
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
Originally Posted by MiK77 View Post
How do we have to escape the double quotes?
With \ if I remember correctly and had not added escaping in code and this problem is actually caused by something else.
kartu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 09:38 AM.


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