2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/frontend/document
poire-z dd74194e0a cre.getWordFromPosition(): fix a few issues
Drop the use of crengine's getWordFromPosition() which
is a bit unreliable: it may returns wrong coordinates,
or words from far away in the book (ie. when holding
in the margins).
Rely only on the robust getTextFromPositions() that
we already use for multi words selection.
Having good coordinates allows refreshing a smaller region
(the higlighted word, or the 2 lines if hyphenated).
2020-12-31 13:28:08 +01:00
..
canvascontext.lua enable usage of system fonts 2020-08-27 21:40:18 +02:00
credocument.lua cre.getWordFromPosition(): fix a few issues 2020-12-31 13:28:08 +01:00
djvudocument.lua [feat] Comics: zoom to panel (#6511) 2020-09-24 15:17:37 +02:00
document.lua Paged documents: rework zoom options (#6885) 2020-11-28 17:18:57 +01:00
documentregistry.lua Add API to set OS level file associations (#6615) 2020-09-01 16:39:47 +02:00
koptinterface.lua KoptInterface:getWordFromBoxes: guard against nil boxes (#6827) 2020-10-26 12:26:18 +01:00
pdfdocument.lua bump crengine: sync with upstream, new hyphenation languages (#6746) 2020-10-03 15:07:07 +02:00
picdocument.lua JPG/PNG: MuPDF as default provider (#6931) 2020-12-04 19:10:50 +01:00
tilecacheitem.lua Handle the BlitBuffer struct changes 2020-12-19 01:54:43 +01:00