summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-07 13:07:18 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-12 09:32:14 -0400
commitde2261f51fdc9ba4f9563a7a4ec5c920ca3b7168 (patch)
treea79dbfbbf9f2b4a591b2b14749ae546e085571b1
parent7739307e03ecbbf1e8bc9f15c3174ab191646a64 (diff)
downloadpango-de2261f51fdc9ba4f9563a7a4ec5c920ca3b7168.tar.gz
Pass shape flags through to pangofc_shape
-rw-r--r--pango/pangofc-private.h7
-rw-r--r--pango/pangofc-shape.c7
-rw-r--r--pango/shape.c4
3 files changed, 10 insertions, 8 deletions
diff --git a/pango/pangofc-private.h b/pango/pangofc-private.h
index 8d281ad8..df59fb69 100644
--- a/pango/pangofc-private.h
+++ b/pango/pangofc-private.h
@@ -82,10 +82,11 @@ 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);
+ unsigned int paragraph_length,
+ const PangoAnalysis *analysis,
+ PangoShapeFlags flags,
+ PangoGlyphString *glyphs);
G_END_DECLS
diff --git a/pango/pangofc-shape.c b/pango/pangofc-shape.c
index 59b90c40..aded01a6 100644
--- a/pango/pangofc-shape.c
+++ b/pango/pangofc-shape.c
@@ -117,10 +117,11 @@ 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)
+ unsigned int paragraph_length,
+ const PangoAnalysis *analysis,
+ PangoShapeFlags flags,
+ PangoGlyphString *glyphs)
{
hb_font_t *hb_font;
hb_buffer_t *hb_buffer;
diff --git a/pango/shape.c b/pango/shape.c
index d387181a..3815cb9e 100644
--- a/pango/shape.c
+++ b/pango/shape.c
@@ -196,8 +196,8 @@ pango_shape_with_options (const gchar *item_text,
{
_pango_fc_shape (analysis->font,
item_text, item_length,
- analysis, glyphs,
- paragraph_text, paragraph_length);
+ paragraph_text, paragraph_length,
+ analysis, flags, glyphs);
if (G_UNLIKELY (glyphs->num_glyphs == 0))
{