embed New Computer Modern into binary (#340)
This commit is contained in:
parent
ca71081d05
commit
623db8c0c4
BIN
assets/fonts/NewCM10-BoldItalic.otf
Normal file
BIN
assets/fonts/NewCM10-BoldItalic.otf
Normal file
Binary file not shown.
BIN
assets/fonts/NewCM10-Italic.otf
Normal file
BIN
assets/fonts/NewCM10-Italic.otf
Normal file
Binary file not shown.
@ -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 = []
|
||||
|
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user