You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
Add method fitToWidth()
Fix rare IllegalArgumentException while rendering
Add OnRenderListener
Add Configurator.enableAntialiasing()
Modify engine to not block UI when big documents are loaded
Change Constants interface and inner interfaces to classes
Change default cache size to 150 parts
Update gradle version
Update build tools version
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,12 @@
1
+
## 2.5.0 (2017-03-23)
2
+
* Update PdfiumAndroid to 1.6.0, which is based on newest Pdfium from Android 7.1.1. It should fix many rendering and fonts problems
3
+
* Add method `pdfView.fitToWidth()`, which called in `OnRenderListener.onInitiallyRendered()` will fit document to width of the screen (inspired by [1stmetro](https://github.com/1stmetro))
4
+
* Add change from pull request by [isanwenyu](https://github.com/isanwenyu) to get rid of rare IllegalArgumentException while rendering
5
+
* Add `OnRenderListener`, that will be called once, right before document is drawn on the screen
6
+
* Add `Configurator.enableAntialiasing()` to improve rendering on low-res screen a little bit (as suggested by [majkimester](majkimester))
7
+
* Modify engine to not block UI when big documents are loaded
8
+
* Change `Constants` interface and inner interfaces to static public classes, to allow modifying core config values
9
+
1
10
## 2.4.0 (2016-12-30)
2
11
* Merge pull request by [hansinator85](https://github.com/hansinator85) which allows to enable/disable rendering during scale
3
12
* Make rendering during scale disabled by default (looks better)
Copy file name to clipboardExpand all lines: README.md
+35-13Lines changed: 35 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,17 @@ repo, where can be developed independently. Version 1.x uses different engine fo
7
7
so if you don't like 2.x version, try 1.x.__
8
8
9
9
Library for displaying PDF documents on Android, with `animations`, `gestures`, `zoom` and `double tap` support.
10
-
It is based on [PdfiumAndroid](https://github.com/barteksc/PdfiumAndroid) for decoding PDF files. Works on API 11 and higher.
10
+
It is based on [PdfiumAndroid](https://github.com/barteksc/PdfiumAndroid) for decoding PDF files. Works on API 11 (Android 3.0) and higher.
11
11
Licensed under Apache License 2.0.
12
12
13
-
## What's new in 2.4.0?
14
-
* Merge pull request by [hansinator85](https://github.com/hansinator85) which allows to enable/disable rendering during scale
15
-
* Make rendering during scale disabled by default (looks better)
16
-
* Merge pull request by [cesquivias](https://github.com/cesquivias) which replaces RenderingAsyncTask with Handler to simply code and work with testing frameworks
13
+
## What's new in 2.5.0?
14
+
* Update PdfiumAndroid to 1.6.0, which is based on newest Pdfium from Android 7.1.1. It should fix many rendering and fonts problems
15
+
* Add method `pdfView.fitToWidth()`, which called in `OnRenderListener.onInitiallyRendered()` will fit document to width of the screen (inspired by [1stmetro](https://github.com/1stmetro))
16
+
* Add change from pull request by [isanwenyu](https://github.com/isanwenyu) to get rid of rare IllegalArgumentException while rendering
17
+
* Add `OnRenderListener`, that will be called once, right before document is drawn on the screen
18
+
* Add `Configurator.enableAntialiasing()` to improve rendering on low-res screen a little bit (as suggested by [majkimester](majkimester))
19
+
* Modify engine to not block UI when big documents are loaded
20
+
* Change `Constants` interface and inner interfaces to static public classes, to allow modifying core config values
17
21
18
22
## Changes in 2.0 API
19
23
*`Configurator#defaultPage(int)` and `PDFView#jumpTo(int)` now require page index (i.e. starting from 0)
@@ -28,7 +32,7 @@ Licensed under Apache License 2.0.
0 commit comments