Re-export font_kit primitives from a new fonts module
...also, rename the old `fonts` to `font_cache`.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user