42467 Commits

Author SHA1 Message Date
Kovid Goyal
21f7031906
Viewer toolbar: Add a select all action 2020-12-13 13:18:01 +05:30
Kovid Goyal
913892d4f8
Windows: Fix Read aloud not working with books that have a single large internal text file, such as MOBI or DOCX books
Apparently, there is an undocumented limit to how much text can be
passed to SAPI in a single Speak() call.
So maintain our own internal queue and pass 128KB chunks.
2020-12-13 09:24:58 +05:30
Kovid Goyal
c7c627f285
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1907856 [Edit Metadata: Typing in number fails to replace undefined integers](https://bugs.launchpad.net/calibre/+bug/1907856)
2020-12-13 06:28:05 +05:30
Charles Haley
99a647068c Remove print statement 2020-12-12 23:39:57 +00:00
Charles Haley
0a02aa4827 Throw away empty icon specifications in icon rule evaluation 2020-12-12 23:35:01 +00:00
Charles Haley
87eb1fb164 Bug #1907856: Typing in number fails to replace undefined integers 2020-12-12 22:16:04 +00:00
Kovid Goyal
e9b6e53ef1
Ignore subset failure when generating PDF 2020-12-12 17:19:38 +05:30
Kovid Goyal
0348bf9ad5
Handle failure to select match more gracefully 2020-12-12 17:03:17 +05:30
Kovid Goyal
205d5d432c
version 5.7.2 v5.7.2 2020-12-12 14:26:45 +05:30
Kovid Goyal
da81df5ef0
remove fonts before merging since merging can cause a font file to be used by multiple font dictionaries 2020-12-12 14:19:35 +05:30
Kovid Goyal
5ca83285fb
Remove more unused code 2020-12-12 13:46:20 +05:30
Kovid Goyal
e430bf3312
PDF Output: Yet another attempt at working around chromium's broken TTF embedding. Fixes #1907849 [conversion to pdf results in bizarre kerning](https://bugs.launchpad.net/calibre/+bug/1907849)
This has the advantage of making the merging code a lot simpler as well.
2020-12-12 13:41:48 +05:30
Kovid Goyal
22f200fd10
When listing fonts also get the CIDToGIDMap 2020-12-12 12:09:58 +05:30
Kovid Goyal
c683535752
... 2020-12-12 10:02:16 +05:30
Kovid Goyal
c8015e824c
E-book viewer: Add a toolbar icon for Read aloud 2020-12-12 09:04:22 +05:30
Kovid Goyal
66abe58c33
Fix #1907842 [Move Read aloud button above the Exit full screen button in the Content server viewer controls](https://bugs.launchpad.net/calibre/+bug/1907842) 2020-12-12 08:10:38 +05:30
Kovid Goyal
3356597218
Windows: Fix tts config dialog not showing initial voice selection correctly if not the system default voice 2020-12-11 20:54:46 +05:30
Kovid Goyal
621eeab6d1
Dont fail on missing age/gender in windows voices 2020-12-11 20:44:21 +05:30
Kovid Goyal
96adf1912d
version 5.7.1 v5.7.1 2020-12-11 17:18:41 +05:30
Kovid Goyal
cc970aa694
Ensure original_path does not end in a trailing slash which is probably what was causing the failures in the first place 2020-12-11 17:16:46 +05:30
Kovid Goyal
24ac765178
PDF Output: yet another glyph width fix for change in Chromium output
Apparently, the HarfBuzz subsetter does not produce mergeable hhea tables,
so we directly merge the W arrays instead, picking the widest width for
each glyph id. Lord knows if the glyph ids are stable across fonts, if
they aren't then we will need to do major surgery.

Fixes #1907675 [MacOS 10.15.7 EPUB to PDF conversion](https://bugs.launchpad.net/calibre/+bug/1907675)
2020-12-11 17:08:43 +05:30
Kovid Goyal
44f2d0e073
Merge branch 'fix-build-with-icu68' of https://github.com/heirecka/calibre 2020-12-11 15:42:57 +05:30
Heiko Becker
ca0aa5f696 Fix build with ICU >= 68
ICU stopped defining the macros FALSE and TRUE in its headers with 68:
https://github.com/unicode-org/icu/commit/c3fe7e09d844
2020-12-11 10:53:17 +01:00
Kovid Goyal
c6d738ef6d
Fix regression causing failure to start if one of the previously used libraries no longer exists. Fixes #1907773 [After Update 5.7 - Defect by Start](https://bugs.launchpad.net/calibre/+bug/1907773) 2020-12-11 13:40:52 +05:30
Kovid Goyal
9e09d44aca
String changes 2020-12-11 12:15:24 +05:30
Kovid Goyal
01e69e2631
Fix #1907758 ["What's New" page of website has incorrect date for version 5.7](https://bugs.launchpad.net/calibre/+bug/1907758) 2020-12-11 12:08:03 +05:30
Kovid Goyal
9120d3116a
compat with newer lxml v5.7.0 2020-12-11 09:05:09 +05:30
Kovid Goyal
12e4912865
version 5.7.0 2020-12-11 08:23:41 +05:30
Kovid Goyal
8babb23858
Remember voice table column state 2020-12-11 08:22:56 +05:30
Kovid Goyal
9f2bf5482b
Fix scrollbars appearing when mousing over button box 2020-12-11 08:09:12 +05:30
Kovid Goyal
88b3ef9b5f
Add a note about limitations of browsers 2020-12-11 08:07:05 +05:30
Kovid Goyal
10f922f0e1
Windows tts backend: dont turn pages if read aloud is trigerred while already speaking 2020-12-11 08:03:18 +05:30
Kovid Goyal
f444e0d56f
TTS: Also include punctuation in words. This is needed for contractions such as don't 2020-12-11 07:37:43 +05:30
Kovid Goyal
f4b6806202
TTS should start reading from the current page 2020-12-11 07:34:17 +05:30
Kovid Goyal
c80acf0aed
Limit max word size for TTS 2020-12-11 07:23:55 +05:30
Kovid Goyal
dc5300be83
String changes 2020-12-11 07:10:08 +05:30
Kovid Goyal
16bea2db9d
Add numbers to the word regex 2020-12-10 22:54:22 +05:30
Kovid Goyal
eedd6c7751
TTS: Fix word segmentation not working with non-ascii chars because JavaScript's regex engine has a non-unicode aware \w operator 2020-12-10 22:43:56 +05:30
Kovid Goyal
08d7840d21
Document the read aloud function 2020-12-10 22:12:30 +05:30
Kovid Goyal
9e74f75bee
Make drawing of annotations existence dot more robust in annots browser 2020-12-10 21:51:02 +05:30
Kovid Goyal
d129c3b2a5
Fix #1906791 [Look & Feel rules editors: Selecting multiple entries in menu editor only moves one](https://bugs.launchpad.net/calibre/+bug/1906791) 2020-12-10 21:34:03 +05:30
Kovid Goyal
20518c297b
Windows: Use NFC normalized unicode text for the SAPI engine 2020-12-10 20:48:57 +05:30
Kovid Goyal
bbe90a3cb2
Fix hiding and showing book details panel changes its size by a pixel or two. Fixes #1906149 [Book Detail panel becomes narrower when open and closed a number of times.](https://bugs.launchpad.net/calibre/+bug/1906149) 2020-12-10 20:25:22 +05:30
Kovid Goyal
597c40a602
cleanup 2020-12-10 20:11:06 +05:30
Kovid Goyal
7d3666c9e9
... 2020-12-10 18:27:57 +05:30
Kovid Goyal
aee6c47f99
... 2020-12-10 18:26:44 +05:30
Kovid Goyal
8d4bc69a8d
TTS: fix inter-word punctuation being ignored 2020-12-10 18:24:59 +05:30
Kovid Goyal
628faf593a
Get books: Fix amazon.fr not working because of website changes. Fixes #1907067 [No books from Amazon.fr](https://bugs.launchpad.net/calibre/+bug/1907067) 2020-12-10 16:33:04 +05:30
Kovid Goyal
9c6acb0550
DRYer 2020-12-10 12:13:10 +05:30
Kovid Goyal
b14ab0351b
PDF Output: Fix conversion failing when adding header/footer and the input document defines margins/padding on the <html> tag. Fixes #1905736 [PDF conversion fails - number of header/footer pages](https://bugs.launchpad.net/calibre/+bug/1905736) 2020-12-10 12:11:36 +05:30