Skip to content

mdict.koplugin 0.2.2

Choose a tag to compare

@moopoint-dev moopoint-dev released this 03 Nov 21:58
· 21 commits to main since this release

Fixed

  • On Kindle, Kobo, PocketBook and other devices without the WebView (and on Android with the WebView turned off), entries were shown with none of the dictionary's styling, so every dictionary looked the same (#1). KOReader's renderer (MuPDF) reads stylesheets only from a page's head, and the entry's stylesheet links never got there. The plugin now gives the popup each entry's CSS itself, and scales sizes set in pixels to the popup's text size, since MuPDF draws a CSS pixel as one screen pixel. Layouts still look as MuPDF can draw them: no flexbox or grid, vertical text, scripts or audio.
  • In dictionaries that keep each entry under a record number and link the words to it, the popup showed that number (such as OKG1121512) instead of the word. It now shows the entry's headword.

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.2.zip into koreader/plugins/, replacing the mdict.koplugin folder, and restart KOReader.