Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(typesetting): Support for English typesetting #628

Open
4 tasks done
MuRyanice opened this issue Feb 14, 2025 · 1 comment
Open
4 tasks done

feat(typesetting): Support for English typesetting #628

MuRyanice opened this issue Feb 14, 2025 · 1 comment
Assignees

Comments

@MuRyanice
Copy link

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经认真且完整的阅读了 wiki
  • 我已经认真检查了问题和网络环境无关

使用的环境

- OS:
- Python:
- pdf2zh:

描述你的问题

下图是原文:

Image

下图是翻译后的结果:

Image

如何复现

  1. 执行 '...'
  2. 选择 '....'
  3. 出现问题,有图标的时候,文字会因为空间原因导致盖住图标或者文字重叠

预期行为

我希望文字不要盖住图片或者遇到空间不够的时候,能够自动扩展文字的空间

相关 Logs


原始PDF文件

环境化学论文-dual.pdf

还有别的吗?

No response

@MuRyanice MuRyanice added the bug Something isn't working label Feb 14, 2025
@awwaawwa awwaawwa changed the title PDF里面含有图标公式时,翻译出来的文字会盖住,布局混乱 feat(typesetting): Support for English typesetting Feb 15, 2025
@awwaawwa awwaawwa self-assigned this Feb 15, 2025
@awwaawwa
Copy link
Collaborator

新后端支持这个功能:我希望文字不要盖住图片或者遇到空间不够的时候,能够自动扩展文字的空间。

但是,对于英文,当前会在单词任意位置换行,这并不符合相关排版要求,所以对于英语,仍是一个不可用的状态。后续会做,请耐心等待。

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants