diff options
| author | frozolotl <44589151+frozolotl@users.noreply.github.com> | 2024-02-20 14:03:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 13:03:25 +0000 |
| commit | ee2128d115f640a72f658540262e1028038a9381 (patch) | |
| tree | c241ee7d75031bd4ff3ff7f96c76b4ec90fcb417 /tests | |
| parent | d8aba7c4ff10f8f5c3bab0adb46405cc221637bd (diff) | |
Fix transparent text in PNG export (#3444)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/font.png | bin | 18319 -> 20573 bytes | |||
| -rw-r--r-- | tests/typ/text/font.typ | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/ref/text/font.png b/tests/ref/text/font.png Binary files differindex d3893ce8..39c8a951 100644 --- a/tests/ref/text/font.png +++ b/tests/ref/text/font.png diff --git a/tests/typ/text/font.typ b/tests/typ/text/font.typ index 07d00d14..736ded41 100644 --- a/tests/typ/text/font.typ +++ b/tests/typ/text/font.typ @@ -30,6 +30,12 @@ Emoji: 🐪, 🌋, 🏞 This is #text(rgb("FA644B"))[way more] colorful. ] +// Transparency. +#block(fill: green)[ + #set text(fill: rgb("FF000080")) + This text is transparent. +] + // Disable font fallback beyond the user-specified list. // Without disabling, New Computer Modern Math would come to the rescue. #set text(font: ("PT Sans", "Twitter Color Emoji"), fallback: false) |
