Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fontbe] move marks/kern modules into ::features #730

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions fontbe/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ use crate::{
orchestration::{AnyWorkId, BeWork, Context, FeaAst, FeaRsKerns, FeaRsMarks, WorkId},
};

mod kern;
mod marks;
pub use kern::{create_gather_ir_kerning_work, create_kern_segment_work, create_kerns_work};
pub use marks::create_mark_work;

#[derive(Debug)]
pub struct FeatureParsingWork {}

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions fontbe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ pub mod glyphs;
pub mod gvar;
pub mod head;
pub mod hvar;
pub mod kern;
pub mod marks;
pub mod metrics_and_limits;
pub mod mvar;
pub mod name;
Expand Down
7 changes: 4 additions & 3 deletions fontc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ use std::{
use fontbe::{
avar::create_avar_work,
cmap::create_cmap_work,
features::{FeatureCompilationWork, FeatureParsingWork},
features::{
create_gather_ir_kerning_work, create_kerns_work, create_mark_work, FeatureCompilationWork,
FeatureParsingWork,
},
font::create_font_work,
fvar::create_fvar_work,
glyphs::{create_glyf_loca_work, create_glyf_work},
gvar::create_gvar_work,
head::create_head_work,
hvar::create_hvar_work,
kern::{create_gather_ir_kerning_work, create_kerns_work},
marks::create_mark_work,
metrics_and_limits::create_metric_and_limit_work,
mvar::create_mvar_work,
name::create_name_work,
Expand Down
2 changes: 1 addition & 1 deletion fontc/src/workload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{

use crossbeam_channel::{Receiver, TryRecvError};
use fontbe::{
kern::create_kern_segment_work,
features::create_kern_segment_work,
orchestration::{AnyWorkId, Context as BeContext, WorkId as BeWorkIdentifier},
};
use fontdrasil::{
Expand Down
Loading