-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wherein we magically support both reading and writing from a single crate
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ members = [ | |
"otexplorer", | ||
"skrifa", | ||
"fauntlet", | ||
"fontato", | ||
] | ||
|
||
[workspace.dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[package] | ||
name = "fontato" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "MIT/Apache-2.0" | ||
description = "Reading and writing support for OpenType fonts." | ||
repository = "https://github.com/googlefonts/fontations" | ||
readme = "README.md" | ||
categories = ["text-processing"] | ||
|
||
[features] | ||
std = ["read-fonts/std"] | ||
write = ["write-fonts", "std"] | ||
|
||
[dependencies] | ||
font-types = { version = "0.4.1", path = "../font-types" } | ||
read-fonts = { version = "0.13.2", path = "../read-fonts" } | ||
write-fonts = { version = "0.18.0", path = "../write-fonts", optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//! Wherein we read and write fonts. | ||
pub use font_types::*; | ||
|
||
/// Reading fonts. | ||
pub mod read { | ||
pub use read_fonts::*; | ||
} | ||
|
||
/// Writing fonts. | ||
#[cfg_attr(doc_cfg, doc(cfg(feature = "write")))] | ||
#[cfg(feature = "write")] | ||
pub mod write { | ||
pub use write_fonts::*; | ||
} |