s-u / Cairo

R graphics device using cairo graphics library for creating high-quality output
12 stars 10 forks source link

Add support for bi-directional text, ligatures etc. via Harfbuzz #35

Closed s-u closed 2 years ago

s-u commented 2 years ago

Uses Harfbuzz and ICU to detect changing scripts and text directions and render each part in the appropriate direction. This also supports ligatures and more complex script shaping. In additon, it enables support for both native and UTF-8 encoded drawing.

This branch also supports custom font family handling in both FreeType and Harfbuzz code paths.

s-u commented 2 years ago

Issues likely resolved by this PR: #17 and #23