Fix doc box drawing symbols

This commit is contained in:
Kirill Chibisov 2019-07-07 16:14:04 +03:00 committed by Christian Duerr
parent 228c641769
commit ed7ed473da
1 changed files with 3 additions and 3 deletions

View File

@ -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.