PDFMathTranslate / PDFMathTranslate/PDFMathTranslate

文章中斜体/特殊字体镜像显示

Open
#834 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
37k
Forks
3.3k
Avg merge
11m
Merged PRs (30d)
1

Description

### Before you asking

- [x] I have searched the existing issues
- [x] I spend at least 5 minutes for thinking and preparing
- [x] I have thoroughly and completely read the wiki.
- [x] I have carefully checked the issue, and it is unrelated to the network environment.

### Environment

```markdown
- OS: MacOS 15.3.1
- Python: Python 3.10.13
- pdf2zh: v1.9.6
```

### How to install pdf2zh

pip

### Describe the bug
尝试过的翻译引擎:豆包的deepseek-v3,bing,zhipu

未开启babeldoc时:翻译后的pdf中的特殊字体/斜体倒置显示了
Image

开启babeldoc时:倒置+错行重合+部分字符消失

Image

### To Reproduce

1. execute '...'
2. select '....'
3. see errors

### Expected behavior

_No response_

### Relevant log output

```Text

```

### Origin PDF file

[urgaonkar.pdf](https://github.com/user-attachments/files/19630234/urgaonkar.pdf)

未使用babeldoc:

[urgaonkar-dual.pdf](https://github.com/user-attachments/files/19630240/urgaonkar-dual.pdf)

使用babeldoc:

[urgaonkar-dual.pdf](https://github.com/user-attachments/files/19630243/urgaonkar-dual.pdf)

### Anything else?

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.