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(any(
9    all(target_os = "linux", not(target_env = "ohos"), not(ohos_mock)),
10    target_os = "freebsd"
11))]
12pub mod font_list;
13
14#[cfg(target_os = "android")]
15mod android {
16    pub mod font_list;
17    mod xml;
18}
19#[cfg(target_os = "android")]
20pub use self::android::font_list;
21
22#[cfg(any(target_env = "ohos", ohos_mock))]
23mod ohos {
24    pub mod font_list;
25}
26#[cfg(any(target_env = "ohos", ohos_mock))]
27pub use self::ohos::font_list;
28
29mod library_handle;