Link to freefont via paths
This commit is contained in:
parent
440bd818c6
commit
c8ccc322a8
1 changed files with 2 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue