summaryrefslogtreecommitdiff
path: root/tests/markups
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-29 16:37:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-31 14:29:56 -0400
commit1b73eedc69bc15941f216bff11817b825adb51d8 (patch)
treed5a3ceeeb45219023e219296200a925061f704f8 /tests/markups
parentfd51b46898ac9c880bb9552c3e301bfef7ac22bd (diff)
downloadpango-1b73eedc69bc15941f216bff11817b825adb51d8.tar.gz
markup: Change <sup> and <sub>
Use the new baseline-shift and font-scale attributes to reimplement <sup> and <sub>. Now they take font metrics into account and nest properly.
Diffstat (limited to 'tests/markups')
-rw-r--r--tests/markups/valid-4.expected8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/markups/valid-4.expected b/tests/markups/valid-4.expected
index 0391ec8e..a9e16728 100644
--- a/tests/markups/valid-4.expected
+++ b/tests/markups/valid-4.expected
@@ -18,8 +18,8 @@ range 16 29
[16,41]strikethrough=1
range 29 32
[16,41]strikethrough=1
-[29,32]scale=0.833333
-[29,32]rise=-5000
+[29,32]font-scale=2
+[29,32]baseline-shift=2
range 32 33
[16,41]strikethrough=1
range 33 38
@@ -27,8 +27,8 @@ range 33 38
[33,38]scale=0.833333
range 38 41
[16,41]strikethrough=1
-[38,41]scale=0.833333
-[38,41]rise=5000
+[38,41]font-scale=1
+[38,41]baseline-shift=1
range 41 42
range 42 45
[42,54]family=Monospace