summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-29 14:57:05 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-29 14:57:05 +0100
commit579dac3c91faf73866f4b9b13381393ddf7b2f9b (patch)
treee490708005997ba4db1d98ee1a2cac6c6d669c83 /tests
parent0efe669278a5e1c3f2985eba2f3360e91159c54a (diff)
Strong delta
Diffstat (limited to 'tests')
-rw-r--r--tests/fonts/IBMPlexSans-Medium.ttfbin0 -> 177104 bytes
-rw-r--r--tests/ref/text/emphasis.pngbin6900 -> 8898 bytes
-rw-r--r--tests/typ/text/emphasis.typ10
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/fonts/IBMPlexSans-Medium.ttf b/tests/fonts/IBMPlexSans-Medium.ttf
new file mode 100644
index 00000000..9395402b
--- /dev/null
+++ b/tests/fonts/IBMPlexSans-Medium.ttf
Binary files differ
diff --git a/tests/ref/text/emphasis.png b/tests/ref/text/emphasis.png
index c004421d..da04d8d1 100644
--- a/tests/ref/text/emphasis.png
+++ b/tests/ref/text/emphasis.png
Binary files differ
diff --git a/tests/typ/text/emphasis.typ b/tests/typ/text/emphasis.typ
index cd2191cc..27e3b977 100644
--- a/tests/typ/text/emphasis.typ
+++ b/tests/typ/text/emphasis.typ
@@ -17,6 +17,16 @@ _Still [
P#strong[art]ly em#emph[phas]ized.
---
+// Adjusting the delta that strong applies on the weight.
+Normal
+
+#set strong(delta: 300)
+*Bold*
+
+#set strong(delta: 150)
+*Medium* and *[*Bold*]*
+
+---
// Error: 13 expected underscore
#box[_Scoped] to body.