behdad / glyphy

GLyphy is a signed-distance-field (SDF) text renderer using OpenGL ES2 shading language.
Other
663 stars 76 forks source link

[demo] Use HarfBuzz to draw glyphs & for shaping #39

Closed behdad closed 2 years ago

behdad commented 2 years ago

First commit uses HarfBuzz 4.0.0 draw API instead of FreeType to load glyph shapes. Second commit adds hb_shape() call, such that Arabic, etc work in the demo.

behdad commented 2 years ago

cc @khaledhosny

behdad commented 2 years ago

image

khaledhosny commented 2 years ago

cc @ebraminio