[BUG] The function pango::LayoutLine::x_ranges
return a malformed value
#1563
Labels
bug
Something isn't working
pango::LayoutLine::x_ranges
return a malformed value
#1563
Bug description
Pango.LayoutLine.get_x_ranges
The Pango documentation states that the length of the
ranges
is2 * n_ranges
.Here,
FromGlibContainer::from_glib_full_num(ranges, n_ranges.assume_init() as _)
should beFromGlibContainer::from_glib_full_num(ranges, (2 * n_ranges.assume_init()) as _)
.The text was updated successfully, but these errors were encountered: