Comments (19)
Hi barteksc,
Thanks for providing library, I wondered after seeing this library but disappointed about rendering quality when zoom in and out. If any possibility to avoid this black glitch and make it smooth that ll be help fun
- Can we load pdf with full or max pixel so that it won't take that much render effect and ll be smooth?
- Can we reduce or refresh till pdf seems good to read?
Hi @aurelhubert if you find any solutions for this please let me know :)
Please clear my doubts and may be useful for others also.
Thanks
Vinod
from androidpdfviewer.
Hi,
you can change com.github.barteksc.pdfviewer.utilConstants.THUMBNAIL_RATIO value to 1f to improve it.
from androidpdfviewer.
Hi Sgueniot,
I tried with above solution, Great man, awesome solution Thanks for your valuable reply and you saved my time.
Thanks
from androidpdfviewer.
@sgueniot it seems clearly better, thanks for the advice 👍
from androidpdfviewer.
You're welcome
from androidpdfviewer.
Be careful with changing THUMBNAIL_RATIO, it may slow down less efficient devices.
from androidpdfviewer.
@barteksc I will try to find the best ratio between quality & perf (maybe it's already done with the original value). Thanks again for your work 👍
from androidpdfviewer.
Hi @barteksc as you mentioned I am changing the THUMBNAIL_RATIO, it is slowing down and causing error some times like : too much work on main (UI) thread. so I am reverting back to 0.5 from 1.
and how can I fit the pdf view to the device screen, by default it is not fittings and in zoomed state it is not navigating to other pdf files in my view pager.
Please suggest me how can I achieve my goal.
Thanks
from androidpdfviewer.
Please consider not using a closed issue to ask new questions. You already have commented this one: #4. Create a new issue if necessary, thanks.
from androidpdfviewer.
OK, I ll make sure to follow your words
from androidpdfviewer.
Hi barteksc,
Great PDF code. Font quality is not good when rendering the pdf. When using it on phone the text is not visible. Please help.
from androidpdfviewer.
@soniamelimu Could you attach some screens?
And please don't ask questions in closed issues
from androidpdfviewer.
Thanks for your reply. Attached is the screen-shot. Not able to clear text of the pdf in normal mode without zoom. Please help.
from androidpdfviewer.
What is resolution of this device? Did you use .enableAntialiasing(true)
?
from androidpdfviewer.
No I haven't used it. Below are the details of device-
Resolution - 1280*800
Density group - 213dpi (x1.3312501)
Density Code - tvdpi
Android version- 4.4.2
API level - 17
Thanks
Sonia
from androidpdfviewer.
Please help on this issue.
from androidpdfviewer.
Did you try using antialiasing?
from androidpdfviewer.
No. I haven't.
from androidpdfviewer.
Hi, I have the same issue and I tried to use .enableAntialiasing(true)
, but it looks like the PDFView class doesn't have this metod.
from androidpdfviewer.
Related Issues (20)
- What is the freetype and littlecms version you are using? HOT 1
- Is not working for jbr 17 HOT 1
- Password protected PDFs not working HOT 1
- VivoY72.gitignore
- 无法显示pdf中的签名信息 HOT 1
- Blank space before PDF HOT 1
- autoScrolly
- AndroidPdfViewer with Supporting Android API >=21 HOT 1
- Duplicate conflict 'lib/arm64-v8a/libc++_shared.so' with OpenCV lib
- .
- PDF page half portion shown blur on many pdfs.
- Unable to go till end of page if autoSpacing set to true
- Cant' compile after adding library Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
- Future of the project HOT 15
- Primer proyecto
- 使用PdfViewer加载本地Pdf文件预览时,pdf文件中的内容会出现拉伸 HOT 2
- ❗Repo not found or no token provided HOT 2
- facing issue in going to specific page in search in pdf in kotline andriod studio
- UnsatisfiedLinkError with PDFium on Android 15 Emulator with 16 KB Page Size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidpdfviewer.