How would you want to accomplish this? It's certainly doable, I would figure out how to get the height of the attribute first, then apply an offset factor perpendicular to the orientation (your text is 3.3071mm tall but the bounding box appears to be slightly larger), find the intersections, and lastly create the box.