Skip to content

Commit

Permalink
Fix rendering not embedded fonts
Browse files Browse the repository at this point in the history
Update build tools
Update version
  • Loading branch information
barteksc committed Jun 9, 2017
1 parent bab91ca commit c873b24
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 11 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.6.1 (2017-06-09)
* Fix bug from 1.6.0 - not embedded fonts was not rendered

## 1.6.0 (2017-03-22)
* Pdfium updated to newest version, from Android 7.1.1.
It should fix many rendering issues and (thanks to freetype support) fix problems with fonts.
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ Forked for use with [AndroidPdfViewer](https://github.com/barteksc/AndroidPdfVie

API is highly compatible with original version, only additional methods were created.

## What's new in 1.6.0?
* Pdfium updated to newest version, from Android 7.1.1.
It should fix many rendering issues and (thanks to freetype support) fix problems with fonts.
## What's new in 1.6.1?
* Fix bug from 1.6.0 - not embedded fonts was not rendered

## Installation
Add to _build.gradle_:

`compile 'com.github.barteksc:pdfium-android:1.6.0'`
`compile 'com.github.barteksc:pdfium-android:1.6.1'`

Library is available in jcenter and Maven Central repositories.

Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.android.tools.build:gradle:2.3.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
Expand All @@ -25,7 +25,7 @@ ext {
siteUrl = 'https://github.com/barteksc/PdfiumAndroid'
gitUrl = 'https://github.com/barteksc/PdfiumAndroid.git'

libraryVersion = '1.6.0'
libraryVersion = '1.6.1'

developerId = 'barteksc'
developerName = 'Bartosz Schiller'
Expand All @@ -38,13 +38,13 @@ ext {

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
buildToolsVersion "25.0.3"

defaultConfig {
minSdkVersion 9
targetSdkVersion 25
versionCode 1
versionName "1.6.0"
versionName "1.6.1"
}
buildTypes {
release {
Expand All @@ -63,7 +63,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:support-v4:25.2.0'
compile 'com.android.support:support-v4:25.3.1'
}

apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sat Sep 10 19:01:16 CEST 2016
#Tue Jun 06 19:49:00 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
Binary file modified src/main/jni/lib/arm64/libmodft2.so
Binary file not shown.
Binary file modified src/main/jni/lib/armeabi/libmodft2.so
Binary file not shown.
Binary file modified src/main/jni/lib/mips/libmodft2.so
Binary file not shown.
Binary file modified src/main/jni/lib/x86/libmodft2.so
Binary file not shown.
Binary file modified src/main/jni/lib/x86_64/libmodft2.so
Binary file not shown.

0 comments on commit c873b24

Please sign in to comment.