![]() |
#181 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
![]() |
![]() |
![]() |
#182 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#183 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,548
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
That won't display hyphens on the Kindle Voyage. It certainly doesn't use WebKit.
|
![]() |
![]() |
![]() |
#184 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
It would be interesting if all KFX does is add the hyphen metatag. Now all we need is to find out how to enable ligatures and kerning.
I strongly doubt that KFX uses soft-hyphens unless for special case exceptions maybe. The location of a KFX book and a KF8 book match perfectly (great for syncing without having to turn wifi on). So either there is a lookup table or KFX doesn't change the files inside a KF8 file and justs adds extras via exttra files. |
![]() |
![]() |
![]() |
#185 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,077
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
All this shows is that KFX uses the same "location numbers" that other Kindle formats use to track reading position in a book.
|
![]() |
![]() |
![]() |
#186 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,548
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
But location numbers are related to file size, so if the file had become larger through adding additional information to it, one might reasonably expect the number of locations in the book to increase.
|
![]() |
![]() |
![]() |
#187 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,077
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
My mistake. Anyway, there is some format-independent position identifier used for whispersync that works for mobi and kf8 and audible and the same thing is likely used for kfx.
|
![]() |
![]() |
![]() |
#188 | ||
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
Hitch |
||
![]() |
![]() |
![]() |
#189 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Unless locations are only for stuff displayed on screen. In that case, locations would not change for adding more to an eBook as long as it's not added text to be displayed.
|
![]() |
![]() |
![]() |
#190 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56
Karma: 3274
Join Date: Dec 2011
Device: iPad
|
The -webkit-hyphens CSS is the acknowledged way to turn hyphenation on or off in KFX. Amazon KDP itself told me this, even though they haven't publicly documented it. At present, I'm turning hyphenation OFF in the body tag and then turning it back on for specific paragraph classes. This works perfectly in KFX.
So, Amazon is certainly NOT adding soft hyphens. Given the accuracy I've seen in processed KFX books, it's probably a dictionary lookup. Kerning and ligatures likewise can probably be controlled by CSS, but I haven't experimented with that. Like hyphenation, these too are Webkit features, not Kindle inventions. When I said that "-webkit-hyphens" works "at least" in the Kindle Previewer with Fire emulation, I was referrring to hyphenation in KF8, which is the format that people are adding their own soft hyphens in. There's no "at least" about it in KFX. It's ALWAYS the way to do it. |
![]() |
![]() |
![]() |
#191 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,548
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I have a vague memory that each location in a Kindle book is 128 bytes in the file, markup included.
|
![]() |
![]() |
![]() |
#192 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@AaronShep: Are you saying the KFX files do not hyphenate unless you set -webkit-hyphens: auto in the book css?
Because, unless that is what you are saying, -webkit-hyphens cannot be used to deduce that KFX does not have soft hyphens. The default value of -webkit-hyphens is manual, which means the rendering engine will break only at soft hyphens. auto simply means it will break preferentially at soft hyphens and otherwise at calculated locations. See https://developer.mozilla.org/en/docs/Web/CSS/hyphens As for location calculations, it is trivial to simply ignore certain characters when doing the calculation. So again, it does not prove anything one way or another. |
![]() |
![]() |
![]() |
#193 | |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
Funnily enough, there's also one of my books on the store in an e-book from HarperCollins, and it says: Enhanced Typesetting: Not Enabled. So it may be affecting self-pubbers more than mainstream publishers. Last edited by Notjohn; 11-07-2015 at 09:11 AM. |
|
![]() |
![]() |
![]() |
#194 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,731
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Code:
h3 { text-align: center; -webkit-transform: rotate(-3deg); } Can you please test the attached KindleGen generated .azw3 file on your Voyage? |
||
![]() |
![]() |
![]() |
#195 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,548
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Kindle format vs ePub format is like using a compiler vs winzip? | Julius Caesar | Workshop | 1 | 09-01-2013 07:34 PM |
iPhone Convert epub format to kindle for iPhone format. Is it possible? | thecyberphotog | Apple Devices | 16 | 03-14-2013 01:04 AM |
No 'epub' format shown in Plugboards Format dropdown list | kakkalla | Library Management | 3 | 06-16-2012 04:23 AM |
Ebook in PRC format will not convert to any other format | Katelyn | Calibre | 0 | 10-01-2010 07:02 PM |
Master Format for multi-format eBook Generation? | cerement | Workshop | 43 | 04-01-2009 12:00 PM |