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

Use a HarfBuzz based text system #13951

Open
mikayla-maki opened this issue Jul 8, 2024 · 3 comments
Open

Use a HarfBuzz based text system #13951

mikayla-maki opened this issue Jul 8, 2024 · 3 comments
Labels
enhancement [core label] font Font feedback for readability, size, style, etc linux

Comments

@mikayla-maki
Copy link
Contributor

mikayla-maki commented Jul 8, 2024

Our current text system:

Let's replace it with HarfBuzz

@mikayla-maki mikayla-maki added enhancement [core label] triage Maintainer needs to classify the issue admin read Pending admin review linux labels Jul 8, 2024
@notpeter notpeter added font Font feedback for readability, size, style, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 11, 2024
@jackpot51
Copy link

Please consider working with me on cosmic-text support for any features you need. If you directly use harfbuzz you will need to implement your own layout and font fallback code, which is not trivial.

@panekj
Copy link

panekj commented Jul 12, 2024

  • Doesn't use fontconfig

This seems to be either untrue or an oversight in your usage of cosmic-text as it provides fontconfig feature that is enabled by default, it's backed by fontdb and not fontconfig library (so it doesn't link to it), doesn't support all of fontconfig, but some subset of it is supported.

@Speykious
Copy link

Speykious commented Jul 19, 2024

I'm reading that cosmic-text is more likely to continue being used here, but if you're considering harfbuzz, consider also using swash instead. There's also a complex demo of it (for context, this is a fork of mine that is more up-to-date).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement [core label] font Font feedback for readability, size, style, etc linux
Projects
None yet
Development

No branches or pull requests

5 participants