Re: re-generate the PDF with standard non-embedded fonts
"王海生-软件研发部" <[email protected]> Thu, 13 Oct 2016 15:32:31 +0800
| Newsgroups | gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <[email protected]> |
definitely i have attached files in my original post. but now i got this fixed by OCR ,thanks for all your guys help ------------------ Original ------------------ From: "Ken Sharp"<[email protected]>; Date: Thu, Oct 13, 2016 03:18 PM To: "王海生-软件研发部"<[email protected]>; Cc: "William Bader"<[email protected]>; "gs-devel"<[email protected]>; Subject: Re: [gs-devel] re-generate the PDF with standard non-embedded fonts At 00:31 13/10/2016 +0800, =?utf-8?B?546L5rW355SfLei9r+S7tueglOWPkemDqA==?= wrote: >Content-Type: multipart/alternative; > boundary="----=_NextPart_57FE655B_0B410950_69142B0A"; > >let me explain exactly what i want here .i am using xpdf to convert pdf >files into html or txt >i have a original pdf attached. >root@6334724bdee5:/tmp# pdffonts 1.pdf >name type encoding >emb sub uni object ID >------------------------------------ ----------------- ---------------- >--- --- --- --------- >SRPUEP+SimSun TrueType WinAnsi >yes yes yes 13 0 >root@6334724bdee5:/tmp# pdfinfo 1.pdf >Creator: Online2PDF.com >Producer: Online2PDF.com >CreationDate: Sat Aug 13 07:42:20 2016 UTC >Tagged: no >UserProperties: no >Suspects: no >Form: none >JavaScript: no >Pages: 1 >Encrypted: no >Page size: 594.75 x 419.25 pts >Page rot: 0 >File size: 31707 bytes >Optimized: no >PDF version: 1.4 >root@6334724bdee5:/tmp# pdftohtml 1.pdf 1-output.html >as https://github.com/mozilla/pdf.js/issues/7712 suggest "Looks like PDF >removed character encoding ", >is there any way to recreate this pdf through original one ?then I can >copy the text from it instead of >mess<http://stackoverflow.com/questions/12703387/pdf-font-encoding-why-cant-i-copy-text-from-a-pdf>http://stackoverflow.com/questions/12703387/pdf-font-encoding-why-cant-i-copy-text-from-a-pdf This isn't a general forum for PDF discussions, its for development using Ghostscript. Your question is off-topic so please take the discussion elsewhere. I'd recommend Stack Overflow since you already appear familiar with that site. Note that whatever your question is, its not going to be possible for anyone to answer it without seeing some example files so you should prepare some and include them in your question. Ken