Androidpdfviewer: Blurred text after calling the method "jumpTo()"

Created on 22 Nov 2017  Â·  14Comments  Â·  Source: barteksc/AndroidPdfViewer

i tested lib ver.
compile 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.2'
compile 'com.github.barteksc:android-pdf-viewer:2.8.0'
compile 'com.github.barteksc:android-pdf-viewer:2.7.0'
from all of the above versions i got the blurred view.

Most helpful comment

@AadilDAR Nothing.
And please don't write uppercase.

All 14 comments

my method

pdfView=(PDFView) findViewById(R.id.pdfView);
pdfView.fromAsset("yks.pdf")
.defaultPage(1)
.spacing(10)
.load();
}

public void nextPage(View view){pdfView.jumpTo(pdfView.getCurrentPage()+1,true);
pdfView.loadPages();}

public void prevPage(View view){pdfView.jumpTo(pdfView.getCurrentPage()-1,true);
pdfView.loadPages();}

public void zoomIn(View view){
++zoomValue;
pdfView.zoomTo(zoomValue);
pdfView.loadPages();
}
public void zoomOut(View view){
if (zoomValue!=1){
--zoomValue;
pdfView.loadPages();
}
}

Send the pdf so I can test it

@AadilDAR don't call pdfView.loadPages()

THEN WHAT TO CALL INSTEAD

I WRITE THIS WHEN I SAW A COMMENT OF U REGARDING THIS ISSUE

@AadilDAR Nothing.
And please don't write uppercase.

BUT AFTER REMOVING pdfView.loadPages() I STILL GOT THE ISSUE
I INSERTED pdfView.loadPages() LINE WHEN I SAW A COMMENT OF U REGARDING THIS ISSUE

plz give a good explaination regarding the issue

@AadilDAR
Try to use pdfView.jumpTo(int) method (without second parameter) until this issue is fixed.

+1 for this issue. I also experience the blurred text when using jumpTo(int, boolean). No problem when using jumpTo(int). Sorry, I can't share the pdf because it's a copyrighted material.

Fixed in 2.8.2 and 3.0.0-beta.4

Thanks will check it soon

On 22 Dec 2017 9:08 pm, "barteksc" notifications@github.com wrote:

Fixed in 2.8.2 and 3.0.0-beta.4

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/barteksc/AndroidPdfViewer/issues/455#issuecomment-353621321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgU70kiIjmma_c8It4NnM9ASuijHLk5iks5tC8zngaJpZM4QnRT1
.

Thank you very much for your time and hard works! It's working now!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

proguru58 picture proguru58  Â·  7Comments

vincecarterhu picture vincecarterhu  Â·  6Comments

sapq picture sapq  Â·  10Comments

dongliang0201 picture dongliang0201  Â·  8Comments

GoltsevEugene picture GoltsevEugene  Â·  6Comments