ArtifexSoftware / pdf2docx

Open source Python library for converting PDF to DOCX.
https://pdf2docx.readthedocs.io
GNU Affero General Public License v3.0
2.46k stars 356 forks source link

可不可以将pdf的字体自动添加到系统中以防止转换后乱码 #270

Closed gkngkngkn closed 1 week ago

gkngkngkn commented 6 months ago

转了几个英文pdf出现乱码,原因是windows中缺少pdf里的英文字体,word里就显示乱码了,有没有办法将pdf中的字体自动添加到系统中?(pdf中的字体可以识别,在编辑软件里可以看到字体种类)

greendreamer commented 1 week ago

Hi @gkngkngkn , it is not good approach to implement adding fonts automatically, I think. Feel free to open new issue and will consider garbled characters if you provide detailed description and examples.