[pango/wip/kill-shape-engine: 26/35] Move _pango_fc_shape to libpango



commit d30169bcfb2c68df3366468d73d8a9f5792c5e63
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 12 23:05:26 2019 -0400

    Move _pango_fc_shape to libpango
    
    We temporarily export it since it is still
    used for the shape engine in libpangoft2.
    This will be undone when we drop the shape
    engine.

 pango/meson.build       |  2 +-
 pango/pangofc-private.h | 16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/pango/meson.build b/pango/meson.build
index 4ca062ec..cfbf8a9a 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -26,6 +26,7 @@ pango_sources = [
   'pango-utils.c',
   'reorder-items.c',
   'shape.c',
+  'pangofc-shape.c',
 ]
 
 pango_headers = [
@@ -175,7 +176,6 @@ if build_pangoft2
     'pangofc-font.c',
     'pangofc-fontmap.c',
     'pangofc-decoder.c',
-    'pangofc-shape.c',
     'pangoft2.c',
   ]
 
diff --git a/pango/pangofc-private.h b/pango/pangofc-private.h
index 8d281ad8..9fca930e 100644
--- a/pango/pangofc-private.h
+++ b/pango/pangofc-private.h
@@ -78,14 +78,14 @@ _PANGO_EXTERN
 PangoFontMetrics *pango_fc_font_create_base_metrics_for_context (PangoFcFont   *font,
                                                                 PangoContext  *context);
 
-void
-_pango_fc_shape (PangoFont           *font,
-                const char          *item_text,
-                unsigned int         item_length,
-                const PangoAnalysis *analysis,
-                PangoGlyphString    *glyphs,
-                const char          *paragraph_text,
-                unsigned int         paragraph_length);
+PANGO_AVAILABLE_IN_ALL
+void _pango_fc_shape (PangoFont           *font,
+                      const char          *item_text,
+                      unsigned int         item_length,
+                      const PangoAnalysis *analysis,
+                      PangoGlyphString    *glyphs,
+                      const char          *paragraph_text,
+                      unsigned int         paragraph_length);
 
 G_END_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]