[pango/visible-things-2: 4/16] Pass shape flags through to pangofc_shape
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/visible-things-2: 4/16] Pass shape flags through to pangofc_shape
- Date: Wed, 10 Jul 2019 19:24:03 +0000 (UTC)
commit 4171724ed8fddbabed40cbf88491e0dc2733904e
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 7 13:07:18 2019 -0400
Pass shape flags through to pangofc_shape
pango/pangofc-private.h | 7 ++++---
pango/pangofc-shape.c | 7 ++++---
pango/shape.c | 4 ++--
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 9123566b..e9826ed3 100644
--- a/pango/pangofc-shape.c
+++ b/pango/pangofc-shape.c
@@ -74,10 +74,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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]