Skip to content

使用babeldoc翻译时,翻译后的字变得异常小,几乎看不见 #458

@RolloTomasiii

Description

@RolloTomasiii

Before you submit

  • I have searched existing issues
  • I spent at least 5 minutes investigating and preparing this report
  • I confirmed this is not caused by a network issue
  • I have fully read and understood the README
  • I am certain that this issue is with BabelDOC itself and can be reproduced through the BabelDOC cli
  • I have uploaded the original file, or confirmed that this issue is unrelated to the original file
  • I have uploaded the log.
  • I confirm that the latest version of BabelDOC is being used.

Environment

- OS:
- Python:3.10
- BabelDOC: 0.4.17

Describe the bug

翻译pdf 英文转中文时,发现版面分析都没啥问题。就是字体异常的小,看不见的程度

Steps to Reproduce

命令:
py -3.10 -m babeldoc.main --files demo2.pdf --translate-table-text --min-text-length 2 --openai --openai-base-url "http://127.0.0.1:8006/v1" --openai-model "gpt-4o=02040" --openai-api-key "123" -li en -lo zh --debug --show-char-box

Expected Behavior

Image Image Image

Relevant Log Output or Screenshots


Original PDF File

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    In progressNo help neededThe maintainer wants to complete the related work by themselvesNormal PrioritybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions