mirror of
https://github.com/alacritty/alacritty
synced 2024-10-06 15:59:10 +00:00
Fix doc box drawing symbols
This commit is contained in:
parent
228c641769
commit
ed7ed473da
|
@ -1444,15 +1444,15 @@ impl From<io::Error> for ShaderCreationError {
|
||||||
///
|
///
|
||||||
/// The strategy for filling an atlas looks roughly like this:
|
/// The strategy for filling an atlas looks roughly like this:
|
||||||
///
|
///
|
||||||
/// ```ignore
|
/// ```text
|
||||||
/// (width, height)
|
/// (width, height)
|
||||||
/// ┌─────┬─────┬─────┬─────┬─────┐
|
/// ┌─────┬─────┬─────┬─────┬─────┐
|
||||||
/// │ 10 │ │ │ │ │ <- Empty spaces; can be filled while
|
/// │ 10 │ │ │ │ │ <- Empty spaces; can be filled while
|
||||||
/// │ │ │ │ │ │ glyph_height < height - row_baseline
|
/// │ │ │ │ │ │ glyph_height < height - row_baseline
|
||||||
/// ├⎼⎼⎼⎼⎼┼⎼⎼⎼⎼⎼┼⎼⎼⎼⎼⎼┼⎼⎼⎼⎼⎼┼⎼⎼⎼⎼⎼┤
|
/// ├─────┼─────┼─────┼─────┼─────┤
|
||||||
/// │ 5 │ 6 │ 7 │ 8 │ 9 │
|
/// │ 5 │ 6 │ 7 │ 8 │ 9 │
|
||||||
/// │ │ │ │ │ │
|
/// │ │ │ │ │ │
|
||||||
/// ├⎼⎼⎼⎼⎼┼⎼⎼⎼⎼⎼┼⎼⎼⎼⎼⎼┼⎼⎼⎼⎼⎼┴⎼⎼⎼⎼⎼┤ <- Row height is tallest glyph in row; this is
|
/// ├─────┼─────┼─────┼─────┴─────┤ <- Row height is tallest glyph in row; this is
|
||||||
/// │ 1 │ 2 │ 3 │ 4 │ used as the baseline for the following row.
|
/// │ 1 │ 2 │ 3 │ 4 │ used as the baseline for the following row.
|
||||||
/// │ │ │ │ │ <- Row considered full when next glyph doesn't
|
/// │ │ │ │ │ <- Row considered full when next glyph doesn't
|
||||||
/// └─────┴─────┴─────┴───────────┘ fit in the row.
|
/// └─────┴─────┴─────┴───────────┘ fit in the row.
|
||||||
|
|
Loading…
Reference in a new issue