mirror of
https://github.com/love2d/megasource.git
synced 2026-08-21 05:02:11 +02:00
update harfbuzz to 10.1.0
This commit is contained in:
@@ -61,15 +61,11 @@ helper_cairo_create_ft_font_face (const font_options_t *font_opts)
|
||||
#endif
|
||||
}
|
||||
|
||||
unsigned int blob_length;
|
||||
const char *blob_data = hb_blob_get_data (font_opts->blob, &blob_length);
|
||||
|
||||
if (FT_New_Memory_Face (ft_library,
|
||||
(const FT_Byte *) blob_data,
|
||||
blob_length,
|
||||
font_opts->face_index,
|
||||
&ft_face))
|
||||
fail (false, "FT_New_Memory_Face fail");
|
||||
if (FT_New_Face (ft_library,
|
||||
font_opts->font_file,
|
||||
font_opts->face_index,
|
||||
&ft_face))
|
||||
fail (false, "FT_New_Face fail");
|
||||
}
|
||||
if (!ft_face)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user