Godot: Add HarfBuzz for text shaping (complex scripts, font ligatures)

Created on 29 Jul 2017  路  3Comments  路  Source: godotengine/godot

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

archived feature proposal core

Most helpful comment

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.

All 3 comments

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

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.

Superseded by godotengine/godot-proposals#4.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blurymind picture blurymind  路  3Comments

timoschwarzer picture timoschwarzer  路  3Comments

gonzo191 picture gonzo191  路  3Comments

bojidar-bg picture bojidar-bg  路  3Comments

RebelliousX picture RebelliousX  路  3Comments