summaryrefslogtreecommitdiff
path: root/pango/pangoft2.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-06-14 20:38:25 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-06-14 20:38:25 +0000
commit5ee19fca3c7c3da53ef4f000efdb3bbf4dcb1a04 (patch)
tree17a70e18597aae753e36a983150500bd9362dcfd /pango/pangoft2.h
parent3a42444e7f2449598106338be7e6ec9468bb7946 (diff)
downloadpango-5ee19fca3c7c3da53ef4f000efdb3bbf4dcb1a04.tar.gz
Add a new PangoLanguage type to represent language tags; these can
Sat Jun 9 17:36:09 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-types.h pango/pango-utils.c: Add a new PangoLanguage type to represent language tags; these can efficiently be compared and don't need to be copied. Also add pango_language_matches() to match a language tag against a pattern. * pango/pango-item.[ch] pango/pango-layout.c: Move extra_attrs from PangoItem to PangoAnalysis. Add a language tag field to PangoAnalysis. (#55894) * pango/pango-attributes.[ch] (pango_attr_iterator_get_font): Return the language tag as well. * pango/pango-attributes.[ch]: Rename PangoAttrLang to PangoAttrLanguage, and make it hold a PangoLanguage. * pango/pango-context.[ch]: Rename pango_context_{get,set}_lang() to pango_context_{get,set}_language(). * **.[ch]: Adapt to PangoLanguage and s/lang/language/ changes. * modules/basic/basic-x.c modules/basic/tables-big.i: Add support for ordering character sets differently for different language tags. * pango/itemize.c: Remove old, unused file. * pango/pango-context.c (pango_itemize): Reduce number of mallocs by allocating one array of PangoAnalysis instead of many arrays.
Diffstat (limited to 'pango/pangoft2.h')
-rw-r--r--pango/pangoft2.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/pango/pangoft2.h b/pango/pangoft2.h
index 77c3667d..0613d2da 100644
--- a/pango/pangoft2.h
+++ b/pango/pangoft2.h
@@ -65,15 +65,15 @@ typedef guint16 PangoFT2Subfont;
#define PANGO_FT2_GLYPH_SUBFONT(glyph) ((glyph)>>16)
#define PANGO_FT2_GLYPH_INDEX(glyph) ((glyph) & 0xFFFF)
-int pango_ft2_n_subfonts (PangoFont *font);
-PangoGlyph pango_ft2_get_unknown_glyph (PangoFont *font);
-int pango_ft2_font_get_kerning (PangoFont *font,
- PangoGlyph left,
- PangoGlyph right);
-PangoCoverage *pango_ft2_get_coverage (PangoFont *font,
- const char *lang);
-FT_Face pango_ft2_get_face (PangoFont *font,
- PangoFT2Subfont subfont_index);
+int pango_ft2_n_subfonts (PangoFont *font);
+PangoGlyph pango_ft2_get_unknown_glyph (PangoFont *font);
+int pango_ft2_font_get_kerning (PangoFont *font,
+ PangoGlyph left,
+ PangoGlyph right);
+PangoCoverage *pango_ft2_get_coverage (PangoFont *font,
+ PangoLanguage *language);
+FT_Face pango_ft2_get_face (PangoFont *font,
+ PangoFT2Subfont subfont_index);
/* API for libraries that want to use PangoFT2 mixed with classic
* FT2 fonts.