From 2a837cb50dc7edd28c690681f3b26318e762ea0b Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Mon, 6 Jul 2026 15:50:35 +0900 Subject: [PATCH] fix(reader): fix PDF text selection misplaced by OS font scaling (#49) (#4960) Bumps foliate-js to include readest/foliate-js#49, which corrects PDF text selection and highlighting drifting down and spilling into the margins when the device's system font-size accessibility setting is larger than default. Android scales the transparent text layer's glyphs but not the page canvas, so the text layer now divides that scale back out of the glyph size. Co-authored-by: Claude Opus 4.8 (1M context) --- packages/foliate-js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/foliate-js b/packages/foliate-js index c50a7b16..7c9cc45b 160000 --- a/packages/foliate-js +++ b/packages/foliate-js @@ -1 +1 @@ -Subproject commit c50a7b164c5d1b49fc1521e86be41abf45224ebd +Subproject commit 7c9cc45bafb8b56934b623186bc1c7dbb6a848a2