Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid a dead assignment | Matthias Clasen | 2020-08-18 | 1 | -1/+1 |
| | | | | | As pointed out in #495, we were assigning logical_rect->y twice in a row here. Once is enough. | ||||
* | Fix annotation | Emmanuele Bassi | 2020-06-08 | 1 | -1/+1 |
| | | | | In arguments are nullable; out arguments are optional. | ||||
* | family: Clarify and improve pango_font_family_get_face() | Benjamin Otte | 2019-12-08 | 1 | -6/+16 |
| | | | | | | | - 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 | ||||
* | family: Implement GListModel | Matthias Clasen | 2019-12-04 | 1 | -1/+50 |
| | | | | | | | Make a PangoFontFamily a list model which contains the faces of the family. The current implementation is not optimized. | ||||
* | Add pango_font_get_face | Matthias Clasen | 2019-10-31 | 1 | -0/+18 |
| | | | | | Since we've run out of slots in PangoFontClass, this is implemented with a vfunc in PangoFontMapClass. | ||||
* | Add pango_font_face_get_family | Matthias Clasen | 2019-10-31 | 1 | -0/+19 |
| | |||||
* | Add pango_font_family_get_face | Matthias Clasen | 2019-10-31 | 1 | -0/+50 |
| | | | | This lets us get a face by name. | ||||
* | Add detail to docs | Matthias Clasen | 2019-08-04 | 1 | -11/+41 |
| | | | | | Explain variation syntax and allowed values for other components of pango_font_description_from_string(). | ||||
* | Skip Harfbuzz type getter | Emmanuele Bassi | 2019-08-02 | 1 | -1/+1 |
| | | | | | Since Harfbuzz does not generate introspection data, we cannot use it for our introspected ABI. | ||||
* | Merge branch 'wip/kill-shape-engine' into 'master' | Matthias Clasen | 2019-07-18 | 1 | -8/+2 |
|\ | | | | | | | | | Kill shape engines See merge request GNOME/pango!75 | ||||
| * | Deprecate pango_font_find_shaper | Matthias Clasen | 2019-07-18 | 1 | -8/+2 |
| | | | | | | | | | | Deprecate pango_font_find_shaper, make it return NULL, and remove the find_shaper vfunc. | ||||
* | | Expand docs for pango_font_get_hb_font | Matthias Clasen | 2019-07-18 | 1 | -0/+4 |
| | | |||||
* | | Make hb fonts immutable in the frontend | Matthias Clasen | 2019-07-18 | 1 | -0/+2 |
|/ | | | | | | It makes more sense to do this in the frontend that hands the objects out, rather than in each backend implementation. | ||||
* | Add api to get a hb_font_t | Matthias Clasen | 2019-07-18 | 1 | -1/+45 |
| | | | | | Add pango_font_get_hb_font, which will make it easier access harfbuzz features. | ||||
* | Some more doc tweaks | Matthias Clasen | 2019-07-14 | 1 | -1/+1 |
| | |||||
* | Rename pango_font_covers | Matthias Clasen | 2019-07-12 | 1 | -3/+3 |
| | | | | | We already had a has_char api in pangofc, so use that name. | ||||
* | Better docs for pango_font_get_features | Matthias Clasen | 2019-07-12 | 1 | -3/+5 |
| | | | | | Clarify that the default features of the rendering system are not included. | ||||
* | Add an api to get features of a font | Matthias Clasen | 2019-07-11 | 1 | -0/+24 |
| | |||||
* | Add pango_font_covers | Matthias Clasen | 2019-07-11 | 1 | -0/+21 |
| | | | | | | | | | | | 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 line height to font metrics | Matthias Clasen | 2019-07-05 | 1 | -0/+23 |
| | | | | Add a getter for the line height of a font. | ||||
* | Header cleanup | Matthias Clasen | 2019-07-04 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | docs: out parameters which are enums are not caller-allocatable | Rico Tzschichholz | 2019-04-04 | 1 | -4/+4 |
| | |||||
* | Add a variable family API | Matthias Clasen | 2018-11-19 | 1 | -0/+22 |
| | | | | | pango_font_family_is_variable() return whether a font family supports font variations. | ||||
* | Add initial support for OpenType font variations | Matthias Clasen | 2018-01-03 | 1 | -10/+162 |
| | | | | | | | | 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. | ||||
* | Don't check array for NULL | Ting-Wei Lan | 2017-07-18 | 1 | -1/+1 |
| | | | | | | | Arrays can never be NULL, and doing unnecessary checking causes compilers to show warnings. https://bugzilla.gnome.org/show_bug.cgi?id=783428 | ||||
* | Cast enum to int before doing calculation | Ting-Wei Lan | 2017-07-18 | 1 | -2/+2 |
| | | | | | | | | 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 | ||||
* | docs: Add a few missing (transfer) annotations | Philip Withnall | 2017-04-08 | 1 | -1/+1 |
| | | | | | | | | | 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 | ||||
* | Minor documentation update | Matthias Clasen | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | Fix warnings if font is not found | Behdad Esfahbod | 2015-04-10 | 1 | -1/+2 |
| | |||||
* | Add many missing nullability annotations. | Evan Nemerson | 2014-10-16 | 1 | -23/+26 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=731022 | ||||
* | Add PANGO_WEIGHT_SEMILIGHT | Behdad Esfahbod | 2014-07-25 | 1 | -0/+2 |
| | | | | Part of Bug 733764 - Support more / free font weights | ||||
* | Bug 685167 - migrate docs to no-tmpl flavour | Behdad Esfahbod | 2013-09-27 | 1 | -0/+13 |
| | | | | Patch from Rafał Mużyło. | ||||
* | Bug 708432 - gravity_map in fonts.c: "Upside-Down" should be | Behdad Esfahbod | 2013-09-20 | 1 | -1/+1 |
| | | | | PANGO_GRAVITY_NORTH instead of PANGO_GRAVITY_SOUTH? | ||||
* | introspection: assorted fixes to avoid regressions in Vala bindings | Evan Nemerson | 2012-08-12 | 1 | -7/+13 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=681423 | ||||
* | Fix transfer annotation for pango_font_family_list_faces | Pavel Holejsovsky | 2012-06-04 | 1 | -3/+4 |
| | | | | | | | | The documentation says 'This array should be freed with g_free() when it is no longer needed', which really translates to (transfer container) in introspection annotation jargon. https://bugzilla.gnome.org/show_bug.cgi?id=677407 | ||||
* | Stop using G_CONST_RETURN in Pango | Ryan Lortie | 2011-06-09 | 1 | -3/+3 |
| | | | | | | | G_CONST_RETURN is headed for deprecation (as per bug #644611). Stop using it in Pango. https://bugzilla.gnome.org/show_bug.cgi?id=652202 | ||||
* | Fixed (transfer none) introspection annotation for the return value in ↵ | Alberto Ruiz | 2011-04-25 | 1 | -1/+2 |
| | | | | pango_font_get_font_map | ||||
* | adding allow-none introspection metadata to pango_font_description_merge ↵ | Alberto Ruiz | 2011-04-25 | 1 | -1/+1 |
| | | | | parameters | ||||
* | adding allow-none introspection metadata to ↵ | Alberto Ruiz | 2011-04-25 | 1 | -1/+1 |
| | | | | pango_font_description_better_match parameters | ||||
* | adding allow-none introspection metadata to pango_font_get_metrics parameters | Alberto Ruiz | 2011-04-25 | 1 | -3/+2 |
| | |||||
* | fixing metadata typo in pango_font_get_glypth_extents | Alberto Ruiz | 2011-04-25 | 1 | -1/+1 |
| | |||||
* | adding output parameters introspection metadata to pango_font_get_glypth_extents | Alberto Ruiz | 2011-04-25 | 1 | -2/+2 |
| | |||||
* | adding allow-none introspection metadata to pango_font_get_glypth_extents ↵ | Alberto Ruiz | 2011-04-25 | 1 | -4/+4 |
| | | | | parameters | ||||
* | adding transfer ownership introspection metadata to pango_font_descriptions_free | Alberto Ruiz | 2011-04-25 | 1 | -1/+2 |
| | |||||
* | adding array length introspection metadata to pango_font_descriptions_free | Alberto Ruiz | 2011-04-25 | 1 | -1/+1 |
| | |||||
* | adding allow-none to pango_font_descriptions_free parameters | Alberto Ruiz | 2011-04-25 | 1 | -1/+1 |
| | |||||
* | Adding allow-none and moving (out) to the beginning of the annotation as ↵ | Alberto Ruiz | 2011-04-15 | 1 | -1/+1 |
| | | | | requested by walters in #647827 | ||||
* | Fix introspection for pango_font_map_list_families and ↵ | Alberto Ruiz | 2011-04-15 | 1 | -2/+2 |
| | | | | pango_font_family_list_faces | ||||
* | Use G_DEFINE_BOXED_TYPE. | Christian Persch | 2010-11-04 | 1 | -26/+6 |
| | | | | Bug #539622. | ||||
* | Bug 580273 – Font metrics functions incorrectly listed as reporting point ↵ | Behdad Esfahbod | 2009-04-26 | 1 | -4/+4 |
| | | | | | | sizes [doc] Remove misleading sentence about points and Pango units |