diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2018-10-20 15:45:24 +0100 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2018-10-30 19:14:57 +0200 |
commit | 722099487be72346e7109872b6abf30696f3b7c3 (patch) | |
tree | 61a2efacd407fe7c4325aaf607736601614e485b | |
parent | 6e4dd58a4af003eeec93cbe90d1258d91a38b53c (diff) |
Minor; simplify example code
Co-Authored-By: n8willis <nwillis@glyphography.com>
-rw-r--r-- | docs/usermanual-getting-started.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/usermanual-getting-started.xml b/docs/usermanual-getting-started.xml index 72a37462..69f92dbb 100644 --- a/docs/usermanual-getting-started.xml +++ b/docs/usermanual-getting-started.xml @@ -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"> |