Re: re-generate the PDF with standard non-embedded fonts
Ken Sharp <[email protected]> Thu, 13 Oct 2016 08:18:05 +0100
| Newsgroups | gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <[email protected]> |
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