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 08-11-2011, 11:01 PM   #2356
BeccaAnn
Groupie
BeccaAnn will become famous soon enoughBeccaAnn will become famous soon enoughBeccaAnn will become famous soon enoughBeccaAnn will become famous soon enoughBeccaAnn will become famous soon enoughBeccaAnn will become famous soon enough
 
BeccaAnn's Avatar
 
Posts: 180
Karma: 660
Join Date: Aug 2009
Location: Spearfish, SD, USA
Device: Sony PRS-505
I'm still having problems with PRS+ seeing collections on my 505. I did what what suggested in the thread I started, which was trying to see the collections in safe mode. When in safe mode, the reader doesn't see the collections from my MS/SD cards, only on the internal memory. If I delete everything off the card and reload the card, then the collections will be seen until the reader reboots for some reason.
I was told I didn't need collections because I have folders but my folders are saved under authors' names and not the series (collections) that I use to choose what to read next. I use Calibre 0.7.12 to load my books to the reader.
BeccaAnn is offline   Reply With Quote
Old 08-11-2011, 11:55 PM   #2357
elcreative
Wizard
elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.
 
Posts: 2,888
Karma: 5875940
Join Date: Dec 2007
Device: PRS505, 600, 350, 650, Nexus 7, Note III, iPad 4 etc
Don't know if it will help or not but you are using a very old version of calibre... it's currently 0.8.13 for PC and Mac (0.7.28 for non-Intel Mac), also you can put your series (collections ) in sub-folders within the author folders... sub-folders work fine...
elcreative is offline   Reply With Quote
 
Advertisement
Old 08-15-2011, 04:37 PM   #2358
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 818
Karma: 178742
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1
TechTalk:

While searching the sources to find a solution to the LRF-StandbyImage problem with PRS-505 I came across some interesting definitions in kbook.kbookPage [EDIT] for x50 models [/EDIT]
  1. kbookPage.canDoubleTap: if set to function {return false} doubletap on a book-page no longer opens the dictionary. This feature is often asked over at the-ebook.org
  2. kbookPage.borderColor by modifying this, the annoying grey-border mostly with PDF's, can be removed (actually be replaced with white)
  3. kbookPage.NoMarkOverlapArea there are several complaints about the repeated lines on the second half page in landscape-mode. With a PRS-505 this repeated lines a greyed-out, and there is code in this.kbook.kbookPage.draw for the x50 to do so too.

While 1 and 2 are already working, I see no differences when changing 3.

It's to early to push to the repository, but I will attach the code of x50_ViewerSettings - Addon

Spoiler:
Code:
// Name: x50_ViewerSettings
// Description: Allows to choose if Overlap in 2page mode is masked, disables doubleTapAction and so dictionary
// Author: Mark Nord
//
// History:
//	2011-08-15 Mark Nord - Initial version


tmp = function() {

	switch (Core.config.model) {
	case "505":
	case "300":
	case "600":
		return;	
		break;
	default:       
	}

	// Localize	 	
	var L = Core.lang.getLocalizer("x50_ViewerSettings");

	// Constants

	var x50_ViewerSettings = {
		name: "x50_ViewerSettings",
		settingsGroup: "viewer",
		optionDefs: [
			{
				name: "NotMarkOverlapArea",
				title: L("OPTION_NOTMARKOVERLAP"),
				icon: "SETTINGS",
				defaultValue: "true",
				values: ["true", "false"],
				valueTitles: {
					"true": L("VALUE_TRUE"),
					"false": L("VALUE_FALSE")
				}
			},	
			{
				name: "NoDictionary",
				title: L("OPTION_NODICT"),
				icon: "SETTINGS",
				defaultValue: "false",
				values: ["true", "false"],
				valueTitles: {
					"true": L("VALUE_TRUE"),
					"false": L("VALUE_FALSE")
				}
			},	
			{
				name: "BorderColor",
				title: L("OPTION_BORDERCOLOR"),
				icon: "SETTINGS",
				defaultValue: "grey",
				values: ["grey", "white"],
				valueTitles: {
					"grey": L("VALUE_GREY"),
					"white": L("VALUE_WHITE")
				}									
			}
		],
		/**
		* @constructor
		*/
		onPreInit: function () {
		},
		onInit: function () {
		 onSettingsChanged();
		},
		onSettingsChanged: function (propertyName, oldValue, newValue, object) {
		//	var log = Core.log.getLogger("x50_ViewerSettings");
			kbook.kbookPage.NotMarkOverlapArea = x50_ViewerSettings.options.NotMarkOverlapArea === "true";
			kbook.kbookPage.canDoubleTap = (x50_ViewerSettings.options.NoDictionary ==="true") ? function () {return false;} : function () {return true;};
		//	log.trace("kbook.kbookPage.canDoubleTap "+kbook.kbookPage.canDoubleTap.call() , "trace");
			if (x50_ViewerSettings.options.BorderColor ==='grey') 
				{kbook.kbookPage.borderColor=Color.rgb.parse('#6D6D6D')
			} else { kbook.kbookPage.borderColor=Color.rgb.parse('white')
			}		
		}	
	};

	Core.addAddon(x50_ViewerSettings);
};
try {
	tmp();
} catch (e) {
	// Core's log
	log.error("in x50_ViewerSettings.js", e);
}


Any comments or hints are highly welcome.

Last edited by Mark Nord; 08-16-2011 at 03:06 AM. Reason: added x50
Mark Nord is offline   Reply With Quote
Old 08-17-2011, 05:41 PM   #2359
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 818
Karma: 178742
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1
Wow overwhelming reactions

But I've managed to get 3 working as well.
For a unknown reason kbook.kbookPage.NotMarkOverlapArea will be reset to "true". So I had to overload kbook.kbookPage.draw and set NotMarkOverlapArea = false there.
This way the overlapping lines in landscape mode are again greyed on my PRS-650.
Mark Nord is offline   Reply With Quote
Old 08-17-2011, 10:32 PM   #2360
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,907
Karma: 4329387
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
Quote:
Originally Posted by Mark Nord View Post
Wow overwhelming reactions
This way the overlapping lines in landscape mode are again greyed on my PRS-650.
This change would be very welcome. Any idea if/when it may become available to the rest of us?
jackie_w is offline   Reply With Quote
Old 08-18-2011, 04:08 PM   #2361
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 818
Karma: 178742
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1
Quote:
Originally Posted by jackie_w View Post
This change would be very welcome. Any idea if/when it may become available to the rest of us?
Thank you Jackie!

Some feedback and acknowledgement is always welcome!

Expect the new addon pushed to the repository this weekend.
Then you can pull the changes and build your own custom installer.

Otherwise this will be included in the next "official" PRS+ build.

Kind regards
Mark
Mark Nord is offline   Reply With Quote
Old 08-18-2011, 04:40 PM   #2362
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
Great job Mark.
Please put these into "Advanced Settings" addon.
kartu is offline   Reply With Quote
Old 08-18-2011, 05:23 PM   #2363
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 818
Karma: 178742
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1
Thanks kartu!

But pardon me. Where to put it into?
I have now a new addon "x50_ViewerSettings.js", with the various options placed under PRS+Settings / Book-Viewer-Settings, which makes perfect sense for me.
Mark Nord is offline   Reply With Quote
Old 08-18-2011, 06:37 PM   #2364
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
Oh well, leave it there then.

PS
On a reader device, a lot of settings fall into "viewer settings" category. Most "disable doubleclick reader" users would refer to this feature as "disabling dictionary". Rationale for "advanced" settings is: you can throw a bunch of different stuff there, users won't get confused or complain.

Last edited by kartu; 08-19-2011 at 04:22 AM.
kartu is offline   Reply With Quote
Old 08-19-2011, 04:13 AM   #2365
yolan
Connoisseur
yolan began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Aug 2009
Device: Sony PRS-650 & Kindle PW
Hi there.

Just installed new version of PRS+ on my 505 and I really love the LRF font scaling funtionality !! NOW scaling can be really useful.

I have a couple of questions, I hope you excuse me if this is already explained, but I was unable to find the answers among the 158 page thread :-)

1.- In the menu customization, is there a reason why positions 2 and 10 are locked?
2.- Can't be font scaling settings applied when reading ePub also? I know you can change epub text size via CSS, but when my eyes get tired I would be great to just press the zoom and get a nice slightly larger text without digging into PRS settings...


Also, is there a way to tell the reader to re-page all open books for example after LRF scaling or after changing the default font?

Thank you for this awsome piece of software
yolan is offline   Reply With Quote
Old 08-19-2011, 04:22 AM   #2366
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
yolan
Quote:
1.- In the menu customization, is there a reason why positions 2 and 10 are locked?
Yes, system is referencing those in a hardcore way.

Quote:
Can't be font scaling settings applied when reading ePub also?
EPUB viewer doesn't have such concept (it would somewhat contradict what's CSS as it can contain both relative/absolute sizes). Well formed EPUB should be easy to scale with css like "body {font-size: 1.2em}".
kartu is offline   Reply With Quote
Old 08-19-2011, 04:36 AM   #2367
Mark Nord
2B || !2B
Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.Mark Nord can program the VCR without an owner's manual.
 
Posts: 818
Karma: 178742
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1
Quote:
Originally Posted by kartu View Post
PS
On a reader device, a lot of settings fall into "viewer settings" category. Most "disable doubleclick reader" users would refer to this feature as "disabling dictionary". Rationale for "advanced" settings is: you can throw a bunch of different stuff there, users won't get confused or complain.
So open a new PRS+ Settings option "Advanced Settings" or add these new options to the standard UI Advanced Settings?

(If the second I think there should be some code in PRS+ for 505 - rescan internal memory - to demonstrate the principle)

PS: "Book-Viewer-Settings" there is only "EPUB user-style" right now, or am I missing something?

Last edited by Mark Nord; 08-19-2011 at 04:38 AM.
Mark Nord is offline   Reply With Quote
Old 08-19-2011, 04:43 AM   #2368
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:
So open a new PRS+ Settings option "Advanced Settings" or add these new options to the standard UI Advanced Settings?
The first choice please.

Quote:
(If the second I think there should be some code in PRS+ for 505 - rescan internal memory - to demonstrate the principle)
Wouldn't the way used for putting stuff into "viewer settings" work?
kartu is offline   Reply With Quote
Old 08-19-2011, 06:09 AM   #2369
yolan
Connoisseur
yolan began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Aug 2009
Device: Sony PRS-650 & Kindle PW
Quote:
Originally Posted by kartu View Post
yolan

EPUB viewer doesn't have such concept (it would somewhat contradict what's CSS as it can contain both relative/absolute sizes). Well formed EPUB should be easy to scale with css like "body {font-size: 1.2em}".
Thanks Kartu.

But I don't understand ... I mean, the reader already handles text scaling in EPUB by default, like in LRF. The user experience is the same, although maybe internally it is handled by different processes, I guess??

What I would like is to keep having the same user experience in both LRF and EPUB after tweaking the default scaling factors. So for my EPUB I set a base CSS with my preferred font and size, but when I get a bit tired, currently I have two options:
- choose another CSS file with a bit larger font size
- more comfortable -> press zoom and accept that i will get the reader's default scaling factor, which is probably larger than I need -> is not possibe to tweak this scaling factors to match LRF custom settings?

I'm just saying, the user experience would be more consistent if the custom scaling steps could be set for ALL the books, whatever format.
I can't imagine my mother trying to figure out if this one book is LRF or ePUB so she can decide the best way to enlarge text to a readable size whenever she gets tired eyes...

I was just wondering if maybe you have not implemented it, because probably tweaking the scaling behaviour for EPUB is just too hard, or even impossible...

Thanks
yolan is offline   Reply With Quote
Old 08-19-2011, 06:19 AM   #2370
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:
But I don't understand ... I mean, the reader already handles text scaling in EPUB by default, like in LRF.
Good point, forgot about that. Unfortunatelly unlike LRF viewer (by "Sony") EPUB viewer (by Adobe) doesn't read scale values from external files. (or they weren't found yet)
kartu 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
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 10:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 10:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 07:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 07:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 04:20 PM


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


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