| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
These are not very reliable for things other than
marks, but even that is useful for debugging cluster
handling.
|
|\
| |
| |
| |
| | |
Try harder to disect clusters
See merge request GNOME/pango!450
|
| | |
|
| | |
|
| |
| |
| |
| | |
If we don't have them, just do the fallback.
|
| |
| |
| |
| |
| |
| | |
This variant of pango_glyph_string_index_to_x takes
log attrs so it does not have to compute them when
it needs them to determine grapheme boundaries.
|
|/
|
|
|
|
|
|
|
|
| |
We need to take into account whether the characters
we are counting are actually cursor positions, else
we are bound to look for more carets than the font
has available, sometimes.
This change would benefit from passing log attrs into
pango_glyph_string_index_to_x.
|
|\
| |
| |
| |
| | |
pango-view: Redo --annotate option
See merge request GNOME/pango!459
|
|/
|
|
|
| |
Parse the argument as a comma-separated list
of names. The old numeric arguments still work.
|
|\
| |
| |
| |
| | |
Add pango_layout_iter_get_run_baseline
See merge request GNOME/pango!458
|
| |
| |
| |
| |
| |
| | |
Use the new run baseline api to correct
the positioning of glyph extents and caret
positions.
|
|/
|
|
| |
This is useful information.
|
|\
| |
| |
| |
| | |
layout: Apply rise to cluster extents
See merge request GNOME/pango!457
|
| |
| |
| |
| |
| |
| | |
We can't currently position them correctly for
shifted runs. But at least we can get it right
for the runs on the baseline.
|
| |
| |
| |
| |
| | |
Don't overwrite caret position numbers with
different numbers.
|
| |
| |
| |
| | |
This has been broken all along. :(
|
|/ |
|
|\
| |
| |
| |
| | |
tests: Use introspection for attributes
See merge request GNOME/pango!456
|
| |
| |
| |
| | |
We want vertical carets to be really vertical.
|
| |
| |
| |
| |
| |
| | |
This really needs some more generic treatment.
Update affected test outputs.
|
|/
|
|
|
|
| |
Now that we have introspection helpers for
attributes, we can use them ourselves to make
this code less brittle.
|
|\
| |
| |
| |
| | |
fcfont: Cosmetics
See merge request GNOME/pango!455
|
| |
| |
| |
| | |
This broke the msvc build.
|
| | |
|
| | |
|
|/
|
|
| |
Remove a few duplicated lines and typos.
|
|\
| |
| |
| |
| | |
pango-view: Split caret positions and slopes
See merge request GNOME/pango!454
|
|/
|
|
| |
Still some bits left!
|
|\
| |
| |
| |
| | |
layout: Allocate a bit less
See merge request GNOME/pango!453
|
|/
|
|
|
| |
Instead of throwing away the log_widths array
for every run, keep it around and grow it as needed.
|
|\
| |
| |
| |
| | |
pango-view: Fix caret visualization
See merge request GNOME/pango!452
|
|/
|
|
| |
I was confusing char and byte offsets here.
|
|\
| |
| |
| |
| | |
Keep offsets for items
See merge request GNOME/pango!451
|
| |
| |
| |
| | |
There is more we can do here, but this is a start.
|
| |
| |
| |
| |
| |
| |
| | |
Print out the items num_chars and char_offset, so we
can check that the char_offset implementation works.
Update affected test outputs.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is very annoying that gtest will dump its
random seed into the output as soon as one calls
g_test_init(). This pollutes our generated output.
Work around that by deferring the g_test_init()
call until after we've dealt with generating
output.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a char_offset field to PangoItem, compute it as part of
itemization and update it when splitting items. Keeping this
number around cuts down on the amount of list and utf8 walking
we need to do later.
We have to do some extra shenanigans to preserve abi in the
face of pango's open-coded structs, so we introduce a
PangoItemPrivate type that is used internally. On 64bit,
PangoItem has a 4 byte whole, so we can keep the size of
PangoItemPrivate the same. No such luck on 32bit.
|
| |
| |
| |
| |
| |
| | |
Improve the itemization code to have all
variants take the same code paths, so we
can do fixups in one place.
|
| |
| |
| |
| | |
We're going to steal one bit for private purposes.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
renderer: Use ink rects for line lengths
Closes #139
See merge request GNOME/pango!448
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When rendering underlines and the like, we should use
ink extents, since the logical extents will get shortened
by kerning, which can be pretty noticable when underlining
individual glyphs, such as the T in To.
Fixes: #139
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Fix compiler warnings in CoreText code
See merge request GNOME/pango!449
|
| | | | |
|
| | | | |
|
|/ / / |
|
|\ \ \
| | |/
| |/|
| | |
| | | |
carets: Fix rect for negative slopes
See merge request GNOME/pango!447
|