support expressions in text-placements - closes #2597