Skip to content

[fix] PDF footer margins#5620

Merged
Frenzie merged 5 commits intokoreader:masterfrom
yparitcher:crop
Nov 21, 2019
Merged

[fix] PDF footer margins#5620
Frenzie merged 5 commits intokoreader:masterfrom
yparitcher:crop

Conversation

@yparitcher
Copy link
Copy Markdown
Member

@yparitcher yparitcher commented Nov 20, 2019

closes #5612

the change in ReaderView:recalculate() causes the viewable page size to be calculated by not including the footer, causing the text not to get cut off.

since the page area was not drawing under the footer ReaderView:drawPageSurround() had to be fixed to draw the margin under the footer so when tapping the footer off the area should be dran the background color.


This change is Reviewable

The page is a little smaller so the link moved a little, so the coordinates of the tap had to be adjusted.
@Frenzie Frenzie added the bug label Nov 21, 2019
@Frenzie Frenzie added this to the 2019.12 milestone Nov 21, 2019
Copy link
Copy Markdown
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Frenzie Frenzie merged commit 6d3e7fc into koreader:master Nov 21, 2019
Frenzie pushed a commit that referenced this pull request Dec 8, 2019
closes  #5654

like #5620 but for continuous mode.
@yparitcher yparitcher deleted the crop branch February 18, 2020 22:29
mwoz123 pushed a commit to mwoz123/koreader that referenced this pull request Mar 29, 2020
closes koreader#5612 

the change in `ReaderView:recalculate()` causes the viewable page size to be calculated by not including the footer, causing the text not to get cut off.

since the page area was not drawing under the footer `ReaderView:drawPageSurround()` had to be fixed to draw the margin under the footer so when tapping the footer off the area should be dran the background color.
mwoz123 pushed a commit to mwoz123/koreader that referenced this pull request Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PDF] footer cuts off bottom of page in page mode

2 participants