Merge pull request #1425 from mbutterick/patch-1

update simple shaping example (closes #298)
This commit is contained in:
Behdad Esfahbod 2018-11-28 17:21:57 -05:00 committed by GitHub
commit 949655aa78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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">