Skip to content

mdict.koplugin 0.2.3

Choose a tag to compare

@moopoint-dev moopoint-dev released this 04 Nov 02:41
· 15 commits to main since this release

Added

  • Kindle browser check (Kindles only): Search → Settings → MDict dictionaries → Kindle browser check. Kindle firmware 5.16.4 and later ships a Chromium browser, which could lay out entries the way the WebView does on Android: vertical Japanese, flexbox and grid, and buttons that open sections. Before that renderer is built, this check finds out whether a Kindle has the browser and enough free memory with KOReader running. It only reads system information (memory, CPU, firmware version, which of Amazon's services are running, the browser's files). It starts nothing, changes nothing, and holds no serial numbers or account names. The report is shown and saved as koreader/mdict-kindle-report.txt: Kindle owners, please attach it to a GitHub issue.

Fixed

  • Content that a dictionary hangs just outside its lines, such as LDELC's sense numbers, was cut off at the left edge of the page, and a sliver of it showed at the right edge of the page before. Horizontal pages now keep a small gutter on each side (4 px, scaled with the text size). Vertical entries are unchanged.
  • My font did not apply to bold and italic text when the chosen font has no bold or italic file (KOReader's FreeSerif, for example): that text kept the dictionary's font and could lose its weight. It now uses the chosen font, made bold or slanted by the WebView, as KOReader does in books.

Install

  • From 0.2.0: Search → Settings → MDict dictionaries → Updates → Check for updates, or wait for the automatic offer. Then restart KOReader (on Android, exit KOReader and open it again).
  • From 0.1.0: unzip mdict.koplugin-0.2.3.zip into koreader/plugins/, replacing the mdict.koplugin folder, and restart KOReader.