Android 16 KB fix map

pdfium-android 16 KB page-size status: no aligned release

Artifact com.github.mhiew:pdfium-android · Maintained by hermonLabs · last measured 1 Oct 2026 · methodology · all libraries

no aligned release found

No measured release of pdfium-android is 16 KB-aligned. The newest measured version, 1.9.2, is still offending.

2of 2 measured versions with native code ship 4 KB-aligned libraries

Last offending 1.9.2: p_align = 4 KB (4096)

Thin lines: 4 KB cells. Heavy lines: 16 KB page boundaries.

How the verdict was reached

In version order, the 2 measured versions of com.github.mhiew:pdfium-android run as 1 stretch: com.github.mhiew:pdfium-android:1.9.1 to 1.9.2 offending (4 KB-aligned) (2 measured). Versions are ordered by number, not by publish date, because backports are released after newer lines.

Every one of the 2 measured versions with native code is offending; none reaches 16384. The newest measured, 1.9.2 (file date 2022-05-22), has a minimum p_align of 4 KB, so no upgrade of this artifact alone clears the requirement as of 1 Oct 2026.

Measured files by the year of their repository date:

  • 2022: 2 offending (4 KB-aligned)

The offending versions fail on arm64-v8a and x86_64; Google's rule covers the 64-bit ABIs, so those are the two libraries the verdict reads.

Every version measured

2 of 2 published versions of com.github.mhiew:pdfium-android were downloaded and read: 2 offending, 0 aligned, 0 with no arm64-v8a/x86_64 .so. Measured files date from 2022-05-22 to 2022-05-22. Newest first. Each version links to the file measured.

Coordinate (group:artifact:version)File dateResultarm64-v8a p_alignx86_64 p_align
com.github.mhiew:pdfium-android:1.9.22022-05-22offending4 KB4 KB
com.github.mhiew:pdfium-android:1.9.12022-05-22offending4 KB4 KB

Measured evidence

4 KB8 KB16 KB64 KB16 KB: the requirementlast offending 1.9.2
Last offendingversion 1.9.2

4 KBp_align 4096 = 2^12

016 KB linestarts inside the page
verdict
below the 16 KB requirement
library file
jni/arm64-v8a/libc++_shared.so
file date
Sun, 22 May 2022 20:18:13 GMT
source
artifact

Native libraries inside the artifact

The newest measured version with native code is 1.9.2. It ships 5 native libraries per ABI: libc++_shared.so, libjniPdfium.so, libmodft2.so, libmodpdfium.so, libmodpng.so. The verdict is the lowest p_align among them.

Lowest p_align of each native library file across the measured versions (in version order):

  • libc++_shared.so: 4 KB (offending) in com.github.mhiew:pdfium-android:1.9.1 to 1.9.2 (2 versions)
  • libjniPdfium.so: 4 KB (offending) in com.github.mhiew:pdfium-android:1.9.1 to 1.9.2 (2 versions)
  • libmodft2.so: 4 KB (offending) in com.github.mhiew:pdfium-android:1.9.1 to 1.9.2 (2 versions)
  • libmodpdfium.so: 4 KB (offending) in com.github.mhiew:pdfium-android:1.9.1 to 1.9.2 (2 versions)
  • libmodpng.so: 4 KB (offending) in com.github.mhiew:pdfium-android:1.9.1 to 1.9.2 (2 versions)
Library fileABIp_align @ 1.9.2
libc++_shared.soarm64-v8a4 KB
libc++_shared.sox86_644 KB
libjniPdfium.soarm64-v8a4 KB
libjniPdfium.sox86_644 KB
libmodft2.soarm64-v8a4 KB
libmodft2.sox86_644 KB
libmodpdfium.soarm64-v8a4 KB
libmodpdfium.sox86_644 KB
libmodpng.soarm64-v8a4 KB
libmodpng.sox86_644 KB

The Gradle change

build.gradle.kts
-implementation("com.github.mhiew:pdfium-android:1.9.2")
?no aligned version measured: nothing to change this to yet

no 16 KB-aligned release of com.github.mhiew:pdfium-android measured (latest measured 1.9.2); ask the vendor, check for a fork, or re-link the .so yourself; replacing is the last resort

Method and sources

Measured from the published files in repo1.maven.org/maven2/com/github/mhiew/pdfium-android/. How the verdicts are derived and what they do not cover: methodology. Google's requirement: Support 16 KB page sizes.

All 2 published versions were downloaded and measured.

Email me when pdfium-android ships a 16 KB-aligned build

You get an email when a re-measurement changes the status. No newsletter.

Double opt-in. Stored: email, library ids, this wording, the time. No IP.