mapnik/mapnik — pull request #908 by zerebubuth (2011-10-12 00:11:37+00:00)
Title: Fixed bug in shield line placement

this fixes a bug with shield+text placement along a line. it seems what was happening previously was that the label box was being expanded to the size of the shield and being used to place text. however, this was not giving the right answer where dx/dy were being used. the patch expands line placement to include "additional boxes", i.e: when searching for a line placement it checks that some boxes offset from the position can be
placed.