diff --git a/published/20231115 Linux eBook Reader Foliate 3.0 Upgrade- Improves UX With GTK 4 Port.md b/published/20231115 Linux eBook Reader Foliate 3.0 Upgrade- Improves UX With GTK 4 Port.md new file mode 100644 index 0000000000..686ac804ac --- /dev/null +++ b/published/20231115 Linux eBook Reader Foliate 3.0 Upgrade- Improves UX With GTK 4 Port.md @@ -0,0 +1,144 @@ +[#]: subject: "Linux eBook Reader Foliate 3.0 Upgrade: Improves UX With GTK 4 Port" +[#]: via: "https://news.itsfoss.com/foliate-3-0/" +[#]: author: "Sourav Rudra https://news.itsfoss.com/author/sourav/" +[#]: collector: "lujun9972/lctt-scripts-1693450080" +[#]: translator: "ChatGPT" +[#]: reviewer: "wxy" +[#]: publisher: "wxy" +[#]: url: "https://linux.cn/article-16393-1.html" + +全新的 Linux 电子书阅读器 Foliate 3.0 发布 +====== + +![][0] + +> 引入了 GTK 4 ,并优化了 UI。 + +Foliate 作为 [Linux 上最佳的电子书阅读器][1] 之一,在过去几年中发展得相当不错,按时接收更新和错误修复。 + +然而,因为它的底层技术有些过时,使其近来显得有些老旧。但随着 **Foliate 3.0** 的发布,情况已经有所改变。 + +让我们详细了解一下这些改进。 + +### 🆕 Foliate 3.0:新增了什么? + +![][2] + +在 3.0 版本中,**Foliate 进行了彻底的重构**,采用了 [GTK 4][3]、[Adwaita][4] 等现代平台库。开发者预示,我们可以期待一个焕然一新的界面和比以前更出色的性能。 + +现在,Foliate 开始**使用自己的电子书解析器/渲染器**,并抛弃了 [Epub.js][5] 和 [KindleUnpack][6]。遗憾的是,他们在 3.0 发布时**并未及时移植某些功能**,因此这个版本**并未支持 [OPDS][7] 目录和离线字典**。 + +说到这次发布的一些亮点,其中包括: + + * 用户界面全新升级 + * 更佳的渲染质量 + * 优化的用户体验 + +#### 用户界面全新升级 + +![][8] + +如你所见,Foliate 的主要变化在于其用户界面。它现在采用了**全新的布局**,把图书库和电子书阅读器都整合到一个窗口中。 + +还有一个**新的侧边栏**,在这里你可以找到一些重要的功能,如目录、注释和书签。 + +![][9] + +在顶部,你可以看到**一个方便的搜索栏**,让你可以在书中搜索特定的词或句子,同时有一个“图书库Library”按钮可以帮助你回到你的电子书库。 + +> 📋 你可以用标题栏中的选项来切换侧边栏的可见性。 + +此外,分页模式也进行了重大的改进。 + +它们增加了**动画和 1:1 触屏/触摸板滑动手势的支持**,**支持超过两列**,优化了调整性能,此外,你还可以**配置最大的宽度和高度**等等。 + +#### 更佳的渲染 + +在书籍渲染方面,也进行了许多改进,其中一些重要的包括: + + * 如果一个网页不是有效的 XHTML,那它会被当作 HTML 处理。 + * Mobipocket 文件现在被优化为多个部分以显著提升性能。 + * 当一个文件被重新加载时,它现在会正确的重新加载,而不只是重新渲染。 + * 不再直接将整个文件加载至内存,因此启动时间和内存使用得以优化。 + +#### 优化的用户体验 + +![][10] + +除了用户界面的优化,Foliate 3.0 还引入了一些**非常酷的用户体验改进**。 + +比如书签系统,添加书签的按钮被移至标题栏,并且被添加书签的页面会在顶部显示特殊的标记。 + +图像查看器也有所更新,如今当图片被复制时,它们将以其原始格式进行保存。此外,只需双击图片就能打开,其它选项已被删除。 + +进度滑块同样得到了优化,现在可以支持键盘和鼠标滚轮操作。在那里你还能找到更新了的配音功能,现在使用 [Speech Dispatcher][11] 作为其后端。 + +#### 🛠️ 其他的改动和优化 + +这次改进还包含了一些其他方面,值得注意的包括: + + * 现在你可以打印特定的章节和文本选段。 + * 把实验性质的传统标题栏选项移除了。 + * 注解现在会随着各自的时间戳保存下来。 + * 一个安全修复,禁用了对 Flatpak 的沙盒逃逸权限。 + +你可以浏览 [官方发布公告][12] 获取更多信息。 + +### 📥 如何获取 Foliate + +这个全新的 Foliate 版本已经在 [Flathub 商店][13] 和 [Snap 商店][14](目前只提供开发者版本)上架。 + +> **[Foliate (Flathub)][13]** + +你还可以通过访问 [官方网站][15] 或 [GitHub 仓库][16] 来获取源代码。 + +### 故障排除提示 + +如果 **Foliate 不能正常加载 EPUB 文件**,而你**正在使用英伟达显卡**,那么你可以设置以下任一环境变量来启动应用: + +``` +WEBKIT_DISABLE_COMPOSITING_MODE=1 +``` + +``` +WEBKIT_DISABLE_DMABUF_RENDERER=1 +``` + +如果你已经安装了 **Foliate 的 Flatpak 版本**,只需使用 [Flatseal][17] 添加相同的环境变量即可。对我来说,第二个命令奏效了。 + +你可以查阅相关的 [GitHub 议题][18] 进行进一步的故障排除。 + +*(题图:MJ/647e01ba-def8-43f3-b21a-94b2a54ee5c6)* + +-------------------------------------------------------------------------------- + +via: https://news.itsfoss.com/foliate-3-0/ + +作者:[Sourav Rudra][a] +选题:[lujun9972][b] +译者:[ChatGPT](https://linux.cn/lctt/ChatGPT) +校对:[wxy](https://github.com/wxy) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://news.itsfoss.com/author/sourav/ +[b]: https://github.com/lujun9972 +[1]: https://itsfoss.com/best-ebook-readers-linux/ +[2]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_1.png +[3]: https://blog.gtk.org/2020/12/16/gtk-4-0/ +[4]: https://gnome.pages.gitlab.gnome.org/libadwaita/ +[5]: https://github.com/futurepress/epub.js +[6]: https://github.com/kevinhendricks/KindleUnpack +[7]: https://en.wikipedia.org/wiki/Open_Publication_Distribution_System +[8]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_2.png +[9]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_3.png +[10]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_4.png +[11]: https://wiki.archlinux.org/title/Speech_dispatcher +[12]: https://github.com/johnfactotum/foliate/releases/tag/3.0.0 +[13]: https://flathub.org/apps/com.github.johnfactotum.Foliate +[14]: https://snapcraft.io/foliate +[15]: https://johnfactotum.github.io/foliate/ +[16]: https://github.com/johnfactotum/foliate +[17]: https://itsfoss.com/flatseal/ +[18]: https://github.com/johnfactotum/foliate/issues/1093 +[0]: https://img.linux.net.cn/data/attachment/album/202311/18/113642mf8bft5rmo7io5ux.png \ No newline at end of file diff --git a/sources/news/20231115 Linux eBook Reader Foliate 3.0 Upgrade- Improves UX With GTK 4 Port.md b/sources/news/20231115 Linux eBook Reader Foliate 3.0 Upgrade- Improves UX With GTK 4 Port.md deleted file mode 100644 index 7a42f1c512..0000000000 --- a/sources/news/20231115 Linux eBook Reader Foliate 3.0 Upgrade- Improves UX With GTK 4 Port.md +++ /dev/null @@ -1,147 +0,0 @@ -[#]: subject: "Linux eBook Reader Foliate 3.0 Upgrade: Improves UX With GTK 4 Port" -[#]: via: "https://news.itsfoss.com/foliate-3-0/" -[#]: author: "Sourav Rudra https://news.itsfoss.com/author/sourav/" -[#]: collector: "lujun9972/lctt-scripts-1693450080" -[#]: translator: " " -[#]: reviewer: " " -[#]: publisher: " " -[#]: url: " " - -Linux eBook Reader Foliate 3.0 Upgrade: Improves UX With GTK 4 Port -====== -A GTK 4 port with nice UI refinements. -Being one of the [best eBook readers for Linux][1], Foliate has been progressing rather nicely over the years, receiving timely updates and bug fixes. - -However, it was looking a bit aged in recent times thanks to it featuring some old tech underneath. But, that has since changed with the release of **Foliate 3.0**. - -Let's see what kind of improvements are on offer. - -## 🆕 Foliate 3.0: What's New? - -![][2] - -With the 3.0 release, **Foliate has been completely rewritten** by using the modern platform libraries like [GTK 4][3] and [Adwaita][4]. The developers have mentioned to expect a refreshed interface and superior performance than before. - -Foliate now **uses its own eBook parser/render** , doing away with [Epub.js][5] and [KindleUnpack][6]. Sadly, they were **unable to port a few features in time** for the 3.0 release, so this version **doesn't have support for[ **OPDS**][7] catalogs and offline dictionaries**. - -As for the **key highlights** of this release: - - * **Revamped User Interface** - * **Better Rendering** - * **Improved User Experience** - - - -### Revamped User Interface - -![][8] - -As you can see, the most significant change to Foliate has been its user interface. It now features **a new layout** where the Library and e-book viewer have been integrated into a single window. - -You will also notice that there is **a new sidebar** that features some important options such as the table of contents, annotations, and bookmarks. - -![][9] - -There is also **a handy search bar** at the top that allows you to search for specific words or sentences in a book, and a “Library” button to take you back to your library of e-books. - -📋 - -You can toggle the sidebar's visibility by accessing options in the header bar. - -Furthermore, the **paginated mode also sees some major improvements**. - -They have added **support for animation and 1:1 touchscreen/touchpad swipe gestures** , **support for more than two columns** , **better resizing behavior** , the **ability to configure the max width/height** and more. - -### Better Rendering - -There have been many improvements on the book rendering side of things too, some key ones include: - - * If a page is not a valid XHTML one, it will be treated as HTML. - * Mobipocket files are now divided into sections to greatly improve performance. - * When a file is reloaded, it is now properly reloaded, rather than just being re-rendered. - * Startup time and memory usage has been optimized by not loading the entire file into memory. - - - -### Improved User Experience - -![][10] - -Besides the user interface upgrades, there have been some **really cool user experience tweaks** with Foliate 3.0. - -Take for instance the **bookmarking system** , the button for bookmarking pages has been moved to the header bar, and bookmarked pages now show a distinct ribbon at the top. - -The **image viewer** has also seen some updates, now when images are copied, they are stored in their original file format. Moreover, to open images, you simply double-click on them, the other options have been removed. - -The **progress slider has also been improved** , with it now supporting keyboards and mouse scrolls. You will also find the **updated narration functionality** there, which now uses [Speech Dispatcher][11] at its back end. - -### 🛠️ Other Changes and Improvements - -As for the rest of the refinements, here are some worth noting: - - * You can now print specific chapters and text selections. - * An experimental traditional title bar option was removed. - * Annotations are now saved with their respective timestamps. - * A security fix that has removed the sandbox escape permission for Flatpak. - - - -You may go through the [official release notes][12] to learn more. - -## 📥 Get Foliate - -This revamped version of Foliate is available via the [Flathub store][13] and the [Snap store][14] (edge channel only, for now). - -[Foliate (Flathub)][13] - -You can also visit the [official website][15] or the [GitHub repo][16] for the source code. - -### Troubleshooting Tip - -If **Foliate refuses to load EPUB files** properly, and you are **using an NVIDIA GPU** , then you can run the app using either of the following commands: - -``` - - WEBKIT_DISABLE_COMPOSITING_MODE=1 - - WEBKIT_DISABLE_DMABUF_RENDERER=1 - -``` - -If you have the **Flatpak version of Foliate** installed, just add the same line to the environment variables by using [Flatseal][17]. For me, the second command did the job. - -You can refer to the [GitHub issue][18] in question for further troubleshooting. - -* * * - --------------------------------------------------------------------------------- - -via: https://news.itsfoss.com/foliate-3-0/ - -作者:[Sourav Rudra][a] -选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://news.itsfoss.com/author/sourav/ -[b]: https://github.com/lujun9972 -[1]: https://itsfoss.com/best-ebook-readers-linux/ -[2]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_1.png -[3]: https://blog.gtk.org/2020/12/16/gtk-4-0/ -[4]: https://gnome.pages.gitlab.gnome.org/libadwaita/ -[5]: https://github.com/futurepress/epub.js -[6]: https://github.com/kevinhendricks/KindleUnpack -[7]: https://en.wikipedia.org/wiki/Open_Publication_Distribution_System -[8]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_2.png -[9]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_3.png -[10]: https://news.itsfoss.com/content/images/2023/11/Foliate_3.0_4.png -[11]: https://wiki.archlinux.org/title/Speech_dispatcher -[12]: https://github.com/johnfactotum/foliate/releases/tag/3.0.0 -[13]: https://flathub.org/apps/com.github.johnfactotum.Foliate -[14]: https://snapcraft.io/foliate -[15]: https://johnfactotum.github.io/foliate/ -[16]: https://github.com/johnfactotum/foliate -[17]: https://itsfoss.com/flatseal/ -[18]: https://github.com/johnfactotum/foliate/issues/1093