Repository navigation
3dslibris 3.2.3
This update fixes EPUB text that shrank after footnote references, ruby annotations and some tables. EPUB books can also show their own text colours now, and blacked-out words look like the publisher intended.
Fixes and improvements
- #189: a footnote reference styled as a smaller superscript or subscript no longer shrinks the rest of the paragraph. The text after it keeps the body size and stays justified.
- Text after ruby annotations (for example Japanese furigana) goes back to the normal size. It used to stay at the small annotation size.
- A table that crosses a page break no longer picks up a smaller font size from an earlier paragraph.
- EPUB books show the text colours from their stylesheets and
styleattributes, so a word in purple or a paragraph in teal looks that way on the 3DS too. - Backgrounds on inline text (
span,a,emand so on) are drawn. Words the publisher blacked out appear as a solid bar, and you no longer read the "xxxx" placeholder underneath. In dark mode the bar uses the text colour so you can still see it. - Strikethrough, underline and overline set in a stylesheet class now work. They used to work only in inline styles, or when the class name happened to contain a word like "strike".
- EPUB and FB2 books are repaginated the first time you open them after updating. Reading progress, bookmarks and preferences are kept.
Colour limits
- If a colour is too close to the page background of your theme, the reader uses the normal text colour. That covers white text on a white page and near-black text in dark mode. A pale highlight on a light page is not drawn for the same reason.
- Colours can be written as
#rgb,#rrggbb(with or without alpha),rgb(),rgba()or about 30 common names such asred,tealornavy.hsl()and less common names likerebeccapurpleare ignored, and that text keeps the normal colour. - Backgrounds are only drawn on inline text. Whole paragraphs and boxes keep the page background, and borders are not drawn yet.
- The 3DS screen has fewer colours than a phone or computer, so some shades look slightly different.
- Colours only apply to EPUB books.
Downloads
3dslibris.ciaor3dslibris.3dsxfor normal use.3dslibris-sdmc.zip: runtime files for Homebrew Launcher installs; use with the.3dsxdownload.- Debug builds (
3dslibris-debug.cia/3dslibris-debug.3dsx) and3dslibris-source.tar.gzare also included.
Thanks to everyone trying the builds and reporting issues. You can support the project with a ⭐ on GitHub or a coffee.