mirror of
https://github.com/Astatin3/RusTeX.git
synced 2026-06-08 16:18:09 -06:00
10 lines
305 B
Rust
10 lines
305 B
Rust
use fontdue::Font;
|
|
use lazy_static::lazy_static;
|
|
|
|
pub static KaTeX_Main_Regular: &'static [u8] = include_bytes!("../fonts/KaTeX_Main-Regular.ttf");
|
|
|
|
lazy_static! {
|
|
pub static ref FONTS: Vec<Font> = vec![
|
|
Font::from_bytes(KaTeX_Main_Regular, fontdue::FontSettings::default()).unwrap(),
|
|
];
|
|
} |