summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2022-04-23 14:36:15 -0700
committerJohn Ralls <jralls@ceridwen.us>2022-04-25 11:30:10 -0700
commit2784159d0e57b409477cfcb25ddcce3227379a6f (patch)
treeefb9f27951255999935a61cc3266f03e89caa004 /test
parentc755e48c2e5da7f10956de1c3560180510e84d1f (diff)
downloadcairo-2784159d0e57b409477cfcb25ddcce3227379a6f.tar.gz
[quartz] Adjust x_extents metric.
CoreText uses different advances depending on the font size, with very small point sizes sometimes getting advances that are smaller than the glyph's width. This is manifested in the Apple Color Emoji font with the Emoji glyphs having a width of 1.25 and an advance width of 1.0. That results in overlapping emoji when they're in a string. The small spacing difference also affects 3 tests so updated reference images are included in this commit. # Please enter the commit message for your changes. Lines starting
Diffstat (limited to 'test')
-rw-r--r--test/reference/inverse-text.quartz.ref.pngbin2565 -> 2602 bytes
-rw-r--r--test/reference/pdf-operators-text.quartz.ref.pngbin0 -> 8226 bytes
-rw-r--r--test/reference/select-font-face.quartz.ref.pngbin2645 -> 2691 bytes
3 files changed, 0 insertions, 0 deletions
diff --git a/test/reference/inverse-text.quartz.ref.png b/test/reference/inverse-text.quartz.ref.png
index df0ea57ea..f57f45035 100644
--- a/test/reference/inverse-text.quartz.ref.png
+++ b/test/reference/inverse-text.quartz.ref.png
Binary files differ
diff --git a/test/reference/pdf-operators-text.quartz.ref.png b/test/reference/pdf-operators-text.quartz.ref.png
new file mode 100644
index 000000000..ecfa7cc5d
--- /dev/null
+++ b/test/reference/pdf-operators-text.quartz.ref.png
Binary files differ
diff --git a/test/reference/select-font-face.quartz.ref.png b/test/reference/select-font-face.quartz.ref.png
index 69fd2e239..1100fe28c 100644
--- a/test/reference/select-font-face.quartz.ref.png
+++ b/test/reference/select-font-face.quartz.ref.png
Binary files differ