summaryrefslogtreecommitdiff
path: root/pango/pangoxft.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-12-20 04:41:36 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-12-20 04:41:36 +0000
commit6ffa65f461d8a78d9190c0d9903a9ecd7273774a (patch)
treef4245e3e7e13771b62224fbdf473edd96d7e7765 /pango/pangoxft.h
parent1a603d00f370167b75a965416080f45824d5b515 (diff)
downloadpango-6ffa65f461d8a78d9190c0d9903a9ecd7273774a.tar.gz
Since Xft may only be available statically without shlib deps, check for
Tue Dec 19 22:47:16 2000 Owen Taylor <otaylor@redhat.com> * configure.in pango-config.in pangoxft.pc.in modules/basic/Makefile.am: Since Xft may only be available statically without shlib deps, check for FreeType libs explicitly and include them when linking, otherwise things won't work. Also, define FREETYPE_CFLAGS from freetype-config --cflags. * modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool Xft into not converting glyph indices by loading the face unencoded then calling FT_Set_Charmap ourselves. * pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start of opentype handling - most of the actually meat of the code here is the OpenType layout code from FreeType 1 ported to freetype2 and adapted slighlty for our purposes. Also, includes a incomplete OpenType-table-dumping code useful for figuring out what is going on. * pango/pangoxft.h pango/pangoxft-font.h: Add calls for getting FT_Face and PangoOTInfo from PangoXftFont. * modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}: Initial support for rendering Arabic with OpenType fonts.
Diffstat (limited to 'pango/pangoxft.h')
-rw-r--r--pango/pangoxft.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/pango/pangoxft.h b/pango/pangoxft.h
index c9f32404..cbc95afa 100644
--- a/pango/pangoxft.h
+++ b/pango/pangoxft.h
@@ -24,6 +24,7 @@
#define __PANGOXFT_H__
#include <pango/pango.h>
+#include <pango/pango-ot.h>
#ifdef __cplusplus
extern "C" {
@@ -53,10 +54,12 @@ GType pango_xft_font_get_type (void);
/* For shape engines
*/
-XftFont * pango_xft_font_get_font (PangoFont *font);
-Display * pango_xft_font_get_display (PangoFont *font);
-PangoGlyph pango_xft_font_get_unknown_glyph (PangoFont *font,
- gunichar wc);
+XftFont * pango_xft_font_get_font (PangoFont *font);
+FT_Face pango_xft_font_get_face (PangoFont *font);
+PangoOTInfo * pango_xft_font_get_ot_info (PangoFont *font);
+Display * pango_xft_font_get_display (PangoFont *font);
+PangoGlyph pango_xft_font_get_unknown_glyph (PangoFont *font,
+ gunichar wc);
#ifdef __cplusplus
}