PDFMathTranslate / PDFMathTranslate/PDFMathTranslate

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

Offen
#834 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
37k
Forks
3.3k
Ø Merge
11 Min.
Gemergte PRs (30 T.)
1

Beschreibung

### 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_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.