Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ The release run heads these entries with the version and opens a fresh
- Text in a pdf can be selected, searched and copied where it came out as CJK
before. A simple font's codes are one byte each, whatever codespace its
`ToUnicode` map declares, and producers routinely declare two.
- A pdf page that is off screen is no longer laid out or painted. On a drawing-
heavy file this halves the time to open and takes a zoom step from ~340ms to
~50ms.

## v6.10.1 - 2026-08-21

Expand Down
4 changes: 3 additions & 1 deletion src/odr/internal/html/pdf_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2599,7 +2599,9 @@ class HtmlServiceImpl final : public HtmlService {
"width:max-content;min-width:100%}";
// `overflow:hidden` clips to the crop box, as a viewer does: content may
// sit outside it (a bleed, or an InDesign spread's other page).
out.out() << ".p{position:relative;"
// `content-visibility` skips an off-screen page; the box states its own
// size, so no `contain-intrinsic-size` and no scroll geometry change.
out.out() << ".p{content-visibility:auto;position:relative;"
"margin:0 max(16px,var(--odr-min-margin-right,0px)) 0 "
"max(16px,var(--odr-min-margin-left,0px));background:#fff;"
"overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.5)}";
Expand Down
Loading