Print font name when selecting character

This commit is contained in:
Jeremy Soller 2022-10-12 17:35:23 -06:00
parent 210622d084
commit a50294676d
3 changed files with 14 additions and 3 deletions

View file

@ -201,7 +201,13 @@ fn main() {
);
let text_line = &buffer.text_lines()[line.line_i.get()];
eprintln!("{}, {}: '{}'", glyph.start, glyph.end, &text_line[glyph.start..glyph.end]);
eprintln!(
"{}, {}: '{}': '{}'",
glyph.start,
glyph.end,
glyph.font.name,
&text_line[glyph.start..glyph.end],
);
}
}