diff --git a/recipes/icons/fifty_two.png b/recipes/icons/fifty_two.png new file mode 100644 index 0000000000..8b9b272615 Binary files /dev/null and b/recipes/icons/fifty_two.png differ diff --git a/recipes/icons/himal_southasian.png b/recipes/icons/himal_southasian.png new file mode 100644 index 0000000000..f7a2315d6d Binary files /dev/null and b/recipes/icons/himal_southasian.png differ diff --git a/recipes/icons/press_information_bureau.png b/recipes/icons/press_information_bureau.png new file mode 100644 index 0000000000..63ed4354ba Binary files /dev/null and b/recipes/icons/press_information_bureau.png differ diff --git a/recipes/icons/prospectmaguk_free.png b/recipes/icons/prospectmaguk_free.png new file mode 100644 index 0000000000..efe40e1892 Binary files /dev/null and b/recipes/icons/prospectmaguk_free.png differ diff --git a/recipes/livemint.recipe b/recipes/livemint.recipe index 2e0f497808..e46374d091 100644 --- a/recipes/livemint.recipe +++ b/recipes/livemint.recipe @@ -98,7 +98,7 @@ class LiveMint(BasicNewsRecipe): classes( 'trendingSimilarHeight moreNews mobAppDownload label msgError msgOk taboolaHeight' ' socialHolder imgbig disclamerText disqus-comment-count openinApp2 lastAdSlot' - ' datePublish sepStory' + ' datePublish sepStory premiumSlider' ) ] diff --git a/src/calibre/utils/podofo/doc.cpp b/src/calibre/utils/podofo/doc.cpp index 18479b6e0e..8407e2bd1d 100644 --- a/src/calibre/utils/podofo/doc.cpp +++ b/src/calibre/utils/podofo/doc.cpp @@ -392,7 +392,7 @@ PDFDoc_append(PDFDoc *self, PyObject *args) { for (auto src : docs) total_pages_to_append += src->GetPages().GetCount(); unsigned base_page_index = dest->GetPages().GetCount(); #if PODOFO_VERSION > PODOFO_MAKE_VERSION(0, 10, 0) - dest->GetPages().CreatePagesAt(base_page_index, Rect(), total_pages_to_append); + dest->GetPages().CreatePagesAt(base_page_index, total_pages_to_append, Rect()); #else while (total_pages_to_append--) dest->GetPages().CreatePage(Rect()); #endif diff --git a/src/pyj/select.pyj b/src/pyj/select.pyj index 0a149436fb..1763f3b179 100644 --- a/src/pyj/select.pyj +++ b/src/pyj/select.pyj @@ -95,7 +95,10 @@ def range_extents(q, in_flow_mode): end = q.cloneRange() def rect_onscreen(r): - if r.right <= window.innerWidth and r.bottom <= window.innerHeight and r.left >= 0 and r.top >= 0: + # we use -1 rather than zero for the top limit because on some + # platforms the browser engine returns that for top line selections. + # See https://bugs.launchpad.net/calibre/+bug/2024375/ for a test case. + if r.right <= window.innerWidth and r.bottom <= window.innerHeight and r.left >= 0 and r.top >= -1: return True return False