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

List writing systems supported by a font #28

Open
RazrFalcon opened this issue Feb 16, 2019 · 4 comments
Open

List writing systems supported by a font #28

RazrFalcon opened this issue Feb 16, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@RazrFalcon
Copy link
Contributor

RazrFalcon commented Feb 16, 2019

So we can check which languages/scripts can be handled by this font.

This is very useful for the font fallback resolution, when we need to find a font that can be used to write a specified text.

@raphlinus
Copy link
Contributor

I've started digging into this question. It's very complicated, and not easy to get direct access. I've written up some investigations as linebender/skribo#1 and would welcome more input from experts.

@RazrFalcon
Copy link
Contributor Author

This is how Qt works. And similar implementations for other backends.

I've tried to implement this by myself first, but I think that there are too many edge cases of which I'm not aware of.

@raphlinus
Copy link
Contributor

raphlinus commented Mar 4, 2019

@RazrFalcon Thanks, I'm mostly using Skia as a reference because I know it meets the needs of the web, but Qt also looks like a good source and I will dig into it. Do you have any information about whether it correctly deals with Han unification on Linux, Windows, and macOS? ETA: this is starting to become fairly clear reading through the source.

@RazrFalcon
Copy link
Contributor Author

Do you have any information about whether it correctly deals with Han unification on Linux, Windows, and macOS?

Sadly, no.

@pcwalton pcwalton added the enhancement New feature or request label Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants