mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-18 07:48:02 +08:00
Migrate fonts to be stored as resources (#4165)
* Good start
* Impl
* allow responses.add(async { Message::NoOp });
* Fix
* Cache font blob in text node
* Refactor font handling to use Font struct direcly
* Fix fmt
* Embedd Font Resources by default
* Review
* Review
* Cache font info based on ResourceHash
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
mod font_cache;
|
||||
mod font;
|
||||
pub mod json;
|
||||
mod path_builder;
|
||||
pub mod regex;
|
||||
@@ -16,7 +16,7 @@ use unicode_segmentation::UnicodeSegmentation;
|
||||
|
||||
// Re-export for convenience
|
||||
pub use core_types as gcore;
|
||||
pub use font_cache::*;
|
||||
pub use font::*;
|
||||
pub use text_context::TextContext;
|
||||
pub use to_path::*;
|
||||
pub use vector_types;
|
||||
|
||||
Reference in New Issue
Block a user