| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Based on a patch by Matijs van Zuijlen <matijs@matijs.net>.
Closes https://gitlab.gnome.org/GNOME/pango/issues/259
|
|
|
|
|
|
|
| |
Don't run off the end of an array that we
allocated to certain length.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/342
|
|\
| |
| |
| |
| | |
itemize: Don't change font for line separator
See merge request GNOME/pango!71
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If we render this (in single-paragraph mode), we
draw a hex box, so changing font just for the line
separator is never useful, and in fact, counterproductive
in cases where the font has a (typically empty) glyph
for it.
This fixes the [LS] or [PS] hex boxes not showing up
in single-paragraph mode depending on font fallback.
|
|\ \
| | |
| | |
| | |
| | | |
Move fontconfig
See merge request GNOME/pango!77
|
| | |
| | |
| | |
| | |
| | | |
Move the fontconfig+harfbuzz using parts to libpango,
since we want to start using harfbuzz on all platforms.
|
| | |
| | |
| | |
| | |
| | | |
Only link libpangoxft and libpangocairo
against xft and cairo.
|
| | |
| | |
| | |
| | | |
Same here.
|
|/ /
| |
| |
| | |
Some tests were not having the right dependencies.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Seems that the testsuite fails without any.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Remove lang engine use
See merge request GNOME/pango!73
|
| | |
| | |
| | |
| | |
| | | |
Drop all internal use of language engines.
The lang_engine field in PangoAnalysis is now unused.
|
| |/
| |
| |
| | |
No need to go through the engine api anymore.
|
|\ \
| | |
| | |
| | |
| | | |
Soft hyphen cleanup
See merge request GNOME/pango!72
|
| | |
| | |
| | |
| | |
| | |
| | | |
test-break was using the is_soft_hyphen log attr
that we've just removed again. Adapt, and update
expected test output.
|
| | |
| | |
| | |
| | | |
This reverts commit 50b1e8532c5211cebd3cea935f9ac91a087d5c35.
|
| | |
| | |
| | |
| | |
| | | |
Instead, look at the pre- and post-break
text to figure out what is needed.
|
| |/
| |
| |
| | |
Move things into some helper functions.
|
|/
|
|
|
|
|
|
| |
This is similar to test-break in that it produces
useful output for understanding itemization.
Non testcases for now. One issue is that this,
like so many other tests is font-dependent.
|
| |
|
|
|
|
| |
This alternative is not useful.
|
|
|
|
| |
This one is taken from #218.
|
| |
|
|
|
|
| |
This is useful for documenting tests.
|
|\
| |
| |
| |
| | |
Make the break test actually test things
See merge request GNOME/pango!70
|
|/
|
|
|
| |
We were not diffing the output against the
expected results.
|
|\
| |
| |
| |
| | |
Soft hyphen
See merge request GNOME/pango!68
|
| |
| |
| |
| |
| | |
When we take a break at a soft hyphen, insert
a visible hyphen.
|
| |
| |
| |
| | |
This is useful for exploring line breaking.
|
| |
| |
| |
| |
| |
| | |
Use a bit in PangoLogAttr to mark line breaks
that are due to soft hyphens; we want to insert
hyphens here later, if the break is taken.
|
|\ \
| |/
|/|
| |
| | |
Don't render hex boxes for space
See merge request GNOME/pango!67
|
| |
| |
| |
| |
| | |
We are not rendering hex boxes for missing spaces,
so we don't need to give them the hex box width.
|
|/
|
|
|
|
| |
Even if a font has no space glyph, we don't want
to render a hex box for it, since just rendering
nothing does a decent approximation of space.
|
|
|
|
| |
This functionality is used in PackageKit.
|
|\
| |
| |
| |
| |
| |
| | |
Make installed tests optional
Closes #354
See merge request GNOME/pango!66
|
| |
| |
| |
| | |
We need a Unicode locale.
|
| |
| |
| |
| | |
Hard to find out what is going wrong, otherwise.
|
|/
|
|
| |
Closes: https://gitlab.gnome.org/GNOME/pango/issues/354
|
| |
|
|
|
|
|
|
| |
gravity='auto' is not a valid value here.
Closes: https://gitlab.gnome.org/GNOME/pango/issues/203
|
| |
|
|\
| |
| |
| |
| | |
Support line height
See merge request GNOME/pango!64
|
| |
| |
| |
| | |
Make a new image for layout parameters.
|
| |
| |
| |
| | |
Add a way to try pango_layout_set_line_spacing().
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If line-spacing is set to a non-zero value,
we place lines so that
baseline2 = baseline1 + line-spacing * height2
where height2 is the line height of the
second line. In this case, we ignore
spacing.
If line-spacing is set to zero, spacing
is applied as before.
|
| |
| |
| |
| | |
Add a getter for the line height of a layout line.
|