hb-glib.h 1.5 KB
Newer Older
B
Behdad Esfahbod 已提交
1
/*
B
Behdad Esfahbod 已提交
2 3
 * Copyright © 2009  Red Hat, Inc.
 * Copyright © 2011  Google, Inc.
B
Behdad Esfahbod 已提交
4
 *
B
Behdad Esfahbod 已提交
5
 *  This is part of HarfBuzz, a text shaping library.
B
Behdad Esfahbod 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 *
 * Permission is hereby granted, without written agreement and without
 * license or royalty fees, to use, copy, modify, and distribute this
 * software and its documentation for any purpose, provided that the
 * above copyright notice and the following two paragraphs appear in
 * all copies of this software.
 *
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
 * DAMAGE.
 *
 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 *
 * Red Hat Author(s): Behdad Esfahbod
B
Behdad Esfahbod 已提交
26
 * Google Author(s): Behdad Esfahbod
B
Behdad Esfahbod 已提交
27 28 29 30 31
 */

#ifndef HB_GLIB_H
#define HB_GLIB_H

B
Behdad Esfahbod 已提交
32
#include "hb.h"
33

34
#include <glib.h>
B
Behdad Esfahbod 已提交
35 36 37

HB_BEGIN_DECLS

B
Behdad Esfahbod 已提交
38

39 40 41 42 43 44 45
hb_script_t
hb_glib_script_to_script (GUnicodeScript script);

GUnicodeScript
hb_glib_script_from_script (hb_script_t script);


B
Behdad Esfahbod 已提交
46
hb_unicode_funcs_t *
B
Behdad Esfahbod 已提交
47
hb_glib_get_unicode_funcs (void);
B
Behdad Esfahbod 已提交
48

B
Behdad Esfahbod 已提交
49

B
Behdad Esfahbod 已提交
50 51 52
HB_END_DECLS

#endif /* HB_GLIB_H */