diff --git a/docs/usermanual-getting-started.xml b/docs/usermanual-getting-started.xml
index 72a374624..69f92dbb0 100644
--- a/docs/usermanual-getting-started.xml
+++ b/docs/usermanual-getting-started.xml
@@ -138,7 +138,9 @@
- 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));