diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-07-28 18:37:36 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2015-04-04 16:13:40 -0700 |
commit | 7d30b3f91958a3ff45ee2b8e5de2b6186cadfb72 (patch) | |
tree | c598289612344faffb3b0225707f1c2ed2282de8 /pango/pangocoretext-private.h | |
parent | 14c11dd96e1547aaede1bb05a0243f5b0b53186e (diff) | |
download | pango-7d30b3f91958a3ff45ee2b8e5de2b6186cadfb72.tar.gz |
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.
Diffstat (limited to 'pango/pangocoretext-private.h')
-rw-r--r-- | pango/pangocoretext-private.h | 11 |
1 files changed, 9 insertions, 2 deletions
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 <pango/pango-fontmap.h> -#include <pango/pango-context.h> #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__ */ |