1

I have a SVG file. It was opened in Inkscape from a PDF file, if that matters. The SVG contains left aligned text which I need to make right aligned.

Easy enough, I use the text tool, click onto the text and make it right aligned. But then, this happens:

Horizontal alignment broken

The characters of the word "Outlook" and "Meeting" overlap. It looks a bit like kerning is broken.

Each text is one text element only and it does not have additional spaces. But, I notice a diamond when being in text edit mode:

Diamond

What can I do to fix that?

I have tried:

  • re-writing all text. This works, but I don't want to do that, since I could introduce typos or similar.

This is Inkscape 1.0.2-2 from 2021-01-15

4
  • Are the words connected? In other words, are they 1 string of text or multiple small strings of a character or two? PDFs can break text objects apart. In Ai you can do this but I don't know if that works in Inkscape. – Scott Apr 15 at 20:16
  • @Scott: thanks for asking. It's one text element only. But I noticed a diamond, which IMHO wasn't there before when the text was left aligned. Updated the question. – Thomas Weller Apr 15 at 20:23
  • Related: similar issue for vertical spacing – Thomas Weller Apr 15 at 20:29
  • "opened in Inkscape from a PDF file, if that matters." Yes it probably does matter. That can often result in messed up text if you try to edit it. I would delete the text entirely, and just retype it as an Inkscape text object. – Billy Kerr Apr 15 at 20:36
3

Click the text block once to select, then click on the Text menu and select 'Remove Manual Kerns'.

Text can get really screwed up from PDFs but I've found the above often fixes things.

1
  • That's much better than my approach, because it can be applied to several selected texts at once. – Thomas Weller Apr 16 at 9:58
1

With the Node tool (N or F2) you can move the diamond more to the left. Once the diamond is further left than the text length, the text looks normal.

Node edit tool

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.