diff options
author | Anders Eurenius <aes@spotify.com> | 2014-06-21 20:32:34 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-06-27 14:07:22 +0200 |
commit | 1fc4afd1e6609732178369c7f17c917204aad4cc (patch) | |
tree | 7686cbd590927024c3f6229aa2c1358c1024cdb8 /%25252525253fid%25252525253d0015e198bfceae50a55403ad1339345340f4dcc0%252525253fid%252525253d0015e198bfceae50a55403ad1339345340f4dcc0%2525253fid%2525253d0015e198bfceae50a55403ad1339345340f4dcc0%25253fid%25253d1fc4afd1e6609732178369c7f17c917204aad4cc%253fid%253d1fc4afd1e6609732178369c7f17c917204aad4cc%3fid%3d1fc4afd1e6609732178369c7f17c917204aad4cc?id=1fc4afd1e6609732178369c7f17c917204aad4cc | |
parent | 21bd4f4f9dce4dd19f218965e5a223c93a5a0fec (diff) |
Render struck-out attribute
Implement crossed-out text with an XftDrawRect call, similar to how
underline is implemented. The line is drawn at 2/3 of the font ascent,
which seems to work nicely in practice.
Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
Diffstat (limited to '%25252525253fid%25252525253d0015e198bfceae50a55403ad1339345340f4dcc0%252525253fid%252525253d0015e198bfceae50a55403ad1339345340f4dcc0%2525253fid%2525253d0015e198bfceae50a55403ad1339345340f4dcc0%25253fid%25253d1fc4afd1e6609732178369c7f17c917204aad4cc%253fid%253d1fc4afd1e6609732178369c7f17c917204aad4cc%3fid%3d1fc4afd1e6609732178369c7f17c917204aad4cc?id=1fc4afd1e6609732178369c7f17c917204aad4cc')
0 files changed, 0 insertions, 0 deletions