Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Bug in text kerning, gets wider with each letter #615

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Bug in text kerning, gets wider with each letter #615

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ColinMarquardt
[Submitted to the original trac issue database at 11.26am, Tuesday, 18th December 2007]

osmarender seems to have a bug in the text placement when it is apparently kerning on a short way; the beginning of the string is very tightly spaced and gets wider with each letter:

http://www.informationfreeway.org/?lat=48.81582749637078&lon=9.151656406740232&zoom=17&layers=B000F000

It is especially noticeable with the cul de sac in the center (Bhmerwaldstrae), and happens with both the street name and the attribution.

@openstreetmap-trac
Copy link
Author

Author: bob[at]cakebox.net
[Added to the original trac issue at 3.33pm, Thursday, 24th July 2008]

I can't see it on the linked tile, but I have seen it here:
http://dev.openstreetmap.org/~bobkare/utilslippy/?zoom=16&lat=53.37483&lon=-6.25172&layers=BF00

@openstreetmap-trac
Copy link
Author

Author: jttt
[Added to the original trac issue at 7.44pm, Friday, 12th September 2008]

This seems to be inkscape bug. Batik and Opera renders text correctly.

@openstreetmap-trac
Copy link
Author

Author: jttt
[Added to the original trac issue at 10.30am, Sunday, 21st September 2008]

It looks like only straight streets with one line segment are affected by this inkscape bug. These streets used to be unnecessary rendered as bezier curves. I've modified lines2curver.pl to leave such streets as normal lines and kerning seems to be normal again.

Please reopen the bug if you find some bad kerning on street consisting of more than one line segment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant