summaryrefslogtreecommitdiff
path: root/pango/pango-ot-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-03-31 12:28:09 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-03-31 12:28:09 +0000
commit9e6a19d45496ead8334bc24d89f5208da9e30e8b (patch)
tree0b965c31595c72772dd3424a0c27da0ed5a28ee0 /pango/pango-ot-private.h
parent199ae3899424429340d77c908eacb921d4499aa1 (diff)
downloadpango-9e6a19d45496ead8334bc24d89f5208da9e30e8b.tar.gz
Convert pango/opentype to the new project called HarfBuzz.
2006-03-31 Behdad Esfahbod <behdad@gnome.org> Convert pango/opentype to the new project called HarfBuzz. * pango/opentype/*: Restructured. * pango/pango-ot-*: Updated to use HarfBuzz symbol names.
Diffstat (limited to 'pango/pango-ot-private.h')
-rw-r--r--pango/pango-ot-private.h26
1 files changed, 10 insertions, 16 deletions
diff --git a/pango/pango-ot-private.h b/pango/pango-ot-private.h
index 91bc3393..5e5e7023 100644
--- a/pango/pango-ot-private.h
+++ b/pango/pango-ot-private.h
@@ -25,12 +25,9 @@
#include <glib-object.h>
#include <pango/pango-ot.h>
-#include "opentype/ftglue.h"
-#include "opentype/ftxopen.h"
+#include "opentype/harfbuzz.h"
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define PANGO_TYPE_OT_INFO (pango_ot_info_get_type ())
#define PANGO_OT_INFO(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_OT_INFO, PangoOTInfo))
@@ -49,9 +46,9 @@ struct _PangoOTInfo
FT_Face face;
- TTO_GSUB gsub;
- TTO_GDEF gdef;
- TTO_GPOS gpos;
+ HB_GSUB gsub;
+ HB_GDEF gdef;
+ HB_GPOS gpos;
};
struct _PangoOTInfoClass
@@ -83,7 +80,7 @@ struct _PangoOTRulesetClass
struct _PangoOTBuffer
{
- OTL_Buffer buffer;
+ HB_Buffer buffer;
PangoFcFont *font;
guint rtl : 1;
guint zero_width_marks : 1;
@@ -92,15 +89,12 @@ struct _PangoOTBuffer
GType pango_ot_info_get_type (void);
-TTO_GDEF pango_ot_info_get_gdef (PangoOTInfo *info);
-TTO_GSUB pango_ot_info_get_gsub (PangoOTInfo *info);
-TTO_GPOS pango_ot_info_get_gpos (PangoOTInfo *info);
+HB_GDEF pango_ot_info_get_gdef (PangoOTInfo *info);
+HB_GSUB pango_ot_info_get_gsub (PangoOTInfo *info);
+HB_GPOS pango_ot_info_get_gpos (PangoOTInfo *info);
GType pango_ot_ruleset_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __PANGO_OT_PRIVATE_H__ */