Minor; simplify example code

Co-Authored-By: n8willis <nwillis@glyphography.com>
This commit is contained in:
Khaled Hosny 2018-10-20 15:45:24 +01:00
parent 6e4dd58a4a
commit 722099487b
1 changed files with 3 additions and 1 deletions

View File

@ -138,7 +138,9 @@
</listitem>
</orderedlist>
<programlisting language="C">
hb_buffer_guess_segment_properties(buf);
hb_buffer_set_direction(buf, HB_DIRECTION_LTR);
hb_buffer_set_script(buf, HB_SCRIPT_LATIN);
hb_buffer_set_language(buf, hb_language_from_string("en", -1));
</programlisting>
<orderedlist numeration="arabic">
<listitem override="3">