| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
Some overline fixups
See merge request GNOME/pango!155
|
| | |
|
| | |
|
| |
| |
| |
| | |
Test that new underline values work.
|
|/ |
|
|\
| |
| |
| |
| | |
Add a test for new font api
See merge request GNOME/pango!154
|
| |
| |
| |
| | |
This test exercises the new font enumeration apis.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Line-wide underlines
Closes #62
See merge request GNOME/pango!137
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Implement overlines in PangoRenderer.
This adds a new render part, and mirrors
the machinery we have for underlines and
strikethrough.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a new PangoOverline enum, and overline
and overline_color attributes, which parallel
the attributes we have for underlines and
strikethrough.
For now, the enum just has 'none' and 'single'
values.
|
| |
| |
| |
| |
| |
| | |
Average strikethrough position and thickness across
consecutive struckthrough runs. This gives an OK
result in common cases.
|
| |
| |
| |
| |
| |
| |
| | |
Handle these by using the lowest position across
a sequence of runs with the same underline.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/62
|
| | |
|
|/
|
|
|
|
| |
These will be used for 'line-wide' continuous underlines,
as opposed to the current values, wich are per-run and
jump up and down.
|
|\
| |
| |
| |
| | |
Family face api
See merge request GNOME/pango!135
|
| |
| |
| |
| |
| | |
Since we've run out of slots in PangoFontClass,
this is implemented with a vfunc in PangoFontMapClass.
|
| | |
|
| |
| |
| |
| | |
This lets us get a face by name.
|
| |
| |
| |
| | |
This lets us get a PangoFontFamily by name.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Add a small api
Closes #14
See merge request GNOME/pango!136
|
|/
|
|
|
|
|
| |
This lets callers access to resolved text direction
of a layout. GTK needs this.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/14
|
| |
|
|
|
|
| |
Our tests are using it.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
No shape attrs
Closes #426
See merge request GNOME/pango!153
|
| |
| |
| |
| | |
The change is a harmless change in attribute list ordering.
|
| |
| |
| |
| |
| |
| | |
Deal with the fact that underlines and strikethroughs
are not constant across items, since we do not break
runs for these properties.
|
| |
| |
| |
| |
| |
| |
| |
| | |
It doesn't make sense to apply kerning between letters
if they are not on the same baseline. This was not noticed
so far, since it is very uncommon to have a rise without
an accompanying font change, which will cause the run to
be broken.
|
| |
| |
| |
| |
| | |
We don't use ItemProperties in pango_layout_line_index_to_x
anymore, so no need to compute them either.
|
|/
|
|
|
|
|
|
|
| |
This is what we used to do, and without it, we
lose kerning beween underlined and non-underlined
characters, which is most noticable with mnemonic
underlines.
Fixes: https://gitlab.gnome.org/GNOME/pango/issues/426
|
|
|
|
|
| |
Apparently, people have fonts without formats,
so better don't assert, just silently skip those.
|
| |
|
|\
| |
| |
| |
| | |
emoji: Optimize tables
See merge request GNOME/pango!152
|
| |
| |
| |
| | |
This reverts commit 154c2db37bfecc2d1c4a09b975ab6972b63bc9a8.
|
| |
| |
| |
| |
| | |
One of the Emoji tables had many adjacent ranges.
Speed up our bsearch by merging them.
|
|\ \
| | |
| | |
| | |
| | | |
[coretext] make setting font gravity work
See merge request GNOME/pango!150
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Setting font gravity to anything other than PANGO_GRAVITY_SOUTH causes
no fonts to be matched on Core Text backend because the code for finding
best match checks for equal gravity between the requested font and the
fonts in the font set, and the later always have PANGO_GRAVITY_SOUTH.
Hack around this by copying the gravity from the requested font.
Can be tested with:
$ pango-view --gravity=east --rotate=-90 utils/test-chinese.txt
Currently without this change it gives:
(pango-view:2824): Pango-WARNING **: 10:59:18.683: couldn't load font "serif Rotated-Left 12", modified variant/weight/stretch as fallback, expect ugly output.
(pango-view:2824): Pango-ERROR **: 10:59:18.683: Could not load fallback font, bailing out.
Trace/BPT trap: 5
|
|\ \
| |/
|/|
| |
| |
| |
| | |
fc: Be robust against missing format information
Closes #431
See merge request GNOME/pango!151
|
|/
|
|
|
|
|
|
| |
Some people have been seeing this assertion getting
hit. So don't assert, simply skip fonts that don't
have format information.
Fixes: https://gitlab.gnome.org/GNOME/pango/issues/431
|
|\
| |
| |
| |
| | |
break: Don't determine types more than once
See merge request GNOME/pango!149
|
| |
| |
| |
| |
| |
| | |
We determined the category early on, don't
do the same work again later by calling
isdigit or isletter wrappers.
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Fixes harfbuzz codepoint cluster for hyphens.
Closes #429
See merge request GNOME/pango!148
|
|/ |
|
|\
| |
| |
| |
| | |
pangowin32tobmp: Fix typo.
See merge request GNOME/pango!147
|
|/ |
|