| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
| |
Clarify that the default features of the
rendering system are not included.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add a pango_font_covers function, which is like
pango_shape_engine_covers, without the engine.
This api is simpler than PangoCoverage in that
it does not take a language as input, and only
returns a boolean.
This matches the harfbuzz api.
|
|
|
|
| |
Add a getter for the line height of a font.
|
|
|
|
|
|
|
| |
Abolish the PANGO_ENABLE_BACKEND and PANGO_ENABLE_ENGINE
defines. All backend-only apis are moved into private
headers, all apis that were engine-only are marked as
deprecated, since engines are.
|
| |
|
|
|
|
|
| |
pango_font_family_is_variable() return whether a font
family supports font variations.
|
|
|
|
|
|
|
|
| |
This commit lets PangoFontDescription carry font variation
information as a string. Only pangocairo has been updated
to make use of this information. We pass it to harfbuzz
for shaping, and we pass it to cairo when creating scaled
fonts.
|
|
|
|
|
|
|
| |
Arrays can never be NULL, and doing unnecessary checking causes
compilers to show warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=783428
|
|
|
|
|
|
|
|
| |
It seems that it is possible for compilers to use unsigned interger
types to store enum values, so we should cast them to signed interger
types before doing calculation to avoid getting unexpected results.
https://bugzilla.gnome.org/show_bug.cgi?id=783428
|
|
|
|
|
|
|
|
|
| |
This should fix a few scanner warnings, but this is not an attempt to
fix them all.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=778663
|