Merge pull request #1425 from mbutterick/patch-1
update simple shaping example (closes #298)
This commit is contained in:
commit
949655aa78
|
@ -157,7 +157,8 @@
|
|||
</orderedlist>
|
||||
<programlisting language="C">
|
||||
#include <hb-ft.h>
|
||||
FT_New_Face(ft_library, font_path, index, &face)
|
||||
FT_New_Face(ft_library, font_path, index, &face);
|
||||
FT_Set_Char_Size(face, 0, 1000, 0, 0);
|
||||
hb_font_t *font = hb_ft_font_create(face);
|
||||
</programlisting>
|
||||
<orderedlist numeration="arabic">
|
||||
|
|
Loading…
Reference in New Issue