summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-29 15:53:48 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-31 14:29:56 -0400
commitfd51b46898ac9c880bb9552c3e301bfef7ac22bd (patch)
tree5afaca48cf1ecdcac7d4e91c7db80ddb484c5267 /tests
parent303b4fb73eb8848d18abbda4d151461bd86f1000 (diff)
downloadpango-fd51b46898ac9c880bb9552c3e301bfef7ac22bd.tar.gz
Implement font-dependent scaling
Add a new font-scale attribute to indicate font size changes due to super- and subscript shifts, and handle it during item post-processing to find the right font sizes.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-itemize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-itemize.c b/tests/test-itemize.c
index 29f59210..e5775985 100644
--- a/tests/test-itemize.c
+++ b/tests/test-itemize.c
@@ -73,6 +73,7 @@ affects_itemization (PangoAttribute *attr,
case PANGO_ATTR_ABSOLUTE_SIZE:
case PANGO_ATTR_GRAVITY:
case PANGO_ATTR_GRAVITY_HINT:
+ case PANGO_ATTR_FONT_SCALE:
/* These are part of ItemProperties, so need to break runs */
case PANGO_ATTR_LETTER_SPACING:
case PANGO_ATTR_SHAPE: