Skip to content

Commit

Permalink
copy Uiua386 to main crate
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Oct 6, 2024
1 parent f4bfecd commit de27058
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added src/algorithm/Uiua386.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion src/algorithm/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ fn layout_text_impl(options: Value, text: Value, env: &Uiua) -> UiuaResult<Value
db.set_monospace_family("Uiua386");
db.set_sans_serif_family("Uiua386");
db.load_system_fonts();
db.load_font_data(include_bytes!("../../site/Uiua386.ttf").to_vec());
db.load_font_data(include_bytes!("Uiua386.ttf").to_vec());
let locale = sys_locale::get_locale().unwrap_or_else(|| "en-US".into());
let system = FontSystem::new_with_locale_and_db(locale, db);
*stuff = Some(FontStuff {
Expand Down

0 comments on commit de27058

Please sign in to comment.