| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
These cover more of the corner cases fixed in the
previous commits.
|
|
|
|
|
|
|
|
|
|
| |
pango_layout_index_to_line_and_extents needs to
return a run rect even if the line has no non-empty
runs. Failing to do so was causing cursors at the
end of lines to have a height of 0 or 1, which is
not what we want.
Add a testcase.
|
|
|
|
|
|
| |
Now that we are using run extents for cursor positions,
the vertical extents aren't necessarily constant across
a line anymore. Adapt our assertions.
|
|
|
|
|
| |
Test the line end handling of
pango_layout_move_cursor_visually.
|
|
|
|
|
|
|
|
| |
Reimplement this function based on pango_layout_get_cursor_pos.
This is a bit less efficient, but it fixes cases where the old
implementation would get stuck.
Fixes: #587, #585, #157
|
|
|
|
| |
Some of these currently fail.
|
|
|
|
| |
Some of these currently fail.
|
| |
|
|
Also add some tests for bidi embedding levels.
|