Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加载epub图书时,可以根据HTML标签标记格式进行不同格式、不同Font的显示,而非直接简单拼接文本 #4598

Open
1 task done
Mo-Yuxi opened this issue Feb 1, 2025 · 0 comments
Labels
需求 F.用户提出的功能意见

Comments

@Mo-Yuxi
Copy link

Mo-Yuxi commented Feb 1, 2025

确认 / Assignments

  • 搜索现有issues,不存在相似或相关的issue / No related requests

功能描述 / Features

当epub内的xhtml文段包含标签<ruby>注音符号标签时,可以将该标签包含的<rt>标签内的对应文本摆放在对应文本正上方单独一行显示,现在软件内是直接拼接在文本后方

示例xhtml行:
<p>那是一个在网路上被谣传得绘声绘影,关于一个叫『<ruby>  <rt>空白</rt></ruby>』的玩家的谣言。</p>

期望实现方式 / How to implement

建议软件解析epub等xhtml内格式文件时,例如标签,可遵循格式进行显示,而非直接简单拼接文本
以及可考虑根据xhtml记录的格式标签,例如文本大小、Font字体格式进行渲染显示

附加信息 / Additions

此处为您提供一个.epub文件参考,其在title.xhtml、epilogue.xhtml内均有HTML格式标签对文本进行格式化

游戏人生1.zip

效果演示 / Demo

希望效果示意截图(以软件掌阅为例):
Image

@Mo-Yuxi Mo-Yuxi added the 需求 F.用户提出的功能意见 label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
需求 F.用户提出的功能意见
Projects
None yet
Development

No branches or pull requests

1 participant