diff --git a/loader/src/fonts.rs b/loader/src/fonts.rs index 1a08073d7..b928afe84 100644 --- a/loader/src/fonts.rs +++ b/loader/src/fonts.rs @@ -3,12 +3,34 @@ // The order of these modules affects the link order in the loader, which is referred to in the graphics engine. // To make changes, see /services/graphics-server/src/blitstr2/codegen/main.go +#[cfg(not(feature = "cramium-soc"))] pub mod emoji; +#[cfg(not(feature = "cramium-soc"))] pub mod zh; +#[cfg(not(feature = "cramium-soc"))] pub mod ja; +#[cfg(not(feature = "cramium-soc"))] pub mod kr; +#[cfg(not(feature = "cramium-soc"))] pub mod bold; +#[cfg(not(feature = "cramium-soc"))] pub mod mono; +#[cfg(not(feature = "cramium-soc"))] pub mod regular; +#[cfg(not(feature = "cramium-soc"))] pub mod tall; -pub mod small; \ No newline at end of file +#[cfg(not(feature = "cramium-soc"))] +pub mod small; + +#[cfg(feature = "cramium-soc")] +pub mod emoji; +#[cfg(feature = "cramium-soc")] +pub mod bold; +#[cfg(feature = "cramium-soc")] +pub mod mono; +#[cfg(feature = "cramium-soc")] +pub mod regular; +#[cfg(feature = "cramium-soc")] +pub mod tall; +#[cfg(feature = "cramium-soc")] +pub mod small;