Open Source Licenses
The open source projects HanXun Reader uses, and their licenses. This page is packaged in the app: Settings → About → Guide & licenses → Open source licenses opens it, even offline.
This English version is a translation for convenience. If it differs from the Chinese version, the Chinese version prevails.
HanXun Reader itself
HanXun Reader for HarmonyOS, Copyright (C) 2026 Tyler2049. All rights reserved. You may use it on your own devices; see section 4 of the Terms of Use under Privacy & terms.
Open source projects used
The following code is packaged in the app and used by the reading page's web core (reader.js) and PDF rendering. These licenses all allow use in an app whose source is not published, on condition that each project's copyright notice and license text come with it; they travel unchanged with the installation package (licenses.txt next to the reading page).
| Project | Version | Used for | License |
|---|---|---|---|
| foliate-js | Readest fork, commit a1319f4 | Lays out EPUB, MOBI, AZW3; PDF adapter | MIT |
| zip.js | bundled with foliate-js | Unzipping EPUB | BSD-3-Clause |
| fflate | bundled with foliate-js | Decompression | MIT |
| markdown-it | 15.0.2 | Markdown to HTML | MIT |
| markdown-it-footnote | 4.0.0 | Markdown footnotes | MIT |
| markdown-it-cjk-friendly | 3.0.0 | CJK emphasis and line breaks | MIT |
| get-east-asian-width | 1.6.0 | used by markdown-it-cjk-friendly | MIT |
| entities | 8.1.0 | used by markdown-it | BSD-2-Clause |
| linkify-it | 6.1.0 | used by markdown-it | MIT |
| mdurl | 2.1.0 | used by markdown-it | MIT |
| uc.micro | 3.0.0 | used by markdown-it | MIT |
| punycode.js | 2.3.1 | used by markdown-it | MIT |
| pdf.js | 6.4.299 (pdfjs-dist legacy build) | Rendering PDF | Apache-2.0 |
| PDFium JBIG2 decoder | bundled with pdf.js | Black-and-white scanned images | BSD-3-Clause |
| OpenJPEG | bundled with pdf.js | JPEG 2000 images | BSD-2-Clause |
| qcms | bundled with pdf.js | Color management | MIT |
| Foxit fonts | standard fonts bundled with pdf.js | Fallback when a PDF has no embedded font | BSD-3-Clause |
| Liberation Sans | 2.1.5 | Fallback when a PDF has no embedded font | SIL OFL 1.1 |
Offline dictionary
The "Offline dictionary" under Settings → Selection is not in the installation package. It is downloaded from dict.qinjianhanxun.com only when you tap Download, as separate data that carries both license texts:
| Dictionary | Used for | License |
|---|---|---|
| ECDICT (about 90,000 common entries kept) | English–Chinese | MIT |
| CC-CEDICT (published by MDBG, reformatted) | Chinese–English | CC BY-SA 4.0; the reformatted data is released under the same license |
Not packaged
The fonts under "Recommended fonts" in Settings are listed by name with a link to their websites; the app ships no font files, and you download and import them yourself. Reading aloud and translation use each provider's online service (Microsoft Edge voices, translation APIs), not code packaged in the app, and their terms of use apply.