| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We need space for G_MAXUINT and 4294967285 (in testattributes.c). On
i686, this requires long long, as long is only 32 bits wide.
|
|\
| |
| |
| |
| | |
fc: Drop a broken optimization
See merge request GNOME/pango!352
|
|/
|
|
|
|
|
|
|
| |
We were trying to cut short the wait for FcInit in
pango_fc_font_map_set_config. But there was a thinko:
while it is true that the fontmap which had set_config
called on it does not need to wait for FcInit anymore,
other threads fontmaps still do. Instead of making this
more complicated, just drop the optimization.
|
|\
| |
| |
| |
| |
| |
| | |
Clarify docs of pango_fc_fontmap_get_config
Closes #572
See merge request GNOME/pango!351
|
|/
|
|
|
|
|
| |
The return value is owned by Pango. transfer=none doesn't
really work for non-GObject types, so just spell it out.
Fixes: #572
|
|\
| |
| |
| |
| |
| |
| | |
tests: Be more careful about font formats
Closes #570
See merge request GNOME/pango!350
|
|/
|
|
|
|
|
| |
It turns out that we can still see non-scalable fonts
which report a list of sizes. Take that into account.
Fixes: #570
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
shape: Bring back careful rounding code
Closes #562
See merge request GNOME/pango!344
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we added the round-glyph-positions option in
c43da2d3 and b5634799, we lost some code that was careful
to round in device coordinates.
The reason we lost it is that the rounding needs fontconfig-
specific data that is only available in the backend, and the
rounding now happens in the frontend.
Bringing it back is annoying, since we've run out of vfunc
slots to get info from the backend. This commit works around
that limitation in a hacky way.
Fixes: #562
|
|\ \
| | |
| | |
| | |
| | | |
tests: Drop an unused include
See merge request GNOME/pango!348
|
|/ /
| |
| |
| | |
Now that we aren't using the M_ constants, drop math.h.
|
|\ \
| | |
| | |
| | |
| | | |
testmatrix.c: use G_SQRT2 insead of M_SQRT2
See merge request GNOME/pango!347
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Math implementations are platform dependent, and for
example msvc requires a define before enabling the
constants [1]
Use G_SQRT2 implementation which is independent instead.
[1] https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
|
|\ \
| |/
|/|
| |
| | |
Add better attribute test infrastructure
See merge request GNOME/pango!346
|
| |
| |
| |
| |
| | |
The api is deprecated, but it is very ugly to randomly
miss a few values here. Just add them.
|
| | |
|
| |
| |
| |
| | |
Exercise the list model apis, for coverage.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Check the previous change.
|
| |
| |
| |
| |
| | |
The expectation of version comparisons is that major
versions have to match exactly.
|
| | |
|
| |
| |
| |
| | |
These improve converage for misc PangoContext apis.
|
| |
| |
| |
| | |
These improve test coverage for some corner cases.
|
| | |
|
| |
| |
| |
| | |
Cover many more error cases.
|
| |
| |
| |
| | |
Better to enforce this.
|
| |
| |
| |
| |
| |
| | |
No point in having a few attributes handled in
the default case. Just split them all by the first
char.
|
| |
| |
| |
| | |
pango_markup_parser_new_internal can't really fail.
|
|/
|
|
|
|
|
| |
Add a way to deserialize a PangoAttrList from a string,
for less cumbersome tests.
And use it in testattributes.
|
|\
| |
| |
| |
| | |
Update script properties
See merge request GNOME/pango!345
|
| |
| |
| |
| |
| |
| |
| |
| | |
Our script properties table was last updated in the
Unicode 5.0 era. Add all the scripts up to Unicode 13.
For the properties, I used the same horizontal direction
as harfbuzz, and left the other properties at their
default values.
|
|/
|
|
| |
Harbuzz treats this script as RTL, so we should too.
|
|\
| |
| |
| |
| | |
Add another test for pango_attr_list_change
See merge request GNOME/pango!343
|
|/
|
|
|
| |
This tests that we handle more cases of overlapping
attributes properly.
|
|\
| |
| |
| |
| |
| |
| | |
Link to the CSS font-feature-settings docs for pango_attr_font_features_new
Closes #565
See merge request GNOME/pango!342
|
| | |
|
|/
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/pango/-/issues/565
|
|\
| |
| |
| |
| | |
subprojects: Use GLib main branch
See merge request GNOME/pango!341
|
|/
|
|
|
|
|
|
| |
GLib upstream has renamed its `master` branch to `main`.
See https://gitlab.gnome.org/GNOME/glib/-/issues/2348.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|\
| |
| |
| |
| | |
Use harfbuzz from the main branch
See merge request GNOME/pango!340
|
|/
|
|
| |
harfbuzz master got renamed to main.
|
|\
| |
| |
| |
| | |
docs: Link syntax fixes
See merge request GNOME/pango!339
|
|/
|
|
|
| |
Now that gi-docgen warns about link syntax errors,
we can find and fix them.
|
|\
| |
| |
| |
| | |
Explicitly preserve unlimited attributes
See merge request GNOME/pango!338
|
| |
| |
| |
| | |
Test the fix in the previous commit.
|