4 * Copyright (C) 1999 Red Hat Software
5 * Author: Owen Taylor <otaylor@redhat.com>
7 * Copyright (C) 2004 Theppitak Karoonboonyanan
8 * Copyright (C) 2002 Software and Language Engineering Laboratory, NECTEC
9 * Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
11 * Copyright (c) 1996-2000 by Sun Microsystems, Inc.
12 * Author: Chookij Vanatham <Chookij.Vanatham@Eng.Sun.COM>
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Library General Public
16 * License as published by the Free Software Foundation; either
17 * version 2 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Library General Public License for more details.
24 * You should have received a copy of the GNU Library General Public
25 * License along with this library; if not, write to the
26 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
27 * Boston, MA 02111-1307, USA.
30 #ifndef __THAI_SHAPER_H__
31 #define __THAI_SHAPER_H__
33 typedef struct _ThaiFontInfo ThaiFontInfo;
35 /* Font encodings we will use
56 * Abstract methods (implemented by each shaper module)
59 thai_get_glyph_tis (ThaiFontInfo *font_info, guchar c);
62 thai_make_glyph_tis (ThaiFontInfo *font_info, guchar c);
65 thai_get_glyph_uni (ThaiFontInfo *font_info, gunichar uc);
68 thai_make_glyph_uni (ThaiFontInfo *font_info, gunichar uc);
71 thai_make_unknown_glyph (ThaiFontInfo *font_info, gunichar uc);
74 thai_set_glyphs (ThaiFontInfo *font_info,
78 PangoGlyphString *glyphs);
80 #endif /* __THAI_SHAPER_H__ */