summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-22 22:07:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-22 22:07:50 -0400
commit698c24350095b0ec31fa9dc60507a36cd5524328 (patch)
treeab8c2876b7473208affea7cf98aee5541bd4c9a0 /pango
parentea1676954fe8a0d4701f77f51b3e9636be2a85f5 (diff)
downloadpango-698c24350095b0ec31fa9dc60507a36cd5524328.tar.gz
docs: Add another illustrationdoc-font-metrics
Show font metrics.
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-font.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 498338b2..e7272e3e 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -52,6 +52,14 @@ typedef struct _PangoFontDescription PangoFontDescription;
* to a script. The fields of this structure are private to implementations
* of a font backend. See the documentation of the corresponding getters
* for documentation of their meaning.
+ *
+ * For an overview of the most important metrics, see:
+ *
+ * <picture>
+ * <source srcset="fontmetrics-dark.png" media="(prefers-color-scheme: dark)">
+ * <img alt="Font metrics" src="fontmetrics-light.png">
+ * </picture>
+
*/
typedef struct _PangoFontMetrics PangoFontMetrics;