From: Anders Eurenius Date: Sat, 21 Jun 2014 18:32:34 +0000 (+0200) Subject: Render struck-out attribute X-Git-Url: https://git.xinqibao.xyz/st.git/commitdiff_plain/1fc4afd1e6609732178369c7f17c917204aad4cc?hp=1fc4afd1e6609732178369c7f17c917204aad4cc 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 ---