[pango/visible-things: 45/57] Pass shape flags through to pangofc_shape
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/visible-things: 45/57] Pass shape flags through to pangofc_shape
- Date: Fri, 12 Jul 2019 13:37:59 +0000 (UTC)
commit de2261f51fdc9ba4f9563a7a4ec5c920ca3b7168
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 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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]