1. 03 Dec, 2021 2 commits
  2. 25 Nov, 2021 4 commits
  3. 22 Nov, 2021 1 commit
  4. 18 Nov, 2021 1 commit
    • Matthias Clasen's avatar
      Add layout serialization api · 2aead7a8
      Matthias Clasen authored
      Add api to serialize PangoLayout, for the benefit
      of testing and debugging. Currently, this uses
      json, but that is an implementation detail.
      
      Some tests included.
      2aead7a8
  5. 30 Aug, 2021 1 commit
  6. 24 Aug, 2021 1 commit
  7. 10 Aug, 2021 1 commit
  8. 08 Aug, 2021 1 commit
  9. 02 Aug, 2021 1 commit
  10. 02 Jul, 2021 1 commit
  11. 19 May, 2021 2 commits
  12. 11 Mar, 2021 2 commits
  13. 31 Oct, 2019 1 commit
  14. 12 Jul, 2019 1 commit
  15. 05 Jul, 2019 2 commits
    • Matthias Clasen's avatar
      layout: Add line-spacing · 59e2b1ae
      Matthias Clasen authored
      If line-spacing is set to a non-zero value,
      we place lines so that
      
      baseline2 = baseline1 + line-spacing * height2
      
      where height2 is the line height of the
      second line. In this case, we ignore
      spacing.
      
      If line-spacing is set to zero, spacing
      is applied as before.
      59e2b1ae
    • Matthias Clasen's avatar
      Add line heights to layout lines · 18aba3ac
      Matthias Clasen authored
      Add a getter for the line height of a layout line.
      18aba3ac
  16. 08 Apr, 2017 1 commit
  17. 29 Jun, 2016 1 commit
  18. 06 May, 2015 1 commit
  19. 27 Sep, 2013 1 commit
  20. 06 Dec, 2012 1 commit
  21. 04 Jun, 2012 1 commit
  22. 09 Jun, 2011 1 commit
  23. 16 May, 2011 3 commits
  24. 21 Apr, 2008 1 commit
    • Behdad Esfahbod's avatar
      Bug 404416 – pango_layout_get_baseline or something · 9b3aa20f
      Behdad Esfahbod authored
      2008-04-21  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 404416 – pango_layout_get_baseline or something
      
              * docs/pango-sections.txt:
              * pango/pango-layout.c (pango_layout_get_baseline):
              * pango/pango-layout.h:
              * pango/pango.def:
              New public API:
      
                      pango_layout_get_baseline()
      
      
      svn path=/trunk/; revision=2605
      9b3aa20f
  25. 15 Jan, 2008 1 commit
    • Behdad Esfahbod's avatar
      Bug 469313 – Add pango_layout_set_height() Bug 508179 – PangoGlyphUnit · 0946d48d
      Behdad Esfahbod authored
      2008-01-14  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 469313 – Add pango_layout_set_height()
              Bug 508179 – PangoGlyphUnit confusion
      
              * pango/pango-layout.h:
              * pango/pango-layout-private.h:
              * pango/pango-layout.c:
              * pango/ellipsize.c (_pango_layout_line_ellipsize):
              New public API:
      
                      pango_layout_set_height()
      
              See docs for semantics.  Currently only negative height values (number
              of lines) is implemented.
      
              * pango-view/viewer-render.c (make_layout), (output_body),
              (parse_options):
              Implement --height.
      
              * pango/pango.def:
              * docs/pango-sections.txt:
              * docs/tmpl/layout.sgml:
              Update.
      
      2008-01-14  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 508179 – PangoGlyphUnit confusion
      
              * pango/pangowin32.c:
              * pango/glyphstring.c:
              * pango/pango-layout.c (process_item): Remove all traces of
              #PangoGlyphUnit
      
      
      svn path=/trunk/; revision=2542
      0946d48d
  26. 24 Oct, 2007 1 commit
    • Behdad Esfahbod's avatar
      Bug 471577 – GBoxed GType for PangoGlyphItem · b178da14
      Behdad Esfahbod authored
      2007-10-24  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 471577 – GBoxed GType for PangoGlyphItem
      
              * pango/pango-glyph-item.h:
              * pango/pango-glyph-item.c: 
              New public API: 
      
                      PANGO_TYPE_GLYPH_ITEM
                      pango_glyph_item_copy()
                      pango_glyph_item_get_type()
      
              * pango/pango-layout.c: 
              New public API:
              
                      pango_layout_iter_copy()
      
              * pango/fonts.c (pango_font_description_copy),
              (pango_font_description_copy_static),
              (pango_font_description_free), (pango_font_descriptions_free),
              (pango_font_metrics_ref), (pango_font_metrics_unref):
              * pango/glyphstring.c (pango_glyph_string_copy),
              (pango_glyph_string_free):
              * pango/pango-attributes.c (pango_attr_list_ref),
              (pango_attr_list_unref), (pango_attr_list_copy):
              * pango/pango-color.c (pango_color_copy), (pango_color_free):
              * pango/pango-item.c (pango_item_copy), (pango_item_free):
              * pango/pango-layout.c (pango_layout_line_ref),
              (pango_layout_line_unref), (pango_layout_iter_copy),
              (pango_layout_iter_free):
              * pango/pango-layout.h:
              * pango/pango-matrix.c (pango_matrix_copy), (pango_matrix_free):
              Update all copy/free functions to accept NULL as legitimate input.
              Previously all were g_return_[val_]if_fail()ing it.
      
              * pango/pango.def:
              * docs/pango-sections.txt:
              * docs/tmpl/glyphs.sgml:
              * docs/tmpl/layout.sgml:
              Update.
      
      
      svn path=/trunk/; revision=2457
      b178da14
  27. 22 Oct, 2007 2 commits
    • Behdad Esfahbod's avatar
      Bug 471571 – Add pango_layout_iter_get_layout() · 24b36e5d
      Behdad Esfahbod authored
      2007-10-22  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 471571 – Add pango_layout_iter_get_layout()
      
              * docs/pango-sections.txt:
              * docs/tmpl/layout.sgml:
              * pango/pango-layout.c (pango_layout_iter_get_layout):
              * pango/pango-layout.h:
              * pango/pango.def:
              Add trivial yet missing pango_layout_iter_get_layout().
      
      
      svn path=/trunk/; revision=2456
      24b36e5d
    • Behdad Esfahbod's avatar
      Remove obsolete comment. PangoLayoutRun is not deprecated. It's just same · 0d0601ce
      Behdad Esfahbod authored
      2007-10-21  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango/pango-layout.h: Remove obsolete comment. PangoLayoutRun is
              not deprecated.  It's just same type as PangoGlyphItem.
      
      
      svn path=/trunk/; revision=2454
      0d0601ce
  28. 12 Jun, 2007 1 commit
    • Behdad Esfahbod's avatar
      Add G_GNUC_CONST and G_GNUC_PURE annotations. · 4b9a95cf
      Behdad Esfahbod authored
      2007-06-11  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango/pango-attributes.h:
              * pango/pango-font.h:
              * pango/pango-glyph.h:
              * pango/pango-gravity.h:
              * pango/pango-language.h:
              * pango/pango-layout.h:
              * pango/pango-matrix.h:
              * pango/pango-ot-private.h:
              * pango/pango-ot.h:
              * pango/pango-renderer.h:
              * pango/pango-script.h:
              * pango/pango-tabs.h:
              * pango/pango-utils.h:
              * pango/pangoatsui-private.h:
              * pango/pangocairo-atsui.h:
              * pango/pangocairo-atsuifont.h:
              * pango/pangocairo-fc.h:
              * pango/pangocairo-private.h:
              * pango/pangocairo-win32.h:
              * pango/pangocairo.h:
              * pango/pangofc-decoder.h:
              * pango/pangofc-font.h:
              * pango/pangofc-fontmap.h:
              * pango/pangoft2-private.h:
              * pango/pangoft2.h:
              * pango/pangowin32-private.h:
              * pango/pangox-private.h:
              * pango/pangoxft-render.h:
              * pango/pangoxft.h:
              Add G_GNUC_CONST and G_GNUC_PURE annotations.
      
      
      svn path=/trunk/; revision=2345
      4b9a95cf
  29. 16 Jan, 2007 2 commits