| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Annotations are picky about :
|
| |
|
|
|
|
|
|
|
|
| |
Make pango_font_get_scale_factors return 1
if the font is NULL. This avoids crashes
in situations where we cannot find any fonts.
Fixes: #701
|
|
|
|
|
| |
Add :item-type and :n-items properties, which
make the list model implementation more useful.
|
|
|
|
| |
Just use g_object_ref/unref.
|
| |
|
| |
|
|
|
|
|
| |
Face names are not actually guaranteed to be unique,
so don't say that.
|
| |
|
|
|
|
|
|
|
|
| |
Add a private vfunc to get the (absolute) size
of a font. This default implementation just
pulls it out of the font description, but we
can do implement this cheaper without copying
the font description.
|
|
|
|
| |
Add doc comments for some private API.
|
|
|
|
|
| |
Add more links to GLib apis and to various
Unicode specs.
|
| |
|
|
|
|
|
|
|
|
| |
When setting variations to "", font descriptions
would add an ugly useless " @" at the end of their
serialization. Avoid that.
Test included.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add the new variant values to the docs.
|
|
|
|
|
| |
Add values for all the css casing variants to
the PangoVariant enum.
|
|
|
|
| |
Also drops the null-terminated doc comment as gi-docgen shows that already
if the function is annotated properly
|
|
|
|
| |
Add default implementations for is_monospace and is_variable.
|
|
|
|
|
| |
Now that we have a private class, we can retire
the misplaced vfunc in the fontmap class.
|
| |
|
|
|
|
|
| |
Add some more detail around baseline-to-baseline
distances.
|
|
|
|
|
|
| |
Add private api to get the necessary information from
the font backend, and drop the hack that was added in
d4356779945855f7cc.
|
|
|
|
|
|
| |
Start using private vfuncs for PangoFont, and use it
to replace the recently introduced pango_fc_font_get_languages
with a frontend api.
|
|
|
|
|
| |
Now that gi-docgen warns about link syntax errors,
we can find and fix them.
|
|
|
|
|
| |
Remove leftovers like #Type, reduce indentations
to avoid markdown block quotes, etc.
|
|
|
|
|
| |
The allow-none annotation has been deprecated for a long
time already. Instead use optional and nullable everywhere.
|
|
|
|
| |
All these were pointed out by gi-docgen warnings.
|
|
|
|
| |
Give doc comments summaries, etc.
|
|
|
|
| |
Replace gtk-doc'isms and use gi-docgen links instead.
|
| |
|
|
|
|
|
| |
We want to use pure markdown, since docbook
is going away as the intermediate format.
|
|
|
|
|
| |
Doing this makes g-ir-scanner pick up the long description,
which is more useful than the struct docs.
|
|
|
|
|
|
|
|
| |
The docs were claiming that face names are unique,
but we don't know that, and it doesn't hold in
practice.
Fixes: #528
|
|
|
|
|
| |
As pointed out in #495, we were assigning
logical_rect->y twice in a row here. Once is enough.
|
|
|
|
| |
In arguments are nullable; out arguments are optional.
|
|
|
|
|
|
|
| |
- Clarify that the function can return NULL
- Fix annotations
- Allow passing NULL as name to get a guaranteed default face.
- Map the default name to "Regular" in the FC backend
|
|
|
|
|
|
|
| |
Make a PangoFontFamily a list model which
contains the faces of the family.
The current implementation is not optimized.
|
|
|
|
|
| |
Since we've run out of slots in PangoFontClass,
this is implemented with a vfunc in PangoFontMapClass.
|
| |
|
|
|
|
| |
This lets us get a face by name.
|
|
|
|
|
| |
Explain variation syntax and allowed values for
other components of pango_font_description_from_string().
|
|
|
|
|
| |
Since Harfbuzz does not generate introspection data, we cannot use it
for our introspected ABI.
|
|\
| |
| |
| |
| | |
Kill shape engines
See merge request GNOME/pango!75
|
| |
| |
| |
| |
| | |
Deprecate pango_font_find_shaper, make it return
NULL, and remove the find_shaper vfunc.
|
| | |
|
|/
|
|
|
|
| |
It makes more sense to do this in the frontend
that hands the objects out, rather than in each
backend implementation.
|
|
|
|
|
| |
Add pango_font_get_hb_font, which will make it easier
access harfbuzz features.
|
| |
|
|
|
|
|
| |
We already had a has_char api in pangofc,
so use that name.
|