Draw outline of a text in an image
You just need to binarize the image then find the hull. In Mathematica it looks like this:

&lt;&lt; ComputationalGeometry`
img = EdgeDetect@Rasterize["managers. In\n more lean\n result of\nss\nkforce and\nt \
points and"]
pts = Position[ImageData@img, 1]
pgp = PlanarGraphPlot[pts, ConvexHull@pts][[1, 2]]
Graphics[{Black, Point@pts, pgp}]




If this is inadequate I would find the convex hull of the text two lines at a time, then fuse the results.