[pango/no-shape-alpha] Leave some more attributes out of shaping
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/no-shape-alpha] Leave some more attributes out of shaping
- Date: Thu, 11 Jul 2019 18:49:34 +0000 (UTC)
commit a8c2e5713ed8e7d0a4eb467bad2f4eeef78d9b26
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 11 14:44:03 2019 -0400
Leave some more attributes out of shaping
We already count foreground and background color
as no-shape attributes, so it makes sense to
treat alpha the same.
pango/pango-layout.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 2b07954e..2384d6b0 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -4001,6 +4001,8 @@ no_shape_filter_func (PangoAttribute *attribute,
static const PangoAttrType no_shape_types[] = {
PANGO_ATTR_FOREGROUND,
PANGO_ATTR_BACKGROUND,
+ PANGO_ATTR_FOREGROUND_ALPHA,
+ PANGO_ATTR_BACKGROUND_ALPHA,
PANGO_ATTR_UNDERLINE,
PANGO_ATTR_STRIKETHROUGH,
PANGO_ATTR_RISE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]