[pango/matthiasc/for-main: 14/14] Fix an oversight with text-transform
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-main: 14/14] Fix an oversight with text-transform
- Date: Sun, 22 Aug 2021 16:15:00 +0000 (UTC)
commit 038612afb0f4e92a5adbafc6e761917924df6494
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 22 12:13:15 2021 -0400
Fix an oversight with text-transform
With the current implementation of text-transform,
we need the attribute to be constant across runs.
pango/pango-layout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 9114e9a1..8f5a6363 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -4304,6 +4304,7 @@ affects_itemization (PangoAttribute *attr,
case PANGO_ATTR_RISE:
case PANGO_ATTR_LINE_HEIGHT:
case PANGO_ATTR_ABSOLUTE_LINE_HEIGHT:
+ case PANGO_ATTR_TEXT_TRANSFORM:
return TRUE;
default:
return FALSE;
@@ -4322,7 +4323,6 @@ affects_break_or_shape (PangoAttribute *attr,
case PANGO_ATTR_INSERT_HYPHENS:
case PANGO_ATTR_FONT_FEATURES:
case PANGO_ATTR_SHOW:
- case PANGO_ATTR_TEXT_TRANSFORM:
return TRUE;
default:
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]