blob: 63a9d3366c58a0110881ad00d971830924b73a2a [file] [log] [blame]
Behdad Esfahbod49f261d2009-08-10 23:35:05 -04001/*
Behdad Esfahbod2409d5f2011-04-21 17:14:28 -04002 * Copyright © 2009 Red Hat, Inc.
3 * Copyright © 2011 Google, Inc.
Behdad Esfahbod49f261d2009-08-10 23:35:05 -04004 *
Behdad Esfahbodc755cb32010-04-22 00:11:43 -04005 * This is part of HarfBuzz, a text shaping library.
Behdad Esfahbod49f261d2009-08-10 23:35:05 -04006 *
7 * Permission is hereby granted, without written agreement and without
8 * license or royalty fees, to use, copy, modify, and distribute this
9 * software and its documentation for any purpose, provided that the
10 * above copyright notice and the following two paragraphs appear in
11 * all copies of this software.
12 *
13 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
14 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
15 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
16 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
17 * DAMAGE.
18 *
19 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
20 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
22 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
23 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
24 *
25 * Red Hat Author(s): Behdad Esfahbod
Behdad Esfahbod2409d5f2011-04-21 17:14:28 -040026 * Google Author(s): Behdad Esfahbod
Behdad Esfahbod49f261d2009-08-10 23:35:05 -040027 */
28
29#ifndef HB_GLIB_H
30#define HB_GLIB_H
31
Behdad Esfahbod081819e2009-08-10 23:40:28 -040032#include "hb.h"
Behdad Esfahbodd1c9eb42012-04-12 13:17:44 -040033
Behdad Esfahbod0809aad2011-04-20 02:44:29 -040034#include <glib.h>
Behdad Esfahbod49f261d2009-08-10 23:35:05 -040035
Behdad Esfahbod49f261d2009-08-10 23:35:05 -040036HB_BEGIN_DECLS
37
Behdad Esfahbodacdba3f2010-07-23 15:11:18 -040038
Behdad Esfahbod0809aad2011-04-20 02:44:29 -040039hb_script_t
40hb_glib_script_to_script (GUnicodeScript script);
41
42GUnicodeScript
43hb_glib_script_from_script (hb_script_t script);
44
45
Behdad Esfahbod49f261d2009-08-10 23:35:05 -040046hb_unicode_funcs_t *
Behdad Esfahbod081819e2009-08-10 23:40:28 -040047hb_glib_get_unicode_funcs (void);
Behdad Esfahbod49f261d2009-08-10 23:35:05 -040048
Behdad Esfahbodacdba3f2010-07-23 15:11:18 -040049
Behdad Esfahbod49f261d2009-08-10 23:35:05 -040050HB_END_DECLS
51
52#endif /* HB_GLIB_H */