Bundle and use Inconsolata v2.012

There's a newer version of the font available but ligatures seem
broken googlefonts/Inconsolata#58 and googlefonts/Inconsolata#52.

As part of this commit I also upgraded rust-embed to use the new
exclusion feature, which allows us to skip embedding OS files like
`.DS_Store`.
This commit is contained in:
Antonio Scandurra
2021-09-04 17:02:20 +02:00
parent 0e4f77750a
commit 00f6bdcb24
16 changed files with 65 additions and 26 deletions
+1
View File
@@ -127,6 +127,7 @@ pub enum CursorStyle {
}
pub trait FontSystem: Send + Sync {
fn add_fonts(&self, fonts: Vec<Arc<Vec<u8>>>) -> anyhow::Result<()>;
fn load_family(&self, name: &str) -> anyhow::Result<Vec<FontId>>;
fn select_font(
&self,