Hello Steve I have created a test case and opened a issue: https://github.com/mapserver/mapserver/issues/4595
as stated in the issue, it is possible the problem is caused by the TRUETYPE font itself, but I dont have the knowledge to debug the processing inside mapserver to find out.
best regards Oliver
Oliver: Any chance you can create a test case and a ticket? Steve _______________________________________ From: [email protected] [[email protected]] on behalf of Oliver Christen [[email protected]] Sent: Thursday, February 21, 2013 8:40 AM To: [email protected] Subject: [mapserver-users] problem with TRUETYPE and GEOMTRANSFORM 'labelpoly': wrong calculation by mapserver ? hello dear mailinglist Im having a strange result when using a TRUETYPE symbol used as LABEL, with a GEOMTRANSFORM 'labelpoly' to give some background color of my symbol, the background polygon created by the GEOMTRANSFORM 'labelpoly' is smaller than my symbol, ending in a not so great result, as seen on this example: http://dev.camptocamp.com/files/mapserver/test_train_symbol.png also, the OUTLINECOLOR show some color inside the symbol, something I dont understand at all. if someone could possibly tell me how to adjust the labelpoly size and explain me the OUTLINECOLOR behavior in this case, I would be very grateful. here is the CLASS used to render that layer: CLASS LABEL TYPE TRUETYPE FONT HPMDRG SIZE 20 ANTIALIAS TRUE COLOR 0 51 153 # dark blue OUTLINECOLOR 255 0 0 # red, just for testing, I dont understand why there is an outline inside the symbol STYLE GEOMTRANSFORM 'labelpoly' COLOR 0 255 255 # background cyan rectangle, not the correct size END POSITION cc END TEXT "1" END Im using mapserver 6.3.0 on debian thank you for reading this, best regards Oliver -- Camptocamp SA Oliver Christen PSE A CH-1015 Lausanne www.camptocamp.com _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
-- Camptocamp SA Oliver Christen PSE A CH-1015 Lausanne www.camptocamp.com +41 21 619 10 23 (direct) +41 21 619 10 10 (centrale) +41 21 619 10 00 (fax) _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
