AgentGPT icon indicating copy to clipboard operation
AgentGPT copied to clipboard

problem with encoding when exporting pdf

Open gerasimsergey opened this issue 2 years ago • 5 comments

when exporting instead of text, there are some incomprehensible characters, there may be a problem with fonts or encoding

gerasimsergey avatar Apr 21 '23 06:04 gerasimsergey

Can you show an example/screenshot?

exil0867 avatar Apr 21 '23 08:04 exil0867

part of the text in Russian or Ukrainian

gerasimsergey avatar Apr 21 '23 10:04 gerasimsergey

You can try modifying the font library in src/components/pdf/MyDocument.tsx.You need to find a font library that supports the language you need.

belikers avatar Apr 21 '23 16:04 belikers

Copy of #275. Are you still facing this issue after the above change? @osirisnew

asim-shrestha avatar Apr 23 '23 23:04 asim-shrestha

fixed in #465

awtkns avatar May 07 '23 17:05 awtkns