win32: use fontconfig/freetype on windows as well (for now)

This commit is contained in:
Vladimir Vukicevic 2015-10-05 12:06:31 -04:00 committed by Lars Bergstrom
parent 6663f28f0d
commit 025ed57c04
5 changed files with 21 additions and 9 deletions

View file

@ -2,13 +2,13 @@
* 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(any(target_os = "linux", target_os = "android"))]
#[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))]
pub use platform::freetype::{font, font_context, font_list, font_template};
#[cfg(target_os = "macos")]
pub use platform::macos::{font, font_context, font_list, font_template};
#[cfg(any(target_os = "linux", target_os = "android"))]
#[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))]
pub mod freetype {
pub mod font;
pub mod font_context;