summaryrefslogtreecommitdiff
path: root/docs/usermanual-getting-started.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/usermanual-getting-started.xml')
-rw-r--r--docs/usermanual-getting-started.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/usermanual-getting-started.xml b/docs/usermanual-getting-started.xml
index 9e16ecbf..932bd947 100644
--- a/docs/usermanual-getting-started.xml
+++ b/docs/usermanual-getting-started.xml
@@ -157,7 +157,8 @@
</orderedlist>
<programlisting language="C">
#include &lt;hb-ft.h&gt;
- FT_New_Face(ft_library, font_path, index, &amp;face)
+ FT_New_Face(ft_library, font_path, index, &amp;face);
+ FT_Set_Char_Size(face, 0, 1000, 0, 0);
hb_font_t *font = hb_ft_font_create(face);
</programlisting>
<orderedlist numeration="arabic">