1 /*
2 * Copyright © 2009, 2023 Red Hat, Inc.
3 * Copyright © 2015 Google, Inc.
4 *
5 * Permission is hereby granted, without written agreement and without
6 * license or royalty fees, to use, copy, modify, and distribute this
7 * software and its documentation for any purpose, provided that the
8 * above copyright notice and the following two paragraphs appear in
9 * all copies of this software.
10 *
11 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
12 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
13 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
14 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
15 * DAMAGE.
16 *
17 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
18 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
19 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
20 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
21 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
22 *
23 * Red Hat Author(s): Behdad Esfahbod, Matthias Clasen
24 * Google Author(s): Behdad Esfahbod
25 */
26
27 #ifndef FT_HB_H
28 #define FT_HB_H
29
30 #include <hb.h>
31
32 #include <freetype/internal/compiler-macros.h>
33 #include <freetype/freetype.h>
34
35
36 FT_BEGIN_HEADER
37
38 FT_LOCAL(hb_font_t *)
39 hb_ft_font_create_ (FT_Face ft_face,
40 hb_destroy_func_t destroy);
41
42
43 FT_END_HEADER
44
45 #endif /* FT_HB_H */
46
47
48 /* END */