Skip to content

dsh-document-selection-ask v0.1.2

Latest

Choose a tag to compare

@HaowenCang HaowenCang released this 21 Sep 12:05
· 1 commit to main since this release
cf4ec35

dsh-document-selection-ask v0.1.2

v0.1.2 fixes PDF high-DPI rendering and TextLayer selection alignment.

Fixed

  • Correct PDF canvas backing resolution on high-DPI displays.
  • Remove the inverted PDF finest quality tier.
  • Decouple PDF TextLayer CSS geometry from canvas backing density.
  • Use the PDF CSS viewport scale for TextLayer layout.
  • Fix severe selection/glyph displacement on scaled displays.

Regression coverage

  • Browser deviceScaleFactor 1 / 1.25 / 1.5 / 2.
  • Canvas backing-density assertions.
  • Canvas-ink versus TextLayer geometry checks.
  • CJK high-DPI PDF coverage.
  • Pointer-drag selection coverage.

Compatibility

  • DSH 0.1.5-rc.2
  • Node ^22.19.0 or >=24.0.0
  • Primary verified environment: Windows 11 with Chromium-based DSH Web UI

Verification

  • Vitest: 1061 passed / 0 failed
  • Retained complete browser runs: 95 passed / 0 failed / 0 skipped
  • npm package verification: PASS
  • npm registry artifact byte-identical to the frozen release artifact

Install

dsh plugin --profile <profile> add dsh-document-selection-ask@0.1.2

Integrity

B90F7DDAAEA2E17C874A92330B0E97890028D3552493735908228B9581567EF8  dsh-document-selection-ask-0.1.2.tgz

Known verification boundary

Two unrelated pre-existing browser tests were timing-sensitive under heavy
machine load during Task 16: the DOCX rapid-switch case and locale-switching
case. The retained complete runs are 95/0/0, and every PDF high-DPI case passed
in all repeated runs used for the hotfix verification.