1. 19 May, 2021 1 commit
  2. 31 Mar, 2021 2 commits
  3. 11 Mar, 2021 4 commits
  4. 10 Jun, 2020 1 commit
    • Timm Bäder's avatar
      pangocairo-render: Make a local const · 3b122eb3
      Timm Bäder authored
      Avoiding this warning:
      
      ../pango/pangocairo-render.c:506:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        for (row = 0, p = name; row < rows; row++)
                        ^ ~~~~
      3b122eb3
  5. 01 Nov, 2019 1 commit
    • Matthias Clasen's avatar
      renderer: Implement overlines · de0ab09c
      Matthias Clasen authored
      Implement overlines in PangoRenderer.
      This adds a new render part, and mirrors
      the machinery we have for underlines and
      strikethrough.
      de0ab09c
  6. 25 Jul, 2019 2 commits
  7. 13 Jul, 2019 1 commit
  8. 07 Jul, 2019 1 commit
  9. 04 Jul, 2019 1 commit
    • Matthias Clasen's avatar
      Header cleanup · d21ea13a
      Matthias Clasen authored
      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.
      d21ea13a
  10. 08 Aug, 2017 1 commit
    • Emmanuele Bassi's avatar
      docs: Use Markdown instead of Docbook · 66dc913a
      Emmanuele Bassi authored
      The example code is not correctly escaped, and gtk-doc has become
      slightly more strict. This is a good chance to port this bit of the API
      reference to Markdown, and avoid all issues in a future without inlined
      XML.
      66dc913a
  11. 30 Jun, 2017 1 commit
  12. 08 Apr, 2017 1 commit
  13. 12 Aug, 2015 1 commit
    • Matthias Clasen's avatar
      Add alpha support to PangoCairoRenderer · 9f44c20b
      Matthias Clasen authored
      Make PangoCairoRenderer use cairo_set_source_rgba() to apply
      colors with alpha. Note that this means we are only using the
      alpha if the corresponding color has been set.
      9f44c20b
  14. 07 Jun, 2015 1 commit
  15. 05 Jun, 2015 1 commit
  16. 30 Aug, 2014 2 commits
  17. 27 Sep, 2013 1 commit
  18. 30 Nov, 2012 1 commit
  19. 28 Aug, 2012 1 commit
  20. 04 Jun, 2012 1 commit
  21. 17 Jun, 2011 1 commit
  22. 30 Sep, 2009 1 commit
  23. 26 Dec, 2008 2 commits
    • Behdad Esfahbod's avatar
      Bug 469049 – Fix all compiler warnings · 1c53de26
      Behdad Esfahbod authored
      2008-12-25  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 469049 – Fix all compiler warnings
      
              * pango-view/viewer-pangocairo.c (render_callback):
              * pango/fonts.c (append_field), (pango_font_description_to_string):
              * pango/opentype/harfbuzz-dump.c:
              * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels):
              * pango/pango-coverage.c (pango_coverage_set):
              * pango/pango-markup.c (span_parse_func):
              * pango/pango-renderer.c
              (pango_renderer_default_draw_error_underline):
              * pango/pango-utils.c (pango_scan_string):
              * pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid),
              (draw_error_underline), (pango_cairo_renderer_class_init):
              Fix all the remaining warnings.
      
      svn path=/trunk/; revision=2767
      1c53de26
    • Behdad Esfahbod's avatar
      Fix warnings. · 069472e0
      Behdad Esfahbod authored
      2008-12-25  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango/break.c (pango_default_break):
              * pango/fonts.c (find_field_any), (pango_font_class_init),
              (pango_font_init), (pango_font_metrics_ref),
              (pango_font_metrics_unref), (pango_font_family_class_init),
              (pango_font_family_init), (pango_font_face_class_init),
              (pango_font_face_init):
              * pango/pango-attributes.c (pango_attr_list_ref),
              (pango_attr_list_unref), (pango_attr_iterator_get_font):
              * pango/pango-layout.c (pango_layout_set_height), (extents_free),
              (no_shape_filter_func), (pango_layout_line_ref),
              (pango_layout_line_unref), (pango_layout_get_item_properties):
              * pango/pango-markup.c (end_element_handler), (text_handler),
              (b_parse_func), (big_parse_func), (span_parse_func),
              (i_parse_func), (markup_parse_func), (s_parse_func),
              (sub_parse_func), (sup_parse_func), (small_parse_func),
              (tt_parse_func), (u_parse_func):
              * pango/pango-ot-info.c (get_glyph_class):
              * pango/pango-renderer.c (get_item_properties),
              (pango_renderer_default_prepare_run):
              * pango/pango-utils.c (_pango_shape_shape):
              * pango/pangocairo-fcfontmap.c
              (pango_cairo_fc_font_map_get_font_type),
              (pango_cairo_fc_font_map_context_substitute),
              (pango_cairo_fc_font_map_context_key_get),
              (pango_cairo_fc_font_map_context_key_copy),
              (pango_cairo_fc_font_map_context_key_free),
              (pango_cairo_fc_font_map_context_key_hash),
              (pango_cairo_fc_font_map_context_key_equal):
              * pango/pangocairo-fontmap.c
              (pango_cairo_font_map_new_for_font_type),
              (pango_cairo_font_map_set_default):
              * pango/pangocairo-render.c (pango_cairo_renderer_init):
              * pango/pangox-fontcache.c (free_cache_entry):
              * pango/pangox-fontmap.c (close_display_cb),
              (list_families_foreach), (pango_x_font_map_load_font),
              (ignore_error):
              * pango/pangox.c (average_width_foreach), (subfonts_foreach),
              (pango_x_font_find_shaper), (pango_x_get_unknown_glyph),
              (pango_x_get_item_properties), (pango_x_apply_ligatures),
              (pango_x_font_get_unknown_glyph):
              * pango/pangoxft-fontmap.c (pango_xft_font_map_init),
              (close_display_cb):
              * pango/querymodules.c (show_version):
              Fix warnings.
      
      svn path=/trunk/; revision=2765
      069472e0
  24. 22 Sep, 2008 1 commit
    • Behdad Esfahbod's avatar
      Update to cairo-1.7.6 API. · f7783838
      Behdad Esfahbod authored
      2008-09-22  Behdad Esfahbod  <behdad@gnome.org>
      
              * configure.in:
              * pango/pangocairo-render.c
              (pango_cairo_renderer_show_text_glyphs), (save_current_point):
              Update to cairo-1.7.6 API.
      
      svn path=/trunk/; revision=2721
      f7783838
  25. 06 Aug, 2008 5 commits
    • Behdad Esfahbod's avatar
      Fix cluster iteration. · 5ed20a3a
      Behdad Esfahbod authored
      2008-08-06  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango/pangocairo-render.c (pango_cairo_renderer_draw_glyph_item):
              Fix cluster iteration.
      
      svn path=/trunk/; revision=2687
      5ed20a3a
    • Behdad Esfahbod's avatar
      Implement draw_glyph_item using cairo_show_text_glyphs(). · 465e3052
      Behdad Esfahbod authored
      2008-08-06  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango/pangocairo-render.c
              (pango_cairo_renderer_show_text_glyphs),
              (pango_cairo_renderer_draw_glyphs),
              (pango_cairo_renderer_draw_glyph_item):
              Implement draw_glyph_item using cairo_show_text_glyphs().
      
              * configure.in: Require cairo >= 1.7.1
      
      svn path=/trunk/; revision=2686
      465e3052
    • Behdad Esfahbod's avatar
      Oops. · a9c7938f
      Behdad Esfahbod authored
      svn path=/trunk/; revision=2678
      a9c7938f
    • Behdad Esfahbod's avatar
      Improve docs. · ee5a7cb9
      Behdad Esfahbod authored
      svn path=/trunk/; revision=2677
      ee5a7cb9
    • Behdad Esfahbod's avatar
      New public API: · fb5d6ad8
      Behdad Esfahbod authored
      2008-07-30  Behdad Esfahbod  <behdad@gnome.org>
      
              * docs/pango-sections.txt:
              * docs/tmpl/pango-renderer.sgml:
              * pango/pango-renderer.c:
              * pango/pango-renderer.h:
              New public API:
      
                      PangoRenderer::draw_glyph_item()
                      pango_renderer_draw_glyph_item()
      
              Make layout and layout-line default renderers go through
              draw_glyph_item(), which then by default falls back to
              draw_glyphs().  The advantage in draw_glyph_item() is that it
              has access to the text and cluster information.
      
      	* pango/pangocairo.h:
      	* pango/pangocairo-render.c:
      
              New public API:
      
                      pango_cairo_show_glyph_item()
      
      svn path=/trunk/; revision=2674
      fb5d6ad8
  26. 22 Jun, 2008 1 commit
  27. 21 Apr, 2008 1 commit
    • Behdad Esfahbod's avatar
      Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve · 5e19f6d5
      Behdad Esfahbod authored
      2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve
              current point
      
              * pango/pangocairo-render.c (_pango_cairo_renderer_draw_box_glyph),
              (_pango_cairo_renderer_draw_unknown_glyph), (acquire_renderer),
              (release_renderer), (save_current_point), (restore_current_point),
              (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line),
              (_pango_cairo_do_layout):
              Preserve current point around pango_cairo_* functions().
      
      
      svn path=/trunk/; revision=2602
      5e19f6d5
  28. 10 Dec, 2007 1 commit
    • Behdad Esfahbod's avatar
      Bug 478914 – Use something invalid instead of '?' when validating input · f4fad0c7
      Behdad Esfahbod authored
      2007-12-10  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 478914 – Use something invalid instead of '?' when validating
              input text
      
              * pango/pango-layout.c (pango_layout_set_text): Set invalid input
              bytes to -1, which gives a unichar value of -1, and eventually a
              glyph value of -1, aka PANGO_GLYPH_INVALID_INPUT.
      
              * pango/fonts.c (pango_font_get_glyph_extents),
              (pango_font_get_metrics), (pango_font_get_font_map):
              * pango/modules.c (build_map):
              * pango/pango-context.c (get_script), (get_shaper_and_font),
              (string_from_script), (itemize_state_process_run):
              * pango/pango-coverage.c (pango_coverage_get):
              * pango/pango-impl-utils.h:
              * pango/pango-utils.c:
              * pango/pangocairo-font.c (pango_cairo_font_get_scaled_font),
              (_pango_cairo_font_private_get_hex_box_info),
              (_pango_cairo_font_private_get_glyph_extents_missing):
              * pango/pangocairo-private.h:
              * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame),
              (_pango_cairo_renderer_draw_box_glyph),
              (_pango_cairo_renderer_draw_unknown_glyph):
              * pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
              * pango/pangoft2-private.h:
              * pango/pangoft2-render.c (pango_ft2_font_render_box_glyph),
              (pango_ft2_font_render_glyph), (pango_ft2_renderer_draw_glyph):
              * pango/pangoft2.c (pango_ft2_font_get_face),
              (pango_ft2_font_get_glyph_extents):
              * pango/pangox.c (pango_x_find_subfont), (pango_x_render):
              * pango/pangoxft-font.c (_pango_xft_font_get_mini_font),
              (get_glyph_extents_missing), (pango_xft_font_get_font):
              * pango/pangoxft-private.h:
              * pango/pangoxft-render.c (get_total_matrix), (draw_box),
              (_pango_xft_renderer_draw_box_glyph),
              (_pango_xft_renderer_draw_unknown_glyph),
              (pango_xft_renderer_draw_glyphs):
              * pango/shape.c (pango_shape):
              Render PANGO_GLYPH_INVALID_INPUT to a single-width box with a cross
              inside.  Also cleanup spewed warnings and warn at the source, where
              we fail to find a shaper, instead of at every location that we see
              a NULL font.
      
              * pango/pango-font.h:
              * docs/pango-sections.txt:
              * docs/tmpl/glyphs.sgml:
              New public macro:
      
                      PANGO_GLYPH_INVALID_INPUT
      
      
      svn path=/trunk/; revision=2519
      f4fad0c7
  29. 24 Oct, 2007 1 commit
    • Behdad Esfahbod's avatar
      Bug 472629 – Add pango_renderer_get_layout(_line) · 60507b94
      Behdad Esfahbod authored
      2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 472629 – Add pango_renderer_get_layout(_line)
      
              * pango/pango-renderer.h:
              * pango/pango-renderer.c: 
              New public API:
      
                      pango_renderer_get_layout()
                      pango_renderer_get_layout_line()
      
              * pango/pangocairo-render.c (pango_cairo_renderer_draw_shape),
              (release_renderer), (_pango_cairo_do_layout_line),
              (_pango_cairo_do_layout): Use above API to simplify
              shape_renderer implementation.
      
              * pango/pango.def:
              * docs/pango-sections.txt:
              * docs/tmpl/pango-renderer.sgml:
              Update.
      
      
      svn path=/trunk/; revision=2460
      60507b94