summaryrefslogtreecommitdiff
path: root/pango/mapping.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-20 17:18:51 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-20 17:18:51 +0000
commit3a2116e4bc00807b2b353fc953fcc92aa24c67ea (patch)
tree59e3025d6ff0d821f4bfbe2c83a2ddb153eebff9 /pango/mapping.c
parent63cd593c34fd384b21722f751c66ed48d722033d (diff)
downloadpango-3a2116e4bc00807b2b353fc953fcc92aa24c67ea.tar.gz
Some unit fixups (#96335)
Fri Dec 20 11:59:22 2002 Owen Taylor <otaylor@redhat.com> Some unit fixups (#96335) * pango/pango-layout.c pango/pango-mapping.c: Fix occurrences of "in thousandths of a device unit" to say "in #PangoGlyphUnit" which will give a link to the PangoGlyphUnit docs. * docs/tmpl/text-attributes.sgml: Change 1000 to PANGO_SCALE. * docs/tmpl/glyphs.sgml: Fix docs for PangoGlyphUnit, fix mention of value of PANGO_SCALE from 1000 to 1024. * pango/pango-layout.c (pango_layout_line_get_x_ranges): Fix the docs for @ranges so it doesn't sound like the coordinates are in pixels.
Diffstat (limited to 'pango/mapping.c')
-rw-r--r--pango/mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/mapping.c b/pango/mapping.c
index 46e45ac8..f25dd9aa 100644
--- a/pango/mapping.c
+++ b/pango/mapping.c
@@ -159,7 +159,7 @@ pango_glyph_string_index_to_x (PangoGlyphString *glyphs,
* @text: the text for the run
* @length: the number of bytes (not characters) in text.
* @analysis: the analysis information return from pango_itemize()
- * @x_pos: the x offset (in thousands of a device unit)
+ * @x_pos: the x offset (in #PangoGlyphUnit)
* @index_: location to store calculated byte index within @text
* @trailing: location to store a integer indicating where
* whether the user clicked on the leading or trailing