summaryrefslogtreecommitdiff
path: root/docs/pango_rendering.md
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-08 16:22:58 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-08 16:31:23 -0400
commitb674819929ce158005130d22fe89d9c5e22a55bc (patch)
treeb456525e4a7c2d39be9b1da0ec9723536ecc1aea /docs/pango_rendering.md
parentcb27301a0ed591de6fe2121b0451e8f8e1226576 (diff)
downloadpango-b674819929ce158005130d22fe89d9c5e22a55bc.tar.gz
docs: Add a dark mode variant of some images
Diffstat (limited to 'docs/pango_rendering.md')
-rw-r--r--docs/pango_rendering.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/pango_rendering.md b/docs/pango_rendering.md
index 2fd61e93..9dfddd55 100644
--- a/docs/pango_rendering.md
+++ b/docs/pango_rendering.md
@@ -8,7 +8,10 @@ The Pango rendering pipeline takes a string of Unicode characters, converts them
it into glyphs, and renders them on some output medium. This section describes the
various stages of this pipeline and the APIs that implement them.
-![Pango Rendering Pipeline](pipeline.png)
+<picture>
+ <source srcset="pipeline-dark.png" media="(prefers-color-scheme: dark)">
+ <img alt="Pango Rendering Pipeline" src="pipeline-light.png">
+</picture>
Itemization
: breaks a piece of text into segments with consistent direction and shaping