PdfPig icon indicating copy to clipboard operation
PdfPig copied to clipboard

get chinese string error

Open namemyself opened this issue 3 years ago • 11 comments

Hi,I have one problem,look for your help: my code and result as: image this is the test pdf: aaa.pdf

namemyself avatar Aug 05 '22 09:08 namemyself

anyone here????

namemyself avatar Aug 24 '22 08:08 namemyself

i really need to solve this problem

namemyself avatar Aug 24 '22 08:08 namemyself

If you just need to get the text content, you don't need the second loop. I suggest you try it

smliebear avatar Aug 24 '22 09:08 smliebear

If you just need to get the text content, you don't need the second loop. I suggest you try it

but I want to get the coordinates of each character

namemyself avatar Aug 25 '22 06:08 namemyself

image

namemyself avatar Aug 25 '22 06:08 namemyself

It happens too often

namemyself avatar Aug 25 '22 06:08 namemyself

Maybe you can write it this way. Pdfpig has an example image

smliebear avatar Aug 25 '22 06:08 smliebear

Maybe you can write it this way. Pdfpig has an example image

thankyou ,i try it

namemyself avatar Aug 25 '22 06:08 namemyself

Maybe you can write it this way. Pdfpig has an example image

thankyou ,i try it

the test pdf donot work,why? image

namemyself avatar Aug 25 '22 07:08 namemyself

I think it's a coding problem, because it's like our usual random code

smliebear avatar Aug 25 '22 07:08 smliebear

I think it's a coding problem, because it's like our usual random code

yes,i use mupdf to get all string ,work normal。i think this is a bug,if some one can solve this problem,please tell me......thank

namemyself avatar Aug 25 '22 07:08 namemyself

Not really sure what's going on here and won't have time to fix, sorry

EliotJones avatar Dec 11 '22 19:12 EliotJones