33739 Commits

Author SHA1 Message Date
Kovid Goyal
77fd17c763 Get rid of alt_font_family hack. Instead bump the font cache version and use family_name as the key instead of preferred_family_name 2016-11-15 17:17:26 +05:30
Kovid Goyal
72471d6430 Fix non-regular fonts being embedded multiple times by the embed fonts tool 2016-11-15 17:07:27 +05:30
Kovid Goyal
8f6f6fe4a0 Also use the new font fallback code for embedding fonts in the conversion pipeline 2016-11-15 12:29:10 +05:30
Kovid Goyal
57476aa5cb ... 2016-11-15 12:13:29 +05:30
Kovid Goyal
2d812445ea Some tests for fallback font matching 2016-11-15 10:52:24 +05:30
Kovid Goyal
b17a501697 Edit Book: Embed all fonts: When the specified CSS font style/width/stretch properties do not exactly match a font present on the system, use a fallback font 2016-11-15 10:26:52 +05:30
Kovid Goyal
c1c86cee0b Allow aborting an in-progress Copy-to_library action. Fixes #1641458 [[Enhancement] Inability to Cancel Calibre Copy Action](https://bugs.launchpad.net/calibre/+bug/1641458) 2016-11-14 14:29:51 +05:30
Kovid Goyal
f4f6e5655a ... 2016-11-14 14:02:14 +05:30
Kovid Goyal
6b694fe130 DOCX Input: Fix Light and Dark variants of fonts not using correct font-family names (Note that the fix will work only if the actual font files are present on your computer at the time of conversion). 2016-11-14 14:01:16 +05:30
Kovid Goyal
ac45db67c9 Fix creating an empty library with the same structure as current library not creating custom columns on the first restart after creating the new custom columns. Fixes #1641278 [Custom columns don't copy on create new library](https://bugs.launchpad.net/calibre/+bug/1641278) 2016-11-14 12:22:21 +05:30
Kovid Goyal
9d57aa4e33 Edit Book: When adding a font file via File->New automatically generate the appropriate @font-face rule and copy it to the clipboard so that it can be easily inserted into the appropriate CSS files. 2016-11-14 10:59:35 +05:30
Kovid Goyal
933f0f55d2 Edit Book: When embedding fonts fails to find a matching font, give a more informative message that explains why matching failed. 2016-11-14 09:54:38 +05:30
Kovid Goyal
94ca8a615b ... 2016-11-13 22:39:21 +05:30
Kovid Goyal
1363cd7c37 Update Mediapart
Merge branch 'patch-1' of https://github.com/hmag/calibre
2016-11-12 14:14:11 +05:30
Hervé M
d6e3a82b4f Update mediapart.recipe
3 changes made :
* feed read from "https://www.mediapart.fr/journal/fil-dactualites" had change in structure, so "page-content bust" is replaced by "global-wrapper"
* website login page has changed, so record number of login form is adjusted (2 instead of 1)
* Change in code for building articles collection, which was previously not working (my change might not be very pythonic but it works)

Best regards,
Hervé
2016-11-12 09:38:37 +01:00
Kovid Goyal
415fb9c317 Edit Book: Check Book: Add a warning for links with the : character in them on windows 2016-11-12 08:09:59 +05:30
Kovid Goyal
3f5f29377f Edit Book: Dont fail to rename files on windows if there is a link containing the colon character. Fixes #1641202 [Failure to rename files in ebook editor leads to corrupted ebook](https://bugs.launchpad.net/calibre/+bug/1641202) 2016-11-12 08:00:08 +05:30
Kovid Goyal
3dd90488dd PDF Output: Dont fail if one of the embedded fonts has no names 2016-11-11 20:54:13 +05:30
Kovid Goyal
8de266af7d Conversion: When converting markdown documents recognize basic metadata in the markdown document 2016-11-11 18:01:30 +05:30
Kovid Goyal
813aff5702 Add a warning to the conversion log when trying to embed fonts with non-standard weights 2016-11-09 20:25:57 +05:30
Kovid Goyal
1a2ae4a05e ... 2016-11-09 19:26:52 +05:30
Kovid Goyal
e4a5f6c053 Edit Book: Spell Check dialog: Preserve position in word list on refresh 2016-11-09 09:21:36 +05:30
Kovid Goyal
eec0ebd6ec ... 2016-11-09 08:06:02 +05:30
Kovid Goyal
f9931d792a Edit Book: Spell check dialog: Ensure that the new current word is highlighted after changing a word. 2016-11-08 11:14:09 +05:30
Kovid Goyal
550a8d209d Edit Book: Spell Check tool: Typing with the word list selected now scrolls the word list to ensure the newly selected word is visible 2016-11-08 08:36:51 +05:30
Kovid Goyal
f07c4a91dc Edit Book: Fix an error in the spell checker when trying to replace words with nothing (i.e. deleting words) 2016-11-08 08:32:19 +05:30
Kovid Goyal
f8c1dd46bb Fix detection of plugin data for the amazon multiple countries plugin 2016-11-06 17:14:44 +05:30
Kovid Goyal
082b1593d6 Edit Book: When downloading external resources, ensure the generated filenames are valid. Fixes #1639448 [download external resorces for dificult url make broken links to files](https://bugs.launchpad.net/calibre/+bug/1639448) 2016-11-06 10:55:45 +05:30
Kovid Goyal
f519b40778 Merge branch 'master' of https://github.com/davidfor/calibre 2016-11-06 09:34:31 +05:30
David
1c053ef615 Kepubs should follow epub rules for covers and ToC
From
http://www.mobileread.com/forums/showthread.php?p=3421577#post3421577,
when an epub is converted to kepub, if the ToC had an entry pointing to
the cover, it is removed. This does not happen when doing an
epub-to-epub conversion. Found that the Plumber was treating epubs
specially for this, so added kepub as another exception.
2016-11-06 14:58:41 +11:00
Kovid Goyal
ca43551cd9 Windows: Fix file extension not being added automatically when missing in save dialogs. Fixes #1637353 ['SAVE AS' COVER IMAGE -Does Not Save File](https://bugs.launchpad.net/calibre/+bug/1637353) 2016-11-05 13:11:14 +05:30
Kovid Goyal
b0b0b865e9 Fix calibre not opening full-screen in windows tablet mode. Fixes #1638158 [Fails to open full screen in Windows 10 tablet mode](https://bugs.launchpad.net/calibre/+bug/1638158) 2016-11-04 21:52:30 +05:30
Kovid Goyal
e84c688978 ... 2016-11-04 21:27:51 +05:30
Kovid Goyal
824566442c ... 2016-11-04 13:08:45 +05:30
Kovid Goyal
94ce85bb2e ... 2016-11-04 12:46:04 +05:30
Kovid Goyal
50098c1f94 ... 2016-11-04 12:40:37 +05:30
Kovid Goyal
42885f7732 ... 2016-11-04 12:34:33 +05:30
Kovid Goyal
4808b62298 ... 2016-11-04 12:31:59 +05:30
Kovid Goyal
db6ad0dcf9 ... 2016-11-04 12:08:50 +05:30
Kovid Goyal
67213b5502 ... 2016-11-04 12:04:20 +05:30
Kovid Goyal
6706b0ab72 ... 2016-11-04 11:56:55 +05:30
Kovid Goyal
cad712525e ... 2016-11-04 11:54:51 +05:30
Kovid Goyal
54baf662b5 Edit Book: Fix check external links tool not detecting changes that have not yet been saved 2016-11-04 11:51:10 +05:30
Kovid Goyal
9a82de7b6e ... 2016-11-04 11:44:10 +05:30
Kovid Goyal
876d5c78ea ... 2016-11-04 10:51:49 +05:30
Kovid Goyal
46a560925d ... 2016-11-04 10:47:49 +05:30
Kovid Goyal
45e1817376 ... 2016-11-04 10:45:40 +05:30
Kovid Goyal
8ef6cb9e0e ... 2016-11-04 10:41:44 +05:30
Kovid Goyal
be4d8a3f44 ... 2016-11-04 10:39:46 +05:30
Kovid Goyal
9a22185fd9 ... 2016-11-04 10:36:09 +05:30