Skip to content

v1.6.0 — Viewer zoom

Choose a tag to compare

@wpdlf wpdlf released this 04 Sep 07:49
· 190 commits to main since this release

The source viewer can now be zoomed. Until now the viewer only auto-fitted the page to the panel width, which made small-print papers and scanned documents hard to read.

New — viewer zoom

  • − / + buttons in the viewer header (25% steps), and click the percentage to return to fit-to-width.
  • Ctrl + mouse wheel over the page (10% steps).
  • Ctrl+= / Ctrl+- / Ctrl+0 while the viewer is open (ignored while typing in an input).
  • Range 50–300%. The page you were reading stays in place when the scale changes, and the level is remembered across restarts.
  • Pages wider than the panel scroll horizontally.

Fixed

  • At 100% the viewer could show a horizontal scrollbar and clip the right edge of the page. The fit width was measured before the vertical scrollbar appeared; the scrollbar space is now always reserved.

Tests

  • 2510 unit tests / 120 files (was 2470 / 118). New pure-function tests for the zoom arithmetic and scroll anchoring, component tests for buttons, wheel, keys and scroll preservation, and a local-only Playwright smoke that opens the real viewer from a citation and checks canvas size, that Ctrl+wheel does not zoom the whole app, and that 100% has no horizontal scroll.
🇰🇷 한국어

원문 뷰어를 확대·축소할 수 있습니다. 지금까지는 패널 너비에 맞춘 자동 맞춤만 있어 작은 글씨 논문이나 스캔 문서를 읽기 어려웠습니다.

새 기능 — 뷰어 확대·축소

  • 뷰어 상단의 − / + 버튼(25% 단위), 퍼센트 표시를 클릭하면 화면 맞춤으로 복귀.
  • 페이지 위에서 Ctrl + 마우스 휠(10% 단위).
  • 뷰어가 열린 상태에서 Ctrl+= / Ctrl+- / Ctrl+0 (입력창에 타이핑 중일 때는 무시).
  • 범위 50~300%. 배율을 바꿔도 보던 위치가 유지되고, 배율은 재시작 후에도 기억됩니다.
  • 패널보다 넓어진 페이지는 가로로 스크롤합니다.

수정

  • 100% 인데도 뷰어에 가로 스크롤바가 생기고 페이지 오른쪽이 잘리던 문제. 맞춤 폭이 세로 스크롤바가 생기기 전에 측정되던 것이 원인이며, 이제 스크롤바 자리를 항상 예약합니다.

테스트

  • 단위 테스트 2510건 / 120파일(이전 2470 / 118). 배율 산술·스크롤 앵커 순수 함수 테스트, 버튼·휠·키·스크롤 보존 컴포넌트 테스트, 그리고 인용에서 실제 뷰어를 열어 canvas 크기·Ctrl+휠이 앱 전체를 키우지 않는지·100% 에서 가로 스크롤이 없는지 확인하는 로컬 전용 Playwright 스모크를 추가했습니다.

Windows installer SHA-256

7e58f58224418be254713109297f7cf39c29a401adb16e6faf13963e8b3d67fa  Local-PDF-Analyzer-Setup-1.6.0.exe