diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-29 14:57:05 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-29 14:57:05 +0100 |
| commit | 579dac3c91faf73866f4b9b13381393ddf7b2f9b (patch) | |
| tree | e490708005997ba4db1d98ee1a2cac6c6d669c83 /tests | |
| parent | 0efe669278a5e1c3f2985eba2f3360e91159c54a (diff) | |
Strong delta
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/fonts/IBMPlexSans-Medium.ttf | bin | 0 -> 177104 bytes | |||
| -rw-r--r-- | tests/ref/text/emphasis.png | bin | 6900 -> 8898 bytes | |||
| -rw-r--r-- | tests/typ/text/emphasis.typ | 10 |
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/fonts/IBMPlexSans-Medium.ttf b/tests/fonts/IBMPlexSans-Medium.ttf Binary files differnew file mode 100644 index 00000000..9395402b --- /dev/null +++ b/tests/fonts/IBMPlexSans-Medium.ttf diff --git a/tests/ref/text/emphasis.png b/tests/ref/text/emphasis.png Binary files differindex c004421d..da04d8d1 100644 --- a/tests/ref/text/emphasis.png +++ b/tests/ref/text/emphasis.png 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. |
