Skip to content

Commit 97367a0

Browse files
authored
Fix 16K support for PDFium (#710)
1 parent f2a8f33 commit 97367a0

34 files changed

+11
-33
lines changed

buildSrc/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ repositories {
1212
gradlePluginPortal()
1313
google()
1414
mavenCentral()
15+
maven("https://jitpack.io")
1516
}
1617

1718
dependencies {

gradle/libs.versions.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ ksp = "2.1.21-2.0.1"
5656

5757
ktlint = "12.1.1"
5858

59-
# We cannot upgrade to 1.9.0 as it conflicts with liblcp.
60-
# See https://github.com/readium/kotlin-toolkit/issues/29
6159
#noinspection GradleDependency
60+
pdfium = "1.9.8"
61+
pdf-viewer = "3.2.8"
6262
picasso = "2.8"
6363
pspdfkit = "8.4.1"
6464

@@ -122,6 +122,8 @@ kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime",
122122
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx-serialization-json" }
123123
kotlinx-collections-immutable = { group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable", version.ref = "kotlinx-collections-immutable" }
124124

125+
pdfium = { group = "com.github.marain87", name = "PdfiumAndroid", version.ref = "pdfium" }
126+
pdfviewer = { group = "com.github.marain87", name = "AndroidPdfViewer", version.ref = "pdf-viewer" }
125127
picasso = { group = "com.squareup.picasso", name = "picasso", version.ref = "picasso" }
126128
pspdfkit = { group = "com.pspdfkit", name = "pspdfkit", version.ref ="pspdfkit" }
127129

readium/adapters/pdfium/common/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

readium/adapters/pdfium/common/gradle.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.
-11.7 KB
Binary file not shown.

readium/adapters/pdfium/common/src/main/AndroidManifest.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.
-486 KB
Binary file not shown.
-542 KB
Binary file not shown.
-5.12 MB
Binary file not shown.
-210 KB
Binary file not shown.

0 commit comments

Comments
 (0)