fonts/platform/freetype/
mod.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5pub mod font;
6mod freetype_face;
7
8#[cfg(all(target_os = "linux", not(target_env = "ohos"), not(ohos_mock)))]
9pub mod font_list;
10
11#[cfg(target_os = "android")]
12mod android {
13    pub mod font_list;
14    mod xml;
15}
16#[cfg(target_os = "android")]
17pub use self::android::font_list;
18
19#[cfg(any(target_env = "ohos", ohos_mock))]
20mod ohos {
21    pub mod font_list;
22}
23#[cfg(any(target_env = "ohos", ohos_mock))]
24pub use self::ohos::font_list;
25
26mod library_handle;