【发布时间】:2022-12-19 09:05:49
【问题描述】:
Is there a way to edit the raw text from a PDF without any special paid software? So there are PDFs with highlightable text. I assume that the text is stored somewhere in the file.
I tried to just drag & drop a PDF into vscode but it just showed me unknown characters; even a little of meta text but if I edit the meta-infos, the file gets mostly corrupted. Apart from that, I could not find any of the text contents of my desired PDF in vscode-editor.
Does someone know if there is a solution like inspecting and changing the source code somehow without a special software? I want to edit the contents; not the meta-infos.
(I use macOS)
【问题讨论】:
-
all text is hard placed on the page (x,y coord), so editing text involves a lot of repositioning words.
-
But how am I able to edit it like this in the first place?
-
because PDF is a text format, maybe compressed
-
You did not answer my question :( How do I edit it? With which tool? As I said, opening it with Visual Studio Code did not work :/
标签: macos pdf visual-studio-code pdf-generation edit