diff options
author | Robert Brady <rwb197@zepler.org> | 2000-11-08 04:55:25 +0000 |
---|---|---|
committer | Robert Brady <rbrady@src.gnome.org> | 2000-11-08 04:55:25 +0000 |
commit | 28b8f5db1a22d8ccefb4a88bb0f16ea3d84afade (patch) | |
tree | 5b91aada5d097425dd016b016f2fbb552c041c40 /pango/pangox.h | |
parent | 2028e281b0ba721d859833ea88bb5f303e78e95b (diff) | |
download | pango-28b8f5db1a22d8ccefb4a88bb0f16ea3d84afade.tar.gz |
Add a per-PangoXFontMap cache for X Atoms.
2000-11-08 Robert Brady <rwb197@zepler.org>
* pango/pangox-fontmap.c, pango/pangox-private.h: Add a
per-PangoXFontMap cache for X Atoms.
* pango/pango-intset.c, pango/pango-intset.h: Integer set.
* pango/pangox.c, pango/pangox.h: Mainly add two new functions,
font_struct_get_ligatures, to parse X font properties for ligature
info, and pango_x_apply_ligatures, which does that actual ligation.
Also add utility functions pango_x_fallback_shaper,
pango_x_find_first_subfont.
* pango/pango-indic.c, pango/pango-indic.h: Utility functions for
Indic scripts.
* pango/Makefile.am: Add pango-intset, pango-indic.
Diffstat (limited to 'pango/pangox.h')
-rw-r--r-- | pango/pangox.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pango/pangox.h b/pango/pangox.h index 43750708..09171b7e 100644 --- a/pango/pangox.h +++ b/pango/pangox.h @@ -2,6 +2,7 @@ * pangox.h: * * Copyright (C) 1999 Red Hat Software + * Copyright (C) 2000 SuSE Linux Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -101,6 +102,24 @@ PangoXFontCache *pango_x_font_map_get_font_cache (PangoFontMap *font_map); char *pango_x_font_subfont_xlfd (PangoFont *font, PangoXSubfont subfont_id); + + +gboolean pango_x_find_first_subfont (PangoFont *font, + char **charsets, + int n_charsets, + PangoXSubfont *rfont); + +void pango_x_fallback_shape (PangoFont *font, + PangoGlyphString *glyphs, + const char *text, + int n_chars); + +gboolean pango_x_apply_ligatures (PangoFont *font, + PangoXSubfont subfont, + gunichar **chars, + int *n_glyphs, + int **clusters); + #ifdef __cplusplus } |