Wrong text character spacing when centered or right-aligned

Bug #538117 reported by Johan Engelen on 2010-03-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Have a look at the attached file "alignment_test.svg" and the render result in the png file. As you can see, the character spacing is wrong for the centered and right-aligned text. I cannot reproduce this by selecting the texttool and creating a new text object.
What is so special about the "Position" text object in the SVG, and is this desired behavior?

Inkscape version 0.47+devel r9168.

Johan Engelen (johanengelen) wrote :
su_v (suv-lp) wrote :

AFAIU the 'x' in

         style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:end;line-height:125%;writing-mode:lr-tb;text-anchor:end;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:Times New Roman;-inkscape-font-specification:Times New Roman"
         x="150.48129 157.43129 163.68129 168.54379 172.01878 175.49379 178.96878 185.21878"

positions each character separately (i.e. it is kerned text). You can 'undo' it with 'Text > Remove Manual Kerns'.

see also:

and 'Text editing tips' in

Krzysztof Kosinski (tweenk) wrote :

Current behavior with kerned text (e.g. imported from PDF) is rather suboptimal, for example when you delete a character with Backspace, the remaining text stays in place. I think we can be smarter than this.

su_v (suv-lp) wrote :

IMHO this (bug #538117) is a duplicate of bug #188794 “PDF-imported text boxes cannot be edited properly”.

Krzysztof Kosinski (tweenk) wrote :

That's right. However I think this is not a Won't Fix - the new characters should be inserted with default kerning, and the remaining characters appropriately shifted.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers