diff --git a/assets/fonts/NewCM10-BoldItalic.otf b/assets/fonts/NewCM10-BoldItalic.otf new file mode 100644 index 000000000..d1b3d8900 Binary files /dev/null and b/assets/fonts/NewCM10-BoldItalic.otf differ diff --git a/assets/fonts/NewCM10-Italic.otf b/assets/fonts/NewCM10-Italic.otf new file mode 100644 index 000000000..623b6e996 Binary files /dev/null and b/assets/fonts/NewCM10-Italic.otf differ diff --git a/cli/Cargo.toml b/cli/Cargo.toml index d5178b540..656dd0d94 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -36,5 +36,6 @@ default = ["embed-fonts"] # - text (Linux Libertine), # - math (New Computer Modern Math), and # - code (Deja Vu Sans Mono) +# and additionally New Computer Modern for text # into the binary. embed-fonts = [] diff --git a/cli/src/main.rs b/cli/src/main.rs index 98c7aa6ae..d0dcc2bd7 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -699,6 +699,10 @@ impl FontSearcher { add(include_bytes!("../../assets/fonts/LinLibertine_RI.ttf")); add(include_bytes!("../../assets/fonts/NewCMMath-Book.otf")); add(include_bytes!("../../assets/fonts/NewCMMath-Regular.otf")); + add(include_bytes!("../../assets/fonts/NewCM10-Regular.otf")); + add(include_bytes!("../../assets/fonts/NewCM10-Bold.otf")); + add(include_bytes!("../../assets/fonts/NewCM10-Italic.otf")); + add(include_bytes!("../../assets/fonts/NewCM10-BoldItalic.otf")); add(include_bytes!("../../assets/fonts/DejaVuSansMono.ttf")); add(include_bytes!("../../assets/fonts/DejaVuSansMono-Bold.ttf")); add(include_bytes!("../../assets/fonts/DejaVuSansMono-Oblique.ttf"));