Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stub get_fallbacks #257

Open
GNUqb114514 opened this issue Nov 23, 2024 · 0 comments
Open

Stub get_fallbacks #257

GNUqb114514 opened this issue Nov 23, 2024 · 0 comments

Comments

@GNUqb114514
Copy link

I'm looking for the fallback implementation, but I seen this:

/// Get font fallback results for the given text and locale.
///
/// Note: this is currently just a stub implementation, a proper implementation
/// would likely use FontConfig, at least on Linux. It's not clear what a
/// FreeType loader with a non-FreeType source should do.
fn get_fallbacks(&self, text: &str, _locale: &str) -> FallbackResult<Font> {
    warn!("unsupported");
    FallbackResult {
        fonts: Vec::new(),
        valid_len: text.len(),
    }
}

And blame tells me that It's been added 5 years ago by comments, but It seems
like no body is working on this. I hope it can be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant