From 78074f0882ad77eb43d93ce6785b245577534d4c Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Fri, 14 Aug 2026 22:27:37 +0200 Subject: [PATCH] Take odrcore 6.6.0 The engine moves from 6.5.0 to 6.6.0, and nothing here has to move with it. The only change to the bindings is GraphicStyle gaining horizontal_position, which nothing in app/src reads, and the format table is untouched - so SupportedDocumentTypes derives the same two sets and STRICT_CATCH's generated intent-filters still match them, which SupportedFormatsTest confirms. What it brings is rendering, and the changelog entry is grouped by what a user would notice rather than by upstream fix: PDFs place their text by their own font, convert cmyk as Adobe does, clip to the crop box and decode JPEG 2000, and one whose content stream carries comments renders at all; a run that names no font is read at its paragraph's, so slide text that was invisible shows and sheet cells are drawn in their own font; a page-anchored frame sits where the page says and a document is laid out on the master page it names, which is a letter's address and date boxes and its letterhead margins; a frame that names a side is put there, so a centred image is centred and stays inside its frame; an empty paragraph keeps its height, so a blank line survives a copy; and a deep w:basedOn chain is walked onto a stack rather than recursed, so it no longer takes the process down, with xml parts read once instead of buffered twice. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01ScKEsM7MEV8DY7UkTEhLix --- CHANGELOG.md | 17 +++++++++++++++++ gradle/libs.versions.toml | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c38d32e8ffa..400d5ab18495 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,23 @@ users, one file per version code under `fastlane/metadata/android/en-US/changelogs/`, and pasted into the Play Console when the release is promoted. +## Unreleased + +- PDFs look much closer to the original: text sits at the right place and size, + colours match, pages are trimmed the way a PDF viewer trims them, and more of + their images come through. Some PDFs that opened blank now open properly. +- Text is shown in the font the document asks for. Slides whose writing was + there but invisible now show it, and spreadsheet cells are drawn in their own + font rather than the sheet's. +- Documents built on a template keep their layout: a letter's address and date + land in their boxes, and the page keeps the margins its letterhead needs. +- Images sit where the document puts them, centred if the file centres them, and + stay inside their frames instead of covering the page. +- Blank lines survive being copied out of a document. +- Large or unusually built documents open instead of crashing the app, and take + less memory while they do. A single unreadable character no longer costs you + the whole document. + ## 4.14.0 - The app opens on the documents you had open recently, instead of a welcome diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 15d8bdf30d6d..87bb43e2fd95 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ googleJavaFormat = "1.35.0" ktfmt = "0.64" # odrcore's JNI bindings, java and native in one AAR, published from OpenDocument.core -odrCore = "6.5.0" +odrCore = "6.6.0" androidxAnnotation = "1.10.0" androidxAppcompat = "1.7.1"