Skip to content
Snippets Groups Projects
Commit 968e30d2 authored by StarArawn's avatar StarArawn
Browse files

Fixed hyphen not showing up.

parent a018ac25
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ impl KayakFont {
let resized_max_glyph_size = (max_glyph_size.0 * font_ratio, max_glyph_size.1 * font_ratio);
// TODO: Make this configurable?
let split_chars = vec![' ', '\t', '-'];
let split_chars = vec![' ', '\t'];
let missing_chars: Vec<char> = content
.chars()
.filter(|c| split_chars.iter().any(|c2| c == c2))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment