summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-08 23:26:51 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-08 23:26:51 -0400
commit0e8967128275c2b4667650f8ebd70b1f0f07d9cf (patch)
tree3d3d037893f2c1d59ad7719b09ea4c9e6b2518e9 /pango/pango-layout.c
parentc4d138179443b49d817830c78ddcd1459cf5505f (diff)
downloadpango-0e8967128275c2b4667650f8ebd70b1f0f07d9cf.tar.gz
docs: Add one more dark mode image
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 2a3cb5a2..bf9be496 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -43,7 +43,10 @@
* `PangoLayout`. The following image shows adjustable parameters
* (on the left) and font metrics (on the right):
*
- * ![Pango Layout Parameters](layout.png)
+ * <picture>
+ * <source srcset="layout-dark.png" media="(prefers-color-scheme: dark)">
+ * <img alt="Pango Layout Parameters" src="layout-light.png">
+ * </picture>
*
* The following images demonstrate the effect of alignment and
* justification on the layout of text: