| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Adapt all users. This drops the alpha attributes
and alpha in markup, and adds alpha support to
underlines, overlines and strikethroughs.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This replaces and generalizes error underlines and
lets us draw squiggly strikethroughs and overlines.
|
| |
|
|
|
|
| |
Support single and double styles for strikethrough.
|
| |
|
|
|
|
| |
Make the 'low' positioning a separate attribute.
|
|
|
|
| |
Make them always behave like _LINE.
|
|
|
|
|
| |
Make pango_attr_{fore,back}ground_new take a PangoColor*.
Update all callers.
|
| |
|
| |
|
|
|
|
|
| |
This generalizes the behavior of PangoAttrIterator
wrt to merging attributes with overlapping ranges.
|
|
|
|
|
|
|
| |
Declare what part of the pipeline an attribute
affects as part of the type. This lets us handle
attribute filtering for that purpose in a generalized
fashion.
|
|
|
|
|
|
| |
Split pango-attributes.[hc] into separate files for
PangoAttribute, PangoAttrList, PangoAttrIterator, and
the predefined attribute types.
|
|
|
|
|
|
|
| |
Do away with PangoAttribute subclassing,
and turn the PangoAttribute struct into
a union. Redo custom attribute registration
to be more useful.
|
|
|
|
|
|
| |
Shape attributes don't fit well with the other
attributes, and user fonts are a better way of
doing custom glyphs.
|
|
|
|
|
| |
Pango names it PANGO_VERSION_CHECK not PANGO_CHECK_VERSION (like glib).
Fix the one incorrect mention in the documentation comment.
|
| |
|
| |
|
|
|
|
| |
If needed, this should be PangoFontFace api
|
|
|
|
| |
Move some things as private api into PangoFontFace.
|
| |
|
|
|
|
|
| |
This is a more-or-less direct adaptation of
the user-font test in cairo.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Add a way to create callback-based faces
and fonts. The cairo implementation of this
uses cairos user fonts.
New APIs: PangoUserFace and PangoUserFont
|
|
|
|
|
|
|
|
|
|
| |
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.
|