diff options
-rw-r--r-- | pango/glyphstring.c | 4 | ||||
-rw-r--r-- | pango/pango-layout.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pango/glyphstring.c b/pango/glyphstring.c index 2e1300d6..d8e4dd31 100644 --- a/pango/glyphstring.c +++ b/pango/glyphstring.c @@ -374,8 +374,8 @@ pango_glyph_string_get_logical_widths (PangoGlyphString *glyphs, * @length: the number of bytes (not characters) in @text. * @analysis: the analysis information return from pango_itemize() * @index_: the byte index within @text - * @trailing: whether we should compute the result for the beginning - * or end of the character. + * @trailing: whether we should compute the result for the beginning (%FALSE) + * or end (%TRUE) of the character. * @x_pos: location to store result * * Converts from character position to x position. (X position diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 858ec3d6..ed982760 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -1338,8 +1338,8 @@ pango_layout_get_line_readonly (PangoLayout *layout, * @line: a #PangoLayoutLine * @index_: byte offset of a grapheme within the layout * @trailing: an integer indicating the edge of the grapheme to retrieve - * the position of. If 0, the trailing edge of the grapheme, - * if > 0, the leading of the grapheme. + * the position of. If > 0, the trailing edge of the grapheme, + * if 0, the leading of the grapheme. * @x_pos: location to store the x_offset (in #PangoGlyphUnit) * * Converts an index within a line to a X position. |