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 -1
View File
@@ -1,6 +1,7 @@
use crate::{
color::ColorU,
fonts::{FamilyId, Properties},
font_cache::FamilyId,
fonts::Properties,
geometry::vector::{vec2f, Vector2F},
text_layout::Line,
AfterLayoutContext, Element, Event, EventContext, LayoutContext, PaintContext, SizeConstraint,
+2 -1
View File
@@ -1,5 +1,6 @@
use crate::{
fonts::{FamilyId, FontId, Properties},
font_cache::FamilyId,
fonts::{FontId, Properties},
geometry::vector::{vec2f, Vector2F},
AfterLayoutContext, Element, ElementBox, Event, EventContext, LayoutContext, PaintContext,
SizeConstraint,