| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
It should work there, but it doesn't.
|
|
|
|
| |
This makes more sense.
|
|
|
|
|
|
|
| |
Our new, more precise font checks rely on
data from fontconfig to identify fonts
uniquely. So make sure that we use a custom
fc fontmap, if we have one.
|
|
|
|
|
|
|
|
| |
Otherwise editing the output in an editor
is likely to make the data not match anymore,
since most editors will add a final newline.
Update all tests
|
|
|
|
|
|
|
|
|
| |
Add Cantarell, DejaVu Sans and a subset of Noto Color Emoji
to git, and make test-layout use just those fonts. This
should help with keeping the ci from breaking due to different
system fonts.
Update tests.
|
|
|
|
| |
Not used anymore.
|
| |
|
|
|
|
|
|
|
| |
Another debug api. This function produces a serialization
of a font that is enough to uniquely identify the font.
This is more detailed than what pango_font_describe
creates.
|
|
|
|
|
| |
These were produced with the help of
http://gitlab.gnome.org/matthiasc/layout-editor
|
|
|
|
|
|
| |
Json doesn't have comments, so we have to add
an explicit comment value. This will be useful
to describe what test cases are about.
|
|
|
|
|
|
| |
Use the new output serialization in test-layout
to store both the input and output in the same
file.
|
|
|
|
|
|
|
| |
If requested, serialize lines, runs, and log attrs.
This will let us use the serialization format to
record not just the test inputs, but outputs as
well.
|
|
|
|
|
|
| |
Add some private api for the serializer to get
the font matrix. This is needed to let the serializer
write a unique fingerprint for the font.
|
|
|
|
|
| |
This lets us transfer things like base gravity
from layout-editor to pango-view.
|
| |
|
|
|
|
| |
Avoid writing out empty attributes or tabs.
|
|
|
|
|
|
|
|
|
| |
Optionally include context information in the
serialization and restore it. This will be useful
for transporting for giving tests complete data
that affects their output.
Some tests included.
|
|
|
|
|
|
|
| |
This gives us some room to add more things
to these apis, e.g. a way to store not just
the input part of a layout, but also the
output.
|
| |
|
|
|
|
|
| |
They are produced by deserialization,
so call them that.
|
| |
|
|
|
|
|
| |
Make space actually show up as visible space
when we want that.
|
|\
| |
| |
| |
| | |
Fix a case of unintended hyphenation
See merge request GNOME/pango!519
|
| |
| |
| |
| |
| |
| |
| | |
When handling items that fix completely,
we were not consistently taking extra width
into account, leading to hyphens sticking
out in some cases.
|
| |
| |
| |
| |
| |
| |
| | |
When looking at scripts, we want to look
at the script of the *previous* character.
And then we need to exclude SHY from the
common script.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we take a complete item because there are
no breakpoints, we were inserting a hyphen at
the end even though there may not be a breakpoint
there, and ending up with a hyphen in the middle
of an (overlong) line: Brat-wurst.
Test included.
This but was discovered with the help of
http://gitlab.gnome.org/matthiasc/layout-editor
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Don't replace | with hyphens
Closes #630
See merge request GNOME/pango!516
|
| |
| |
| |
| |
| |
| | |
I don't know why it started to fail, and am
not in a position to debug it. So, let it fail,
like we already do with the testsuite :(
|
| |
| |
| |
| | |
That is what we have in ci.
|
| |
| |
| |
| |
| | |
I hope this will give some insight into what is
happening in ci builds.
|
|/
|
|
|
|
|
|
|
|
|
| |
I went a bit overboard in #603. The vertical bar
is too common, and this usage to specialized to
do it by default. To enable this, we should rather
make log attrs tweakable.
We still replace hyphenation points with hyphens.
Fixes: #630
|
|\
| |
| |
| |
| | |
Tweak word and sentence attributes
See merge request GNOME/pango!515
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
You can now do
pango-view --serialized file
All layout-related options will be overwritten by the
serialized data. Other options can still be used.
|
| | |
|
|/
|
|
|
|
| |
The value does not really matter for these,
but it looks more natural if they have a
value of 1, and not 0.
|
|\
| |
| |
| |
| | |
Add layout serialization api
See merge request GNOME/pango!513
|
| |
| |
| |
| | |
This is necessary for ci on MacOs to build.
|
| |
| |
| |
| |
| | |
Also suppress pango_language_from_string and
GLib thread creation.
|
| |
| |
| |
| |
| | |
Now that we have this api, lets use it for
our tests.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add api to serialize PangoLayout, for the benefit
of testing and debugging. Currently, this uses
json, but that is an implementation detail.
Some tests included.
|
|/
|
|
| |
This is needed now for the serialization code.
|
|\
| |
| |
| |
| | |
Neuter g_debug in line-breaking
See merge request GNOME/pango!514
|
|/
|
|
|
|
| |
This code gets run for gtks size-allocation,
and we don't want it to be any slower than it
has to be, when not debugging it.
|
|\
| |
| |
| |
| | |
Add pango_attr_list_to/from_string
See merge request GNOME/pango!512
|
| | |
|
| | |
|
| |
| |
| |
| | |
Update affected test outputs.
|
|/
|
|
|
|
| |
Add an api to serialize PangoAttrList.
This will be useful in testing and debugging.
|
|\
| |
| |
| |
| | |
Rewrite process_item
See merge request GNOME/pango!509
|