Use font leading for attributed strings.
Added test for attributed strings.