31298 Commits

Author SHA1 Message Date
Kovid Goyal
7914ad4244
UI for viewer font settings 2019-09-13 09:12:29 +05:30
Kovid Goyal
6100a4eeee
Cleanup insertion of translations data 2019-09-13 09:12:29 +05:30
Kovid Goyal
eeca114876
Wire up the bookmarks panel fully 2019-09-13 09:12:29 +05:30
Kovid Goyal
13be0d6712
... 2019-09-13 09:12:29 +05:30
Kovid Goyal
332f1e7e63
Fix popup footnotes not working in viewer 2019-09-13 09:12:29 +05:30
Kovid Goyal
45fa8525ba
Implement toggling of bookmarks panel 2019-09-13 09:12:29 +05:30
Kovid Goyal
d97db810c0
Start work on bookmarks panel 2019-09-13 09:12:28 +05:30
Kovid Goyal
34f48e00d2
... 2019-09-13 09:12:28 +05:30
Kovid Goyal
63cac76d80
Code to sort CFIs in JS 2019-09-13 09:12:28 +05:30
Kovid Goyal
f6371bce85
DRYer 2019-09-13 09:12:28 +05:30
Kovid Goyal
4f486558de
Add translations for the viewer interface 2019-09-13 09:12:28 +05:30
Kovid Goyal
0c7bcb0f8c
Implement full screen 2019-09-13 09:12:28 +05:30
Kovid Goyal
146b5dc6e3
Show the current ToC node in bold 2019-09-13 09:12:28 +05:30
Kovid Goyal
39d08d70fa
Disable cocoa's window tabbing and special menu items 2019-09-13 09:12:28 +05:30
Kovid Goyal
08081eaebb
Implement searching and clicking in the ToC 2019-09-13 09:12:28 +05:30
Kovid Goyal
02d8563efc
Work on adding an external dockable ToC panel 2019-09-13 09:12:28 +05:30
Kovid Goyal
98ecf220e6
Get changing font size and colors working 2019-09-13 09:12:28 +05:30
Kovid Goyal
9edb593773
Move forward_gesture() to ui_operations 2019-09-13 09:12:28 +05:30
Kovid Goyal
377b90ea0d
Implement reloading of book 2019-09-13 09:12:27 +05:30
Kovid Goyal
b2be6727f6
Load book data 2019-09-13 09:12:27 +05:30
Kovid Goyal
8b8bec6e6a
Get calibre-debug -w working again 2019-09-13 09:12:27 +05:30
Kovid Goyal
bb03370e5a
... 2019-09-13 09:12:27 +05:30
Kovid Goyal
cbd40617f3
Use short lines when serializing bookmarks 2019-09-13 09:12:27 +05:30
Kovid Goyal
563b926e4b
Store annotations in EPUB files 2019-09-13 09:12:27 +05:30
Kovid Goyal
bc8fdc4ced
Code to update cached conversions 2019-09-13 09:12:27 +05:30
Kovid Goyal
55fbc89eb6
Slow an initial load spinner while book is being rendered 2019-09-13 09:12:27 +05:30
Kovid Goyal
67fcb5345d
DRYer 2019-09-13 09:12:27 +05:30
Kovid Goyal
a38defca58
Implement loading of annotations from multiple sources 2019-09-13 09:12:27 +05:30
Kovid Goyal
742f322f89
Implement save/restore of last read position 2019-09-13 09:12:27 +05:30
Kovid Goyal
2eefa97a1d
When displaying book, ensure the iframe has focus 2019-09-13 09:12:27 +05:30
Kovid Goyal
85b8ee0130
Use the newer technique for setting app uid 2019-09-13 09:12:26 +05:30
Kovid Goyal
8cb9dc1ca1
py3: Fix compilation of viewer code 2019-09-13 09:12:26 +05:30
Kovid Goyal
cd64459718
Fix errors reported in the console for listeners that use preventDefault() 2019-09-13 09:12:26 +05:30
Kovid Goyal
84c8544e14
Cleanup python str -> podofo str 2019-09-13 09:12:26 +05:30
Kovid Goyal
bc4c988fce
typo 2019-09-13 09:12:26 +05:30
Kovid Goyal
66eebb954d
Fix building on py2 2019-09-13 09:12:26 +05:30
Kovid Goyal
e4c763d23e
Add support for maths to PDF output 2019-09-13 09:12:26 +05:30
Kovid Goyal
0f02312390
De-dup images in the PDF 2019-09-13 09:12:26 +05:30
Kovid Goyal
bdebe91156
Spped up fonts_are_identical 2019-09-13 09:12:26 +05:30
Kovid Goyal
e77df26174
Fix merging of loca tables 2019-09-13 09:12:26 +05:30
Kovid Goyal
dd5961af10
Write the loca table in optimum format
Also update the head and maxp tables when subsetting
2019-09-13 09:12:26 +05:30
Kovid Goyal
7b6dc6eed9
Dont bother merging identical TrueType fonts, simply pick one and discard the rest 2019-09-13 09:12:25 +05:30
Kovid Goyal
bf602f48ed
Detect font usage inside XObjects as well 2019-09-13 09:12:25 +05:30
Kovid Goyal
c842a82a0f
When replacing font references do it in XObjects as well 2019-09-13 09:12:25 +05:30
Kovid Goyal
227679985f
Implement imposing headers/footers onto their target pages 2019-09-13 09:12:25 +05:30
Kovid Goyal
848d91c6d8
Hide overflow from headers/footers 2019-09-13 09:12:25 +05:30
Kovid Goyal
b8dc1d791c
Dont use iframes for header/footers
This breaks backwards compat with javascript, but backwards compat is
not really preserved anyway. Much better performance without iframes
2019-09-13 09:12:25 +05:30
Kovid Goyal
e64b8b11fb
Ensure no resources are loaded from outside the container 2019-09-13 09:12:25 +05:30
Kovid Goyal
8fcd240844
Dont need settle_time for header/footer rendering 2019-09-13 09:12:25 +05:30
Kovid Goyal
93b5adacdb
Add support for _SECTION_ in templates 2019-09-13 09:12:25 +05:30