aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/platform/mod.rs')
-rw-r--r--components/gfx/platform/mod.rs13
1 files changed, 4 insertions, 9 deletions
diff --git a/components/gfx/platform/mod.rs b/components/gfx/platform/mod.rs
index cc4d28ee575..6e3d191529e 100644
--- a/components/gfx/platform/mod.rs
+++ b/components/gfx/platform/mod.rs
@@ -3,13 +3,11 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
#[cfg(any(target_os = "linux", target_os = "android"))]
-pub use crate::platform::freetype::{font, font_context};
-#[cfg(any(target_os = "linux", target_os = "android"))]
-pub use crate::platform::freetype::{font_list, font_template};
+pub use crate::platform::freetype::{font, font_list, font_template, library_handle};
#[cfg(target_os = "macos")]
-pub use crate::platform::macos::{font, font_context, font_list, font_template};
+pub use crate::platform::macos::{font, font_list, font_template};
#[cfg(target_os = "windows")]
-pub use crate::platform::windows::{font, font_context, font_list, font_template};
+pub use crate::platform::windows::{font, font_list, font_template};
#[cfg(any(target_os = "linux", target_os = "android"))]
mod freetype {
@@ -27,7 +25,6 @@ mod freetype {
}
pub mod font;
- pub mod font_context;
#[cfg(target_os = "linux")]
pub mod font_list;
@@ -39,14 +36,13 @@ mod freetype {
#[cfg(target_os = "android")]
pub use self::android::font_list;
- #[cfg(any(target_os = "linux", target_os = "android"))]
pub mod font_template;
+ pub mod library_handle;
}
#[cfg(target_os = "macos")]
mod macos {
pub mod font;
- pub mod font_context;
pub mod font_list;
pub mod font_template;
}
@@ -54,7 +50,6 @@ mod macos {
#[cfg(target_os = "windows")]
mod windows {
pub mod font;
- pub mod font_context;
pub mod font_list;
pub mod font_template;
}