| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The faceid in the serialized font description would
make the test output backend-dependent, so leave it
out for now. This makes
PANGOCAIRO_BACKEND=fc2 ./test-itemize
succeed.
|
|
|
|
|
|
| |
This has not been seriously tested, but it compiles
in ci, and produces a reasonably-looking font list
and test png.
|
|
|
|
|
|
|
|
|
| |
The serializer has its own checksum to guarantee
font matches, and including the faceid in serialized
font descriptions would make the serialization
backend-dependent.
We can add it later when all our fontmaps are hb.
|
|
|
|
|
|
|
| |
Include index and instance_id in the output
when serializing fonts.
Update all affected tests.
|
|
|
|
| |
Make PANGOCAIRO_BACKEND=fontconfig2 or fc2 work.
|
|
|
|
|
| |
Add an '@' to the face name for variable faces.
And various other improvements.
|
|
|
|
| |
This is experimental to see how far we can take this.
|
| |
|
|
|
|
|
|
|
|
|
| |
This is a new fontmap implementation that works by
populating a PangoHbFontMap from fontconfig data. It
relies on the base class to provide caching and lookups.
In contrast to the existing fontconfig fontmap, this
does not include every font in every fontset.
|
|
|
|
|
| |
This is an implementation of PangoLanguageSet
that is wrapping FcLangSet.
|
|
|
|
| |
Basic rendering is working fine with this.
|
|
|
|
|
| |
Add dedicated tests for various aspects of
PangoHbFont and PangoHbFace functionality.
|
|
|
|
|
|
|
|
|
|
|
| |
This is a fontmap implementation for use with PangoHbFont,
which lets you add individual faces. It handles caching
and lookups and is designed to let subclasses simply provide
a populate vfunc.
Note that the load_fontset implementation here is similar in
style to the one we have in PangoFontMap: for each family
in the font description, pick the best matching face.
|
|
|
|
|
|
|
|
| |
This is a simple wrapper around hb_font_t.
This is an attempt to make a font backend that does
not depend on platform specifics and can be used in
tests.
|
|
|
|
|
| |
This is a PangoFontFamily implementation that will
act as a union of other families.
|
|
|
|
|
| |
This is a straightforward implementation of
PangoFontFamily for use with PangoHbFace.
|
|
|
|
|
|
|
|
| |
PangoHbFace is a simple wrapper around hb_face_t.
This is an attempt to make a font backend that does
not depend on platform specifics and can be used in
tests.
|
|
|
|
|
|
| |
PangoLanguageSet is an internal type used to
represent languages that are supported by a
font, similar to FcLangSet.
|
|
|
|
|
|
|
|
|
|
| |
The faceid will be used in future commits
to improve font -> description -> font roundtrip
accuracy.
Update affected tests.
Minimal test included.
|
|
|
|
|
|
|
|
| |
Add pango_font_face_supports_language and pango_font_face_get_languages.
There is no particular reason to tie language information to fonts
instead of faces. This will be useful for the font chooser.
Update the fontconfig implementation for these changes.
|
|
|
|
|
|
|
|
|
|
| |
These are really properties of the individual
faces, not the family.
The default implementations of these functions
simply return the corresponding family value.
Add some tests for the new api.
|
|
|
|
|
|
| |
pango_font_description_better_match is not
the greatest api to sort fonts, export the
distance function for use in PangoHbFamily.
|
|
|
|
|
| |
Add private API to create a PangoCoverage object
from a hb_face_t. This will be used in future commits.
|
|
|
|
| |
So far, this was only compiled into libpangoft2.so.
|
|
|
|
|
|
| |
This will be used in future commits for
making types that can be internally derived
without exposing them to 3rd parties.
|
|
|
|
| |
This is the right api to use here.
|
|
|
|
| |
This was a missing wrapper for an existing vfunc.
|
| |
|
|\
| |
| |
| |
| | |
Quiet down break tests
See merge request GNOME/pango!582
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The output from the testboundaries tests just
overwhelms the test reports and makes it hard
to find the actual problems. Stop that.
You can still get the noise, by passing --verbose
to the tests.
|
|/ |
|
|\
| |
| |
| |
| | |
Fix allow_breaks handling
See merge request GNOME/pango!581
|
|/
|
|
|
|
|
|
|
| |
handling of segmentation attributes can introduce
line breaks, after we removed them in allow_breaks
handling. Change the order to handle allow_breaks
last, so this doesn't happen.
Update affected tests.
|
|\
| |
| |
| |
| |
| |
| | |
Fix a g_ascii_formatd call
Closes #659
See merge request GNOME/pango!580
|
|/
|
|
|
|
|
|
|
|
|
| |
We were passing a format specifier that starts
with ' ', which some implementations of that API
don't like.
This change removes an extraneous space from the
output. Update affected tests.
Fixes: #659
|
|\
| |
| |
| |
| |
| |
| | |
Check for fontmaps
Closes #658
See merge request GNOME/pango!578
|
| |
| |
| |
| |
| |
| |
| | |
To avoid trivialities, check that our context
has a fontmap, at a strategic place.
Fixes: #658
|
|/ |
|
|\
| |
| |
| |
| | |
Drop uses of pango_coverage_ref/unref
See merge request GNOME/pango!577
|
| |
| |
| |
| | |
These are just wrappers of g_object_ref/unref.
|
| |
| |
| |
| | |
Just use g_object_ref/unref.
|
|/ |
|
|\
| |
| |
| |
| | |
Matthiasc/for main
See merge request GNOME/pango!576
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Clarify pango_attr_list_splice docs
Closes #653
See merge request GNOME/pango!574
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If gap is zero, don't limit the inserted attributes;
that does not make sense. Spell out the different
use cases in the docs.
Testcase included.
Fixes: #653
|
| |
| |
| |
| |
| | |
Make it explicit that the spliced-in attributes
are limited to the the 'gap'.
|
|\ \
| |/
|/|
| |
| | |
g-i: add since annotations to enum members
See merge request GNOME/pango!575
|