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

Add HarfBuzz for text shaping (complex scripts, font ligatures) #9961

Closed
bruvzg opened this issue Jul 28, 2017 · 3 comments · Fixed by #41100
Closed

Add HarfBuzz for text shaping (complex scripts, font ligatures) #9961

bruvzg opened this issue Jul 28, 2017 · 3 comments · Fixed by #41100

Comments

@bruvzg
Copy link
Member

bruvzg commented Jul 28, 2017

Change DynamicFont to use HarfBuzz (MIT license) to handle:

  1. Context-sensitive shaping and ligatures for complex scripts (Arabic, Devanagari, Thai etc.);
  2. Programming ligatures with fonts like Iosevka & Fira Code in script editor.

fonts

Related: #3081

@reduz
Copy link
Member

reduz commented Jul 29, 2017

Would be ideal to just adapt the relevant code instead of using a pretty big library for it

@bruvzg
Copy link
Member Author

bruvzg commented Aug 18, 2017

This is far from finished and a hell of a mess, but here's early in-progress screenshot (bidi display, language specific shaping, OT typographic features).

Test build:
test

3.0 alpha 1:
test3a

I'll probably make WIP PR next week.

@akien-mga
Copy link
Member

Superseded by godotengine/godot-proposals#4.

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

Successfully merging a pull request may close this issue.

4 participants