(#11): Respect the "direction" property for bidirectional text

Thanks to Khaled Hosny for finding the call to Pango that was lacking.

Fixes #11
parent d1a5e5ca
Pipeline #81731 failed with stages
in 27 minutes and 20 seconds
...@@ -581,6 +581,7 @@ fn create_pango_layout( ...@@ -581,6 +581,7 @@ fn create_pango_layout(
)); ));
let layout = pango::Layout::new(&pango_context); let layout = pango::Layout::new(&pango_context);
layout.set_auto_dir(false);
layout.set_font_description(&font_desc); layout.set_font_description(&font_desc);
let attr_list = pango::AttrList::new(); let attr_list = pango::AttrList::new();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment