help with editing text in pdf?

Post questions on how to use or achieve an effect in Inkscape.
killard1999
Posts: 1
Joined: Tue May 31, 2011 11:33 am

help with editing text in pdf?

Postby killard1999 » Tue May 31, 2011 11:44 am

Hi guys,

I'm new to inkscape and trying to edit the text of a pdf file I have but when I try to it seems as if the text I type is typing on the same spot and not across as normal (i.e. like this!). I can delete text but even deleting text and making room doesn't allow me to type normally. Any help would be greatly appreciated.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: help with editing text in pdf?

Postby ~suv » Tue May 31, 2011 1:38 pm

From the release notes of 0.46 (still applies to current versions):
PDF and AI import

( …)

Text editing tips: Any text imported from PDF or AI has each letter's precise place on the page fixed. While this preserves the exact appearance (e.g. justification of text blocks) of the imported document, it makes editing such text difficult: deleting text fails to contract the text line and inserting text fails to expand it, i.e. typed letters overlay the existing letters. (However, you still can replace a letter with another letter of about the same width, although you may need to kern it into place with Alt+arrows.)

To work around this, select the text object you want to edit and use Text > Remove manual kerns command. This will remove the exact positioning information, so if the text block was justified it will lose justification, but instead you will be able to edit it as usual.

Note that there is a way to select even a single line in a text block. For this, open the XML editor, expand the <svg:text> tree branch corresponding to your text, and select any of the <svg:tspan> objects under it. Now you can remove manual kerns from this line only. After you finish editing the line, you can manually justify it back, for example by adding spaces, manual kerns (Alt+arrows), or by adjusting letterspacing (select the whole line and use Alt+> or Alt+<).

The native PDF/AI importer is based on the poppler library and was implemented by Miklós Erdélyi as part of the Google Summer of Code 2007.

iamcreasy
Posts: 1
Joined: Thu Nov 26, 2009 4:07 pm

Re: help with editing text in pdf?

Postby iamcreasy » Tue Jan 06, 2015 2:16 pm

Just had this problem, stumbled upon this thread, and solution worked out perfectly.

But I didn't end up working it through since Inkscape wasn't handling all the alignments and characters properly while importing.


Return to “Help with using Inkscape”