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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2012, 09:35 AM   #556
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by knc1 View Post
In truth, it is much more complicated than I made it out to be.

If I can translate my own post:
Just be happy with the way it works, ignore the width of the last space on a justified line and the non-processed last line.
Anything else would probably double or triple the amount of code.
Text justification rules interact in unexpected ways, so that even a small "obvious" fix for one rule can unexpectedly cause other rules to break. Even the smallest of changes requires full regression testing of all of the text justification code to discover what else you just broke. Simple fixes often ended up not-so-simple when everything was working well again. And remember that text justification interacts with font and kerning changes too, and on video displays even anti-aliasing can affect text justification depending on how it is implemented. Things that sound simple in theory often become rather complicated in practice, and text formatting is one of those things.

EDIT: You may ask "How can anti-aliasing affect text justification?", and the answer would be "sub-pixel kerning and micro-justification". Kerning is the horizontal position adjustment of letters to place them closer together depending on the relative shape of the two adjacent letters, and some display technology allows you to adjust this to fractions of a pixel. Sub-pixel kerning depends on anti-aliasing to determine the sub-pixel boundaries. And micro-justification is used to justify columns of text on both the left and right boundaries, to eliminate visually unappealing "ragged-right" text, such as you see in these posts. To spread a line of text to the right boundary, you need to distribute the extra white space evenly throughout the line, preferrably on sub-pixel positions.

The reason for providing these details (which may be very interesting for some people, while annoying others) is to show that fixing the little "glitch" mentioned in previous posts could interact with other text-formatting in unexpected and undesirable ways. Or, it MIGHT be just a simple adjustment. You won't know until you try it. Trying to estimate the time required to perform this task is itself a waste of time. Even for a simple change, significant regression testing is required.

Last edited by geekmaster; 08-24-2012 at 09:58 AM.
geekmaster is offline   Reply With Quote
Old 08-24-2012, 09:51 AM   #557
notimp
Connoisseur
notimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with othersnotimp plays well with others
 
Posts: 57
Karma: 2984
Join Date: Jul 2010
Device: K2i
From an outside perspective it could have been possible that the space before would have been "handset" to something like a   or another space character which the amazon procedure does not take into account when calculating the "spaces" diameter. Now that an easy fix seems of the table, count on us going back to happy and blissfull JBPatch users..

Its just that you cant "unsee" what you've been made to see, when it comes to imperfection...

Last edited by notimp; 08-24-2012 at 09:55 AM.
notimp is offline   Reply With Quote
 
Advertisement
Old 08-24-2012, 10:00 AM   #558
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by notimp View Post
... Its just that you cant "unsee" what you've been made to see, when it comes to imperfection...
geekmaster is offline   Reply With Quote
Old 08-24-2012, 10:10 AM   #559
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,852
Karma: 6314522
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by notimp View Post
Its just that you cant "unsee" what you've been made to see, when it comes to imperfection...
Do you ever watch movies or television?

Have you ever wondered about those action shots from the inside as the good guys break down the door into the bad guys place?

Why didn't they just use the same entrance the cameraman did?

Once you get your eye to recognize the things the editor in charge of continuity missed, your media watching will never be the same.

Start off easy - look for the "Magic Rearview Mirror"

Shots of the characters taken from inside a vehicle show the rearview mirror, shots in the same sequence taken as a view through the windshield - oops no mirror, sometimes not even a left-over spot of stick'm where it was glued on.

Last edited by knc1; 08-24-2012 at 10:17 AM.
knc1 is offline   Reply With Quote
Old 08-24-2012, 10:18 AM   #560
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Regarding seeing the "unseen":

I was in a projection booth at a movie theater, talking to the projectionist, when he pointed out the "cigarette burn" in the upper right corner five seconds before the end of reel, when he needed to switch projectors to seemlessly start the next reel. This burn mark was originally done with a real cigarette on the film, to notify the projectionist when it was time to flip the switch between projectors, to start showing the next film reel.

Since I was made aware of that, I started seeing it even on TV showings of old movies. Sometimes it is stretched to an oval when projected through an anamorphic lens. You will see after the burn mark up to five seconds of trivial content with no dialog, during which you can switch to the next scene on the next reel at any time, and the next reel can start with up to five seconds of trivial content. You cut between "reel boundary" scenes at any time during those five seconds.

And now that I told you, you will see them too (on old films). Modern projectors may use very large reels (perhaps on platters) and do not need reel switching. And the latest projectors are all digital. But old movies often still have burn marks. Watch for them. Sadly, they may be cropped off when converting widescreen films to pan&scan ("fullscreen") for TV.

Last edited by geekmaster; 08-24-2012 at 10:21 AM.
geekmaster is offline   Reply With Quote
Old 08-24-2012, 10:23 AM   #561
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by knc1 View Post
Do you ever watch movies or television?

Have you ever wondered about those action shots from the inside as the good guys break down the door into the bad guys place?

Why didn't they just use the same entrance the cameraman did?

Once you get your eye to recognize the things the editor in charge of continuity missed, your media watching will never be the same.

Start off easy - look for the "Magic Rearview Mirror"

Shots of the characters taken from inside a vehicle show the rearview mirror, shots in the same sequence taken as a view through the windshield - oops no mirror, sometimes not even a left-over spot of stick'm where it was glued on.
That is even MORE annoying on "reality TV" where the cameraman is filming "spontaneous" events. How did he get on the other side of the door before one of the event participants?

And while looking for things the gafferscript supervisor missed, look for things like the position of a tie, or even alternating shots with and without a jacket. Films are often not filmed in sequence, which can lead to these technical "gaffs". After you are aware of them, they are indeed annoying. Sometimes gaffs are intentionally place in films as "inside jokes" and there are websites devoted to them. Once you see them, you cannot "unsee them".

One of these is where to find the tennis shoe and the potato in the asteroid field in the "Star Wars - Return of the Jedi" movie: http://scifi.stackexchange.com/quest...rn-of-the-jedi

Pixar films often have such "easter eggs" in them as well. Once seen, you cannot unsee them.

Last edited by geekmaster; 08-24-2012 at 12:22 PM.
geekmaster is offline   Reply With Quote
Old 08-24-2012, 10:28 AM   #562
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,852
Karma: 6314522
Join Date: Feb 2012
Device: Too many.
There, between the two of us, we have probably ruined the enjoyment of any recorded media (print or picture) of every reader for the rest of their lives.

Time to go ruin something else while this thread gets back on-topic.
knc1 is offline   Reply With Quote
Old 08-24-2012, 10:45 AM   #563
ApK
What did you call me?
ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.
 
Posts: 4,516
Karma: 35071179
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
Quote:
Originally Posted by geekmaster View Post
And while looking for things the gaffer missed
The gaffer does not keep track of continuity, and the name has nothing to do with "gaffs" meaning mistakes. The gaffer (my boss) is the chief set electrician. The term, it is believed, comes from an old sailor's term for "old man."

And in defense of all the poor script supervisors out there (who ARE the ones watching for continuity...and for some reason are often cute young women....) stuff like the "magic rear view mirror" are NOT continuity errors. They are necessary filmmaker's choices so you can, in this case for example, see the actors faces while they are in the car.

Storytelling trumps continuity every time.

ApK

Last edited by ApK; 08-24-2012 at 11:03 AM. Reason: Various stuff, including the meaning of "gaffer" :-)
ApK is online now   Reply With Quote
Old 08-24-2012, 10:47 AM   #564
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by ApK View Post
The gaffer does not keep track of continuity, and the name has nothing to do with "gaffs" meaning mistakes. The gaffer (my boss) is the chief set electrician.

And in defense of all the poor script supervisors out there (who ARE the ones watching for continuity...and for some reason are often cute young women....) stuff like the "magic rear view mirror" are NOT continuity errors. They are necessary filmmaker's choices so you can, in this case example, see the actors faces while they are in the car.

Storytelling trumps continuity every-time.

ApK
Oops. I knew that (gaffer's tape holding the microphone to the boom and all that). My memory isn't what it used to be (continuity errors and such). Sorry about that. Then where did the term "gaff" come from? Like this "technical gaff": http://www.youtube.com/watch?v=C_K2GAc_pRI

Last edited by geekmaster; 08-24-2012 at 08:35 PM.
geekmaster is offline   Reply With Quote
Old 08-24-2012, 10:59 AM   #565
ApK
What did you call me?
ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.
 
Posts: 4,516
Karma: 35071179
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
Quote:
Originally Posted by geekmaster View Post
Oops. I knew that (gaffer's tape holding the microphone to the boom and all that). My memory isn't what it used to be (continuity errors and such). Sorry about that. Then were did the term "gaff" come from? Like this "technical gaff": http://www.youtube.com/watch?v=C_K2GAc_pRI
According to my OED, the origins of both uses are obscure, but gaff, or gaffe, meaning a rude mistake is unrelated to the term "gaffer" which is a term of respect for an old man, and may be related to gaff, which is a long pole used on fishing boats.

Gaffers tape, as you know, is the stuff we use on set to hold down cables, hold up various materials and fix just about everything. Good gaffer's tape is the stuff of gods. It makes duct tape look like Scotch tape. Awesome stuff. Stupidly expensive.

Last edited by ApK; 08-24-2012 at 11:01 AM.
ApK is online now   Reply With Quote
Old 08-24-2012, 11:27 AM   #566
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,852
Karma: 6314522
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by ApK View Post
And in defense of all the poor script supervisors out there (who ARE the ones watching for continuity...and for some reason are often cute young women....) stuff like the "magic rear view mirror" are NOT continuity errors. They are necessary filmmaker's choices so you can, in this case for example, see the actors faces while they are in the car.
In my own defense - - -

I only started a new paragraph with a single whitespace break after the end of the prior (subject) paragraph.
Perhaps if I had used a triple horizontal rule between the topic of continuity and topic of "magic mirror" - - -

The "missing mirror" is often just an artifact of not having any glass in place for the "through the windshield" shots.
Doing the shots without glass simplifies the lighting, sound and photography.

Last edited by knc1; 08-24-2012 at 11:31 AM.
knc1 is offline   Reply With Quote
Old 08-24-2012, 11:45 AM   #567
ApK
What did you call me?
ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.
 
Posts: 4,516
Karma: 35071179
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
Quote:
Originally Posted by knc1 View Post
In my own defense - - -

I only started a new paragraph with a single whitespace break after the end of the prior (subject) paragraph.
Perhaps if I had used a triple horizontal rule between the topic of continuity and topic of "magic mirror" - - -

The "missing mirror" is often just an artifact of not having any glass in place for the "through the windshield" shots.
Doing the shots without glass simplifies the lighting, sound and photography.
Indeed. I was just trying to save script supervisors from inadvertent negative energy. Also notice on TV, the actors are rarely wearing seat-belts in those forward shots, even though they might be wearing them when they get in or out, or if the car is seen crashing....in the front shot, they would mess up the clothes.....
ApK is online now   Reply With Quote
Old 08-24-2012, 11:50 AM   #568
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by knc1 View Post
There, between the two of us, we have probably ruined the enjoyment of any recorded media (print or picture) of every reader for the rest of their lives.

Time to go ruin something else while this thread gets back on-topic.
Agreed. We should end this thread hijacking session soon.


Last edited by geekmaster; 08-24-2012 at 11:53 AM.
geekmaster is offline   Reply With Quote
Old 08-24-2012, 11:58 AM   #569
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by geekmaster View Post
Agreed. We should end this thread hijacking session soon.


ixtab is offline   Reply With Quote
Old 08-24-2012, 12:56 PM   #570
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by victor_2203 View Post
I'm one of the users who can't show the cover for the books previously transfered in the kindle. I used to transfer the books using the Windows explorer (not Calibre). Due to this reason I can't see the covers. Is there any solution to show the covers for the books which are in the Kindle already, instead of transfer all the books again? Would it be possible in the future?
It should work if you *move* the books from the Kindle to the computer, then back to the Kindle.
ixtab is offline   Reply With Quote
Reply

Tags
jbpatch, kindle touch hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 03:53 PM.


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