Index: third_party/harfbuzz-ng/src/hb-ft.h |
diff --git a/third_party/harfbuzz-ng/src/hb-ft.h b/third_party/harfbuzz-ng/src/hb-ft.h |
index be5c854723a95073543c814a079533b4d622ca5d..c1772ac15b7514ccde5461685a508c4f5c39037b 100644 |
--- a/third_party/harfbuzz-ng/src/hb-ft.h |
+++ b/third_party/harfbuzz-ng/src/hb-ft.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2009 Red Hat, Inc. |
+ * Copyright © 2009 Red Hat, Inc. |
* |
* This is part of HarfBuzz, a text shaping library. |
* |
@@ -36,15 +36,12 @@ |
HB_BEGIN_DECLS |
- |
-hb_font_funcs_t * |
-hb_ft_get_font_funcs (void); |
+/* Note: FreeType is not thread-safe. Hence, these functions are not either. */ |
hb_face_t * |
hb_ft_face_create (FT_Face ft_face, |
hb_destroy_func_t destroy); |
-/* Note: This function is not thread-safe */ |
hb_face_t * |
hb_ft_face_create_cached (FT_Face ft_face); |
@@ -53,6 +50,15 @@ hb_ft_font_create (FT_Face ft_face, |
hb_destroy_func_t destroy); |
+ |
+/* Makes an hb_font_t use FreeType internally to implement font functions. */ |
+void |
+hb_ft_font_set_funcs (hb_font_t *font); |
+ |
+FT_Face |
+hb_ft_font_get_face (hb_font_t *font); |
+ |
+ |
HB_END_DECLS |
#endif /* HB_FT_H */ |