Link to freefont via paths

This commit is contained in:
Jeremy Soller 2022-10-07 14:27:03 -06:00
parent 440bd818c6
commit c8ccc322a8
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -36,6 +36,8 @@ fn main() {
let mut font_datas = Vec::new();
for (font_path, font_index) in &[
("/usr/share/fonts/truetype/freefont/FreeSans.ttf", 0),
("/usr/share/fonts/truetype/freefont/FreeMono.ttf", 0),
("/usr/share/fonts/truetype/noto/NotoSansArabic-Regular.ttf", 0),
("/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc", 2 /* simplified chinese */),
("/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf", 0),