summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-12 23:05:26 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 16:19:58 -0700
commit2bcf7a63cd0abc61f4dc610a70c54c8fafb64d57 (patch)
tree0561fcbb7a544bfc7792cea93db82133ba200d76 /pango
parentceccf52c9093c6b82e63f031adbab963d69509e4 (diff)
downloadpango-2bcf7a63cd0abc61f4dc610a70c54c8fafb64d57.tar.gz
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.
Diffstat (limited to 'pango')
-rw-r--r--pango/meson.build2
-rw-r--r--pango/pangofc-private.h16
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