Documentation bug in pango_renderer_draw_layout
According to the doc comment, the y
parameter to pango_renderer_draw_layout
is the y coordinate of the baseline. However, since the baseline is subsequently added and both the pangocairo backend and the FT2 backend document the y
coordinate as being the top of the rendered text, I think there is an error in said comment. The comment should probably read as "Y position of top of the rendered text".