Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with GEOMTRANSFORM 'labelpoly' and TRUETYPE symbol #4595

Open
ochriste opened this issue Feb 22, 2013 · 6 comments
Open

problem with GEOMTRANSFORM 'labelpoly' and TRUETYPE symbol #4595

ochriste opened this issue Feb 22, 2013 · 6 comments
Assignees
Milestone

Comments

@ochriste
Copy link

this is a problem I reported in
http://lists.osgeo.org/pipermail/mapserver-users/2013-February/074165.html
about wrong 'labelpoly' size calculation when using a TRUETYPE label

I couldnt find a way to attache the testcase archive to this issue (github interface complaining about "wrong image type"?) but you can get it there:
http://dev.camptocamp.com/files/mapserver/test.zip

test run with:
shp2img -m test.map -o test.png -l testtrain

note that it is possible this is a side effect caused by the TRUETYPE font I am using and not a Mapserver bug.

@tbonfort
Copy link
Member

This seems to happen when the glyph extends down under the baseline, as can be also seen on the "p" glyph in the following image:
labels-anno

@tbonfort
Copy link
Member

This is once again due to #1449. see also #3784.

@ochriste
Copy link
Author

Thanks Thomas for investigating,
I see both #1449 and #3784 are closed, is that problem fixed? if yes in which Mapserver version?

@ghost ghost assigned tbonfort Apr 26, 2013
@tbonfort
Copy link
Member

We should finally be able to close this issue as well as all the related baseline issues once rfc98 is implemented (#4673)

@ochriste
Copy link
Author

thank you for letting me know!

@jratike80
Copy link

Excellent test data. I run the "shp2img -m test.map -o test.png -l testtrain" command with Mapserver 7.0 but I think that the labelpoly is still not right. Now it has correct height but it is too wide.

test

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

No branches or pull requests

3 participants