-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page number #5
Comments
Currently not implemented, but would be nice to have it. |
Here is an idea:
Regarding the implementation:
You do so many complicated calculations, so one another arithmetic expression and one callback in a while will not for sure fall back the overall performance. |
I'm not sure if we need math here. |
It is not a problem to technically draw any text any size any color in PDFs are usually beautifully formatted with carefully measured margins, colors etc. If we would implement that solution we can assume, that the page number should be place 5mm from the page border on the left bottom side with size 10 points, black color and the default font type face. But what if the page background is black in this area, or there is already some text, or the font type face is inappropriate there etc. That's why I suggested a callback. Page number can be incorporated somewhere on the App bar or on a separate Text view, which can conform with application design and the user can comprehend: "This number is not a part of the PDF". |
This is a very good point. |
Are there any changes in this issue? We also need to get the current page of the pdf document. |
Nope, but you are welcome to provide method to get current page and open PR. |
Do you have a telegram account ? I have a job offer |
I already have a job, thank you. |
Is there any update on this issue or the development on the library is closed? |
It's not under active development, I hope to find some time to add compose implementation though. If you want to add page number - you are welcome to research how can it be done and I'll gladly release an update if we can do it in a good way. |
OK, I'll try as the library is pretty good, only the page number and feature of space between two page is missing. |
Hi,
I wonder if there is a way to show the current page number that is showing to the user?
The text was updated successfully, but these errors were encountered: