diff options
| author | Eric Biedert <github@ericbiedert.de> | 2023-09-19 10:28:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-19 10:28:50 +0200 |
| commit | 13758b9c9795d7d6d2fa9551a8936e0f0ff27136 (patch) | |
| tree | a1d3f76a18eb83819b8fd1ead90a5c795a990251 /tests | |
| parent | 3955b25a10d56c83552763c0ca42fb137fcefb87 (diff) | |
Allow multiple fallback fonts in SVGs (#2122)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/bugs/new-cm-svg.png | bin | 2882 -> 2845 bytes | |||
| -rw-r--r-- | tests/ref/layout/place-float-figure.png | bin | 112275 -> 111833 bytes | |||
| -rw-r--r-- | tests/ref/visualize/svg-text.png | bin | 12385 -> 17763 bytes | |||
| -rw-r--r-- | tests/typ/visualize/svg-text.typ | 9 |
4 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/bugs/new-cm-svg.png b/tests/ref/bugs/new-cm-svg.png Binary files differindex 2d445c3a..d75a6dbb 100644 --- a/tests/ref/bugs/new-cm-svg.png +++ b/tests/ref/bugs/new-cm-svg.png diff --git a/tests/ref/layout/place-float-figure.png b/tests/ref/layout/place-float-figure.png Binary files differindex b2755f12..bf9d21b4 100644 --- a/tests/ref/layout/place-float-figure.png +++ b/tests/ref/layout/place-float-figure.png diff --git a/tests/ref/visualize/svg-text.png b/tests/ref/visualize/svg-text.png Binary files differindex 106d1c16..b2bbe320 100644 --- a/tests/ref/visualize/svg-text.png +++ b/tests/ref/visualize/svg-text.png diff --git a/tests/typ/visualize/svg-text.typ b/tests/typ/visualize/svg-text.typ index 838f7360..11283a76 100644 --- a/tests/typ/visualize/svg-text.typ +++ b/tests/typ/visualize/svg-text.typ @@ -7,3 +7,12 @@ image("/files/diagram.svg"), caption: [A textful diagram], ) + +--- +#set page(width: 250pt) +#show image: set text(font: ("Roboto", "Noto Serif CJK SC")) + +#figure( + image("/files/chinese.svg"), + caption: [Bilingual text] +) |
