26.4.5
- Fixed a preview font size mismatch when using editor highlighting styles in the
preview on high-DPI displays (particularly on Windows with desktop scaling): the
pixel-to-point conversion formula in the QLiteHtml container was inverted, causing
fonts stored with a pixel size to be rendered at a massively inflated point size
(e.g. a 9pt font appearing as ~100pt at 250% scaling); the formula is nowpt = px * 72 / DPI
instead ofpt = DPI * px / 72(for #3539) - Fixed a possible crash (SIGSEGV) caused by inline markdown image previews for
remote HTTP/HTTPS URLs performing a synchronous network download inside a paint
event, which triggered a nestedQEventLoopand caused Qt's widget repaint manager
to re-enter itself recursively until the stack overflowed; remote images are now
fetched asynchronously and the viewport is refreshed automatically once the
download completes (for #1254) - When searching with selected text via Ctrl+F in the note text edit,
the preview, or the QLiteHTML preview, the first result now highlights
the originally selected occurrence instead of jumping to the next one, so the
editor/view no longer scrolls away from the user's current position
(for #3541) - Added more French, Korean, Spanish translation (thank you, jd-develop, VenusGirl, AlejandroMoc)