10-21-2015, 06:52 PM | #121 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One suggestion, don't scramble characters with a high-bit because you never know if they can be part of the problem.
|
10-21-2015, 07:43 PM | #122 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
Advert | |
|
10-21-2015, 08:06 PM | #123 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
- OK to reveal the TOC - stop worrying about stray ISBNs in unusual places - no need to remove the links to external websites, if any Understood. |
|
10-21-2015, 08:13 PM | #124 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
10-21-2015, 09:10 PM | #125 |
Grand Sorcerer
Posts: 12,177
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
I think he means characters with an ordinal # greater than 127.
|
Advert | |
|
10-21-2015, 09:40 PM | #126 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
10-21-2015, 11:54 PM | #127 | |
A Hairy Wizard
Posts: 3,101
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
Especially if "high-bit" characters are part of the replacement algorithm. |
|
10-22-2015, 04:43 AM | #128 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The decision was that the Table of Contents (chapter headers, etc.) must be scrambled too, at least if it contains any "creative" titles (other than "Chapter 1", "Chapter 2"...). For author name, title, ISBN, external links, etc., I agree, they shouldn't be a problem copyright-wise. The part of the metadata that must be scrambled is any description, synopsis or similar; but publisher name, dates, genres... those are OK.
|
10-22-2015, 04:47 AM | #129 | |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
I say scramble all letters and digits (use Unicode properties to determine what's a letter or digit), at least by default. If those characters were part of the problem, then the scrambled book will not show the problem, and that can be used for debugging. |
|
10-22-2015, 05:21 AM | #130 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Yes, exactly.
Last edited by JSWolf; 10-22-2015 at 05:24 AM. |
10-22-2015, 05:24 AM | #131 | |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
10-22-2015, 08:20 AM | #132 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
Might this be a reasonable compromise as a starting point? Content headings still won't match their TOC ncx entries but at least the TOC won't look quite as weird as it does in the v0.1 alpha version I posted. |
|
10-22-2015, 08:23 AM | #133 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
That sounds like a sensible compromise to me.
|
10-22-2015, 09:09 AM | #134 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
LOWERS = list('abcdefghijklmnopqrstuvwxyz') UPPERS = uppercase equivalent of LOWERS DIGITS = list('0123456789') I think that should work OK for European, Greek, Cyrillic alphabet languages but probably not for CJK and other Eastern alphabets. I don't have any detailed knowledge about non-Latin alphabets. If/when calibre-plugin-ised, I could envision giving the user limited control of what's in the LOWERS list (e.g. single character, word, phrase) if that might be useful. In which case, adding some special type-able chars of choice should also be possible. You mentioned 'unicode properties'. I'm open to suggestions for a better simple algorithm to include a wider variety of languages. |
|
10-22-2015, 09:10 AM | #135 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony ereader troubleshoot | chrisms | Sony Reader | 3 | 10-02-2013 02:08 PM |
Out of copyright ebooks/writers you'd most like to see digitized? | pstjmack | Reading Recommendations | 18 | 09-14-2012 08:46 PM |
whispersync not working: can anyone help me troubleshoot? | rheostaticsfan | Amazon Kindle | 4 | 10-27-2011 08:09 AM |
troubleshoot battery life | kkinser | Amazon Kindle | 2 | 04-18-2011 09:05 PM |
The copyright issues of fan fiction eBooks | Kirok | Lounge | 33 | 12-08-2008 06:54 PM |