1. 30 Aug, 2021 1 commit
  2. 24 Aug, 2021 1 commit
  3. 10 Aug, 2021 1 commit
  4. 08 Aug, 2021 1 commit
  5. 02 Aug, 2021 1 commit
  6. 02 Jul, 2021 1 commit
  7. 19 May, 2021 2 commits
  8. 11 Mar, 2021 2 commits
  9. 31 Oct, 2019 1 commit
  10. 12 Jul, 2019 1 commit
  11. 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
  12. 08 Apr, 2017 1 commit
  13. 29 Jun, 2016 1 commit
  14. 06 May, 2015 1 commit
  15. 27 Sep, 2013 1 commit
  16. 06 Dec, 2012 1 commit
  17. 04 Jun, 2012 1 commit
  18. 09 Jun, 2011 1 commit
  19. 16 May, 2011 3 commits
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 16 Jan, 2007 6 commits
    • Behdad Esfahbod's avatar
      *.c, *.h: Replace preceding sequences of 8 spaces with tabs. · a0225fbf
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              *.c, *.h: Replace preceding sequences of 8 spaces with tabs.
      
      
      svn path=/trunk/; revision=2165
      a0225fbf
    • Behdad Esfahbod's avatar
      *.c, *.h: Drop trailing whitespace. · 80e647a8
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              *.c, *.h: Drop trailing whitespace.
      
      
      svn path=/trunk/; revision=2163
      80e647a8
    • Behdad Esfahbod's avatar
      Bug 328585 – Need to know if a layout has unknown glyphs Patch from · e6b83e42
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 328585 – Need to know if a layout has unknown glyphs
              Patch from LingNing Zhang
      
              * pango/pango-layout-private.h:
              * pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
              (pango_layout_get_unknown_glyphs_count),
              (pango_layout_clear_lines):
              * pango/pango-layout.h:
              New public function:
      
                      pango_layout_get_unknown_glyphs_count()
      
              * pango/pango.def:
              * docs/tmpl/layout.sgml:
              * docs/pango-sections.txt:
              Update.
      
      
      svn path=/trunk/; revision=2162
      e6b83e42
    • Behdad Esfahbod's avatar
      Align spaces. · 29263f58
      Behdad Esfahbod authored
      svn path=/trunk/; revision=2161
      29263f58
    • Behdad Esfahbod's avatar
      Part of Bug 326693 – PangoLayouts should be query-able about their · fe7d588c
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              Part of Bug 326693 – PangoLayouts should be query-able about their
              effective properties (width / wrapped / ellipsized / etc)
      
              * pango/pango-layout-private.h:
              * pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
              (pango_layout_is_wrapped), (pango_layout_clear_lines),
              (process_line):
              * pango/pango-layout.h:
              New public function:
      
                      pango_layout_is_wrapped()
      
              * pango/pango.def:
              * docs/tmpl/layout.sgml:
              * docs/pango-sections.txt:
              Update.
      
      
      svn path=/trunk/; revision=2160
      fe7d588c
    • Behdad Esfahbod's avatar
      Bug 363510 – Ability to query whether a PangoLayout is effectively · 9354b7f4
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 363510 – Ability to query whether a PangoLayout is effectively
              ellipsized (as opposed to the set_ellpisize()/get_ellipsize() methods
              which only set a request, or return the set request respectively)
              Patch from Milosz Derezynski
      
              * pango/pango-layout.h:
              * pango/ellipsize.c (_pango_layout_line_ellipsize):
              * pango/pango-layout-private.h:
              * pango/pango-layout.c (pango_layout_init), (pango_layout_copy),
              (pango_layout_is_ellipsized), (pango_layout_clear_lines),
              (pango_layout_line_postprocess):
              New public function:
      
                      pango_layout_is_ellipsized()
      
              * pango/pango.def:
              * docs/tmpl/layout.sgml:
              * docs/pango-sections.txt:
              Update.
      
      
      svn path=/trunk/; revision=2150
      9354b7f4
  26. 07 Jan, 2007 1 commit
  27. 05 Dec, 2006 1 commit
    • Behdad Esfahbod's avatar
      Add new functions: pango_layout_iter_get_line_readonly() · 4645a8b2
      Behdad Esfahbod authored
      2006-12-05  Behdad Esfahbod  <behdad@gnome.org>
      
              * docs/pango-sections.txt:
              * docs/tmpl/layout.sgml:
              * pango/pango-layout.c (pango_layout_get_lines_readonly),
              (pango_layout_get_line_readonly),
              (pango_layout_iter_get_run_readonly),
              (_pango_layout_iter_get_line), (pango_layout_iter_get_line),
              (pango_layout_iter_get_line_readonly):
              * pango/pango-layout.h:
              * pango/pango-renderer.c (pango_renderer_draw_layout):
              * pango/pango.def:
              Add new functions:
                      pango_layout_iter_get_line_readonly()
                      pango_layout_get_lines_readonly()
                      pango_layout_iter_get_line_readonly()
                      pango_layout_iter_get_run_readonly()
              These should be used when you do not intend to modify the run/line,
              which is more than most of the time.  So, update your app, benefit
              from more optimizations (in this case, line extents caching)!
      4645a8b2
  28. 20 Aug, 2006 1 commit
  29. 04 Nov, 2005 1 commit
    • Behdad Esfahbod's avatar
      Turn various gcc warnings off. Adding const, adding static, fully · b6942a33
      Behdad Esfahbod authored
      2005-11-04  Behdad Esfahbod  <behdad@gnome.org>
      
              * configure.in, examples/argcontext.c examples/cairoview.c,
              examples/renderdemo.c, examples/renderdemo.h examples/xftview.c,
              modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
              modules/hebrew/hebrew-shaper.c, modules/hebrew/hebrew-shaper.h,
              modules/indic/indic-fc.c, modules/indic/mprefixups.c,
              modules/syriac/syriac-fc.c, pango/break.c pango/fonts.c,
              pango/modules.c, pango/pango-coverage.c pango/pango-engine.c,
              pango/pango-engine.h, pango/pango-fontmap.c,
              pango/pango-fontset.c, pango/pango-impl-utils.h,
              pango/pango-layout.c, pango/pango-layout.h,
              pango/pango-renderer.c, pango/pango-script.c,
              pango/pango-utils.c, pango/pangocairo-fc.h,
              pango/pangocairo-font.c, pango/pangocairo-fontmap.c,
              pango/pangocairo-private.h, pango/pangofc-decoder.c,
              pango/pangofc-font.c, pango/pangofc-fontmap.c pango/pangoft2.c,
              pango/pangox-fontcache.c, pango/pangox-fontmap.c pango/pangox.c,
              pango/pangoxft-font.c, pango/querymodules.c,
              pango/opentype/ftglue.c, pango/opentype/ftxgpos.c,
              pango/opentype/ftxopen.c, pango/opentype/pango-ot-buffer.c,
              pango/opentype/pango-ot-info.c,
              pango/opentype/pango-ot-ruleset.c, tests/dump-boundaries.c,
              tests/testboundaries.c, tests/testcolor.c tests/testiter.c,
              tests/testscript.c: Turn various gcc warnings off. Adding const,
              adding static, fully initializing structs, match signedness in
              comparisons. (#317804)
      
              * tests/testscript.c, tools/gen-script-for-lang.c:
              (scripts_for_file): Pass error->message instead of error to fail(),
              which was wrong.
              (compare_lang): Fix typo comparing a and a instead of a and b.
      b6942a33