BabelDOC icon indicating copy to clipboard operation
BabelDOC copied to clipboard

Bold text in the image becomes garbled after translation

Open derekhsu opened this issue 9 months ago • 1 comments

In a particular PDF, bold text in the image becomes garbiled after translation, such as PDF

Original PDF table_error.pdf

Translated PDF table_error.zh_CN.mono.pdf

derekhsu avatar Apr 14 '25 09:04 derekhsu

This issue is caused by a glyph ID or font encoding length parsing error. It's not easy to fix and is queued for later review.

awwaawwa avatar Apr 14 '25 09:04 awwaawwa

BabelDOC 0.3.9 fixed

awwaawwa avatar Apr 14 '25 16:04 awwaawwa

Thanks for the fix! Everything looks good now. I did notice that the text is still untranslated—will that also be addressed?

derekhsu avatar Apr 15 '25 00:04 derekhsu