Re-export font_kit primitives from a new fonts module

...also, rename the old `fonts` to `font_cache`.
This commit is contained in:
Antonio Scandurra
2021-03-25 10:58:33 +01:00
parent 0906b2a2f4
commit 0f6927eb4b
10 changed files with 169 additions and 171 deletions
+2 -4
View File
@@ -6,10 +6,8 @@ use crate::{settings::Settings, watch, workspace};
use anyhow::Result;
use easy_parallel::Parallel;
use gpui::{
fonts::{FontCache, Properties as FontProperties},
keymap::Binding,
text_layout, App, AppContext, Element, ElementBox, Entity, ModelHandle, View, ViewContext,
WeakViewHandle,
fonts::Properties as FontProperties, keymap::Binding, text_layout, App, AppContext, Element,
ElementBox, Entity, FontCache, ModelHandle, View, ViewContext, WeakViewHandle,
};
use gpui::{geometry::vector::Vector2F, TextLayoutCache};
use parking_lot::Mutex;