1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/font
Christian Duerr a0270d9774
Add proper strikeout positioning
With this change the strikeout should make proper use of the metrics in
the OS2 table. These metrics are available for all TTF and OTF fonts. If
the metrics are not supplied, a fallback strikeout based on underline
thickness and cell height is used.

To go in line with the metrics supplied by the OS2 table, the term of
`strikethrough` has been replaced with `strikeout` everywhere. I think
it makes sense to go forward with using `strikeout` in general when
talking about this.

There has also been a small bug where the cell would not be
underlined/striked out when an underline is broken over multiple lines.
This has been fixed and the underline/strikeout should always be applied
to each cell with this flag.
2018-02-16 22:43:07 +01:00
..
src Add proper strikeout positioning 2018-02-16 22:43:07 +01:00
Cargo.lock Add proper strikeout positioning 2018-02-16 22:43:07 +01:00
Cargo.toml Update core-text (#1061) 2018-01-31 09:03:24 -08:00