summaryrefslogtreecommitdiff
path: root/pango/pangocairo-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-22 00:25:44 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-03-11 13:17:37 -0500
commit5ac7f03b8195d2d4d0c2893b1284029132a9af10 (patch)
tree3be270eaab349407e915d2e92c68100dcadb5c4f /pango/pangocairo-fontmap.c
parent94b84d6c2b7cd27d52f77162b3fc0d3e032a0ea8 (diff)
downloadpango-5ac7f03b8195d2d4d0c2893b1284029132a9af10.tar.gz
pangocairo: Tweak docs
Convert link syntax, and summaries.
Diffstat (limited to 'pango/pangocairo-fontmap.c')
-rw-r--r--pango/pangocairo-fontmap.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index 5f24ec93..5d5cc6f0 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -47,9 +47,10 @@ pango_cairo_font_map_default_init (PangoCairoFontMapIface *iface)
/**
* pango_cairo_font_map_new:
*
- * Creates a new `PangoCairoFontMap` object; a fontmap is used
- * to cache information about available fonts, and holds
- * certain global parameters such as the resolution.
+ * Creates a new `PangoCairoFontMap` object.
+ *
+ * A fontmap is used to cache information about available fonts,
+ * and holds certain global parameters such as the resolution.
* In most cases, you can use `func@font_map_get_default]
* instead.
*
@@ -225,7 +226,9 @@ pango_cairo_font_map_set_default (PangoCairoFontMap *fontmap)
* @dpi: the resolution in "dots per inch". (Physical inches aren't actually
* involved; the terminology is conventional.)
*
- * Sets the resolution for the fontmap. This is a scale factor between
+ * Sets the resolution for the fontmap.
+ *
+ * This is a scale factor between
* points specified in a `PangoFontDescription` and Cairo units. The
* default value is 96, meaning that a 10 point font will be 13
* units high. (10 * 96. / 72. = 13.3).
@@ -246,6 +249,7 @@ pango_cairo_font_map_set_resolution (PangoCairoFontMap *fontmap,
* @fontmap: a `PangoCairoFontMap`
*
* Gets the resolution for the fontmap.
+ *
* See [method@PangoCairo.FontMap.set_resolution].
*
* Return value: the resolution in "dots per inch"