aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/gfx/platform/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/gfx/platform/mod.rs')
-rw-r--r--src/components/gfx/platform/mod.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/gfx/platform/mod.rs b/src/components/gfx/platform/mod.rs
index 34870cc2f2d..eada62fc637 100644
--- a/src/components/gfx/platform/mod.rs
+++ b/src/components/gfx/platform/mod.rs
@@ -2,15 +2,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#[cfg(target_os="linux")] pub use platform::linux::{font, font_context, font_list};
-#[cfg(target_os="macos")] pub use platform::macos::{font, font_context, font_list};
-#[cfg(target_os="android")] pub use platform::android::{font, font_context, font_list};
+#[cfg(target_os="linux")] pub use platform::linux::{font, font_context, font_list, font_template};
+#[cfg(target_os="macos")] pub use platform::macos::{font, font_context, font_list, font_template};
+#[cfg(target_os="android")] pub use platform::android::{font, font_context, font_list, font_template};
#[cfg(target_os="linux")]
pub mod linux {
pub mod font;
pub mod font_context;
pub mod font_list;
+ pub mod font_template;
}
#[cfg(target_os="macos")]
@@ -18,6 +19,7 @@ pub mod macos {
pub mod font;
pub mod font_context;
pub mod font_list;
+ pub mod font_template;
}
#[cfg(target_os="android")]
@@ -25,4 +27,5 @@ pub mod android {
pub mod font;
pub mod font_context;
pub mod font_list;
+ pub mod font_template;
}