kartu / prs-plus

Automatically exported from code.google.com/p/prs-plus
6 stars 1 forks source link

300/505:allow manual margincut (for PDF's) #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Working on some enhancements for PDF-viewer at zoom setting "S"

First preview pushed to defailt repository.
Added a action "MARGINCUT" atm only keybindable

Open a PDF with some heavy margins with zoom-setting "S"
Trigger the action,
a frame with the current page-size (584x754) will be shown
Use nummeric keys to shrink the frame
2: shrink top by 10 pts
9: shink bottom by 10 pts
1/0: will grow the frame top/bottom by 5 pts

accept with Center-Button (check if this is possible with 300)
break operation with Menu-Button

Trigger action again to switch back to normal-view.

ATM margincut will be retained and had to be reset manually

Original issue reported on code.google.com by Mark.N...@gentlemansclub.de on 21 Jan 2012 at 8:52

Attachments:

GoogleCodeExporter commented 9 years ago
Interesting choice. Also cuts LRF and EPUB margins

Original comment by surkizu@gmail.com on 21 Jan 2012 at 10:20

GoogleCodeExporter commented 9 years ago
happyhgy reports: "crop not working, when actions are assigned to buttons used 
for cropping"
http://translate.googleusercontent.com/translate_c?hl=de&rurl=translate.google.c
om&sl=ru&tl=en&u=http://www.the-ebook.org/forum/viewtopic.php%3Fp%3D875460%26sid
%3D47fe3f87b529f7957c68ab05212205b9&usg=ALkJrhhBvjVu9gLak8CW2o7Vv6OJdfiZlQ#87546
0
May be related to issue #303

Original comment by Mark.N...@gentlemansclub.de on 11 Mar 2012 at 6:54

GoogleCodeExporter commented 9 years ago
Issue 320 has been merged into this issue.

Original comment by msukhias...@gmail.com on 12 Mar 2012 at 1:35

GoogleCodeExporter commented 9 years ago
Сrop not working with landscape orientation: after accept with Center-Button 
displays a gray box in right part of screen

Original comment by pavel.ra...@mail.ru on 12 Mar 2012 at 7:26

GoogleCodeExporter commented 9 years ago
Thanks for reporting.
This is still in develpment, but I was pretty proud to get it working in 
portraitmode.

I assume that in landscapemode there will be problems with the "mask".

Next planed steps are:
try to adapt it to landscape, or prevent the action if rotated.
Find additional, needed triggers to switch back to standard-mode.
Add a 2 by 2 (4-quadrant) zoomed-view (Does anyone know if it is possible to 
handle the bitmap returned be the book-renderer with the zoom-picture-viewer 
(the one with the 4 arrows)?)

Original comment by Mark.N...@gentlemansclub.de on 13 Mar 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Bitmab is the same to my knowledge, so it should work with some patching.
300 doesn't have image viewer code though.

Original comment by msukhias...@gmail.com on 13 Mar 2012 at 10:26

GoogleCodeExporter commented 9 years ago
Crop should now work also with actions assigned to numeric-buttons.
Fix introduced with rev:fc19c4ea62c8 

Original comment by Mark.N...@gentlemansclub.de on 19 Mar 2012 at 8:03

GoogleCodeExporter commented 9 years ago
I consider this feature stable and will close this issue.

Still open for enhancements:
Add a 2 by 2 (4-quadrant) zoomed-view.  Should be handle  with the 
zoom-picture-viewer (the one with the 4 arrows)

Original comment by Mark.N...@gentlemansclub.de on 12 Oct 2012 at 7:59