From 7d30b3f91958a3ff45ee2b8e5de2b6186cadfb72 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 28 Jul 2014 18:37:36 -0400 Subject: Deprecate module system, skip it for shaper modules Now shaper is discovered via (previously unused!) font->find_shaper(). I'm keeping that just to allow clients override shaping. Though, even that I'm not sure we want to keep. Wraps shaper in PangoEngineShape structs to keep PangoAnalysis API intact. Deprecated pango-modules.h and some pango-engine.h. Language modules are not moved yet. Wired up PangoFc, PangoWin32, and PangoCoretext shapers. --- pango/pangocoretext-private.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'pango/pangocoretext-private.h') diff --git a/pango/pangocoretext-private.h b/pango/pangocoretext-private.h index 8076eaea..899cd09b 100644 --- a/pango/pangocoretext-private.h +++ b/pango/pangocoretext-private.h @@ -24,8 +24,6 @@ #ifndef __PANGOCORETEXT_PRIVATE_H__ #define __PANGOCORETEXT_PRIVATE_H__ -#include -#include #include "pangocoretext.h" G_BEGIN_DECLS @@ -107,6 +105,15 @@ const PangoMatrix *pango_core_text_font_key_get_matrix (const Pango PangoGravity pango_core_text_font_key_get_gravity (const PangoCoreTextFontKey *key); CTFontDescriptorRef pango_core_text_font_key_get_ctfontdescriptor (const PangoCoreTextFontKey *key); +void +_pango_core_text_shape (PangoFont *font, + const char *text, + gint length, + const PangoAnalysis *analysis, + PangoGlyphString *glyphs, + const char *paragraph_text G_GNUC_UNUSED, + unsigned int paragraph_length G_GNUC_UNUSED); + G_END_DECLS #endif /* __PANGOCORETEXT_PRIVATE_H__ */ -- cgit v1.2.1