summaryrefslogtreecommitdiff
path: root/pango/pangocairo-context.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: Convert gtk-doc syntax leftoversdocs-cleanupMatthias Clasen2021-05-191-22/+17
| | | | | Remove leftovers like #Type, reduce indentations to avoid markdown block quotes, etc.
* Fix various broken linksMatthias Clasen2021-03-111-3/+3
| | | | All these were pointed out by gi-docgen warnings.
* pangocairo: Tweak docsMatthias Clasen2021-03-111-12/+25
| | | | Convert link syntax, and summaries.
* docs: Port PangoCairo apis to the new doc formatMatthias Clasen2021-03-111-52/+54
| | | | | | Replace gtk-doc'isms and use gi-docgen links instead. Cross-gir links are still an open issue.
* Merge branch 'wip/baedert/for-master2' into 'master'Matthias Clasen2020-06-081-1/+9
|\ | | | | | | | | Wip/baedert/for master2 See merge request GNOME/pango!190
| * pangocairo-context: Don't invalidate if font options are equalTimm Bäder2020-06-081-1/+9
| |
* | Fix some annotationsRico Tzschichholz2020-06-081-1/+1
|/
* [pangocairo] Pick up font-options from cairo_tBehdad Esfahbod2017-11-221-0/+13
| | | | | | | | Now one can use cairo_set_font_options(), whereas before they had to use pango_cairo_context_set_font_options(). If the latter is used, it will override the former. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=790747
* Add many missing nullability annotations.Evan Nemerson2014-10-161-9/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=731022
* Bug 685167 - migrate docs to no-tmpl flavourBehdad Esfahbod2013-09-271-1/+1
| | | | Patch from Rafał Mużyło.
* Track changes in PangoContext via a serialAlexander Larsson2012-12-061-7/+9
| | | | | | | | | | | | Whenever a PangoContext or its fontmap changes we bump the contexts serial, you can get it via pango_context_get_serial() to see find out if the context changed since the last time and you need to relayout. You can also force the context to be "changed" by calling pango_context_changed(). https://bugzilla.gnome.org/show_bug.cgi?id=340066
* Use thread-safe qdata API for cachingMatthias Clasen2012-09-011-2/+8
| | | | | GLib gained a new API that allows to set qdata in a thread-safe way. Use it here.
* More churnBehdad Esfahbod2012-08-281-1/+1
|
* introspection: Remove incorrect trailing colon from (skip)Colin Walters2011-06-151-1/+1
| | | | The syntax doesn't include this, and apparently it confuses gtk-doc.
* Stop using G_CONST_RETURN in PangoRyan Lortie2011-06-091-2/+2
| | | | | | | 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
* Removing introspection warnings from pangocairo-contextAlberto Ruiz2011-04-261-3/+3
|
* TypoBehdad Esfahbod2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2822
* Fix typo.Behdad Esfahbod2009-01-281-1/+1
| | | | svn path=/trunk/; revision=2807
* Completely ignore CTM translation offsets.Behdad Esfahbod2009-01-021-3/+3
| | | | | | | | | 2009-01-02 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-context.c (_pango_cairo_update_context): Completely ignore CTM translation offsets. svn path=/trunk/; revision=2776
* Make the following API public:Behdad Esfahbod2008-08-061-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-05 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c: * pango/pango-context.h: Make the following API public: pango_context_new() pango_context_set_font_map() * pango/pango-fontmap.c (pango_font_map_create_context): * pango/pango-fontmap.h: New public API: pango_font_map_create_context() * pango/pangocairo-context.c (pango_cairo_create_context): * pango/pangocairo-font.c (_pango_cairo_font_get_metrics), (_pango_cairo_font_private_get_hex_box_info): * pango/pangocairo-fontmap.c (pango_cairo_font_map_create_context): * pango/pangocairo.h: Deprecate pango_cairo_font_map_create_context(). * pango/pangofc-font.c (pango_fc_font_get_metrics): * pango/pangofc-fontmap.c (pango_fc_font_map_create_context): * pango/pangofc-fontmap.h: Deprecate pango_fc_font_map_create_context(). * pango/pangoft2-fontmap.c (pango_ft2_font_map_create_context), (pango_ft2_get_context): * pango/pangoft2.h: Deprecate pango_ft2_font_map_create_context(). * pango/pangowin32.c (pango_win32_get_context), (pango_win32_font_get_metrics): * pango/pangowin32.h: Deprecate pango_win32_get_context(). * pango/pangoxft-font.c (_pango_xft_font_get_mini_font): * pango/pangoxft-fontmap.c (pango_xft_get_context): * pango/pangoxft.h: Deprecate pango_xft_get_context(). * pango/pangox-fontmap.c (pango_x_font_map_for_display): * pango/pangox.c (get_context_info), (pango_x_get_context), (pango_x_context_set_funcs), (pango_x_render_layout_line): Deprecate pango_x_get_context(), again. * docs/pango-sections.txt: * docs/tmpl/fonts.sgml: * pango-view/viewer-pangocairo.c (pangocairo_view_get_context): * pango-view/viewer-pangoft2.c (pangoft2_view_get_context): * pango-view/viewer-pangox.c (pangox_view_get_context): * pango-view/viewer-pangoxft.c (pangoxft_view_get_context): * pango/check.defs: * pango/pango.def: Update. svn path=/trunk/; revision=2675
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Behdad svn path=/trunk/; revision=2657
* Bug 538661 – Improve pango_cairo_context_update_context()Behdad Esfahbod2008-06-161-19/+14
| | | | | | | | | | | | 2008-06-16 Behdad Esfahbod <behdad@gnome.org> Bug 538661 – Improve pango_cairo_context_update_context() * pango/pangocairo-context.c (_pango_cairo_update_context): Relayout only if merged options changed. svn path=/trunk/; revision=2653
* Bug 517119 – Add pango_cairo_create_context()Behdad Esfahbod2008-04-211-5/+34
| | | | | | | | | | | | | | | | | | 2008-04-21 Behdad Esfahbod <behdad@gnome.org> Bug 517119 – Add pango_cairo_create_context() * docs/pango-sections.txt: * pango/pangocairo-context.c (pango_cairo_create_context), (pango_cairo_create_layout): * pango/pangocairo.def: * pango/pangocairo.h: New public API: pango_cairo_create_context() svn path=/trunk/; revision=2606
* Bug 471568 – Optimizations in _pango_cairo_update_context()Behdad Esfahbod2007-10-241-19/+26
| | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 471568 – Optimizations in _pango_cairo_update_context() * pango/pangocairo-context.c (_pango_cairo_update_context): Skip change notification about matrix changes if merged font options for the context set metrics hinting to off. svn path=/trunk/; revision=2471
* Bug 489909 – pango_cairo_update_context() should ignore matrixBehdad Esfahbod2007-10-241-1/+2
| | | | | | | | | | | | | | 2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 489909 – pango_cairo_update_context() should ignore matrix translation * pango/pangocairo-context.c (_pango_cairo_update_context): Just compare the first four doubles of matrices for change notification purposes. svn path=/trunk/; revision=2470
* Bug 462630 – pango_cairo_context_set_font_options() and some othersBehdad Esfahbod2007-08-151-0/+4
| | | | | | | | | | | | 2007-08-15 Behdad Esfahbod <behdad@gnome.org> Bug 462630 – pango_cairo_context_set_font_options() and some others don't have a Since: tag * pango/pangocairo-context.c: Add missing Since tags to docs. svn path=/trunk/; revision=2404
* Bug 445832 – pango_cairo_update_layout() always invalidates layoutBehdad Esfahbod2007-06-121-24/+56
| | | | | | | | | | | | | 2007-06-12 Behdad Esfahbod <behdad@gnome.org> Bug 445832 – pango_cairo_update_layout() always invalidates layout * pango/pangocairo-context.c (_pango_cairo_update_context), (pango_cairo_update_context), (pango_cairo_update_layout): Don't invalidate layout if matrix and font options didn't change. svn path=/trunk/; revision=2346
* New APIBehdad Esfahbod2007-05-041-4/+85
| | | | | | | | | | | | | | | | | | | | | 2007-05-04 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo.h: * pango/pangocairo-context.c: * pango/pangocairo-render.c: New API PangoCairoShapeRendererFunc and pango_cairo_context_[sg]et_shape_renderer() * docs/pango-sections.txt, docs/tmpl/pangocairo.sgml: Document new * API. * examples/Makefile.am, examples/cairoshape.c: New example to show off new API/feature. svn path=/trunk/; revision=2261
* Rip non-fontmap stuff from pangocairo-fontmap.c into pangocairo-context.c.Behdad Esfahbod2007-05-041-0/+325
2007-05-04 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: * pango/pangocairo-context.c: * pango/pangocairo-fontmap.c: Rip non-fontmap stuff from pangocairo-fontmap.c into pangocairo-context.c. svn path=/trunk/; revision=2260