1. 16 Nov, 2021 1 commit
  2. 12 Nov, 2021 2 commits
  3. 10 Aug, 2021 1 commit
  4. 03 Aug, 2019 1 commit
  5. 01 Aug, 2019 1 commit
    • Matthias Clasen's avatar
      pango-view: Add font options · d31bb1c1
      Matthias Clasen authored
      Add commandline options for antialiasing,
      subpixel order and metrics hinting, so we
      can reproduce font rendering issues with
      pango-view.
      d31bb1c1
  6. 16 Jul, 2019 1 commit
  7. 05 Jul, 2019 1 commit
  8. 04 Jul, 2019 1 commit
  9. 08 Jul, 2018 1 commit
  10. 29 Aug, 2016 1 commit
  11. 23 Apr, 2015 1 commit
  12. 09 Apr, 2015 1 commit
  13. 04 Apr, 2015 2 commits
  14. 01 Apr, 2010 1 commit
  15. 11 Jan, 2010 1 commit
  16. 16 Mar, 2009 3 commits
  17. 30 Jan, 2009 1 commit
  18. 26 Dec, 2008 1 commit
    • Behdad Esfahbod's avatar
      Fix all warnings in pango-view/ · 3d241725
      Behdad Esfahbod authored
      2008-12-25  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango-view/viewer-main.c (main):
              * pango-view/viewer-pangocairo.c (pangocairo_view_create),
              (transform_callback), (pangocairo_view_render),
              (pangocairo_view_write):
              * pango-view/viewer-pangoft2.c (substitute_func),
              (pangoft2_view_create), (pangoft2_view_create_surface),
              (pangoft2_view_destroy_surface), (render_callback),
              (pangoft2_view_render), (pangoft2_view_write):
              * pango-view/viewer-pangox.c (render_callback):
              * pango-view/viewer-pangoxft.c (default_substitute),
              (render_callback):
              * pango-view/viewer-render.c (parse_enum), (parse_align),
              (parse_ellipsis), (parse_gravity), (parse_gravity_hint),
              (parse_hinting), (parse_wrap), (parse_backend), (show_version):
              * pango-view/viewer-x.c (x_view_init):
              Fix all warnings in pango-view/
      
      svn path=/trunk/; revision=2769
      3d241725
  19. 22 Jun, 2008 1 commit
  20. 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
  21. 08 Jan, 2008 1 commit
  22. 14 May, 2007 1 commit
    • Behdad Esfahbod's avatar
      Add --language. · 9f09571a
      Behdad Esfahbod authored
      2007-05-13  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango-view/viewer-render.c (do_output), (parse_options):
              Add --language.
      
      
      svn path=/trunk/; revision=2283
      9f09571a
  23. 03 May, 2007 1 commit
  24. 02 May, 2007 1 commit
    • Mathias Hasselmann's avatar
      Add --justify. · 2eec510f
      Mathias Hasselmann authored
      2007-05-02  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
              * pango-view/viewer-render.c (make_layout), (parse_options):
              Add --justify.
      
      
      svn path=/trunk/; revision=2249
      2eec510f
  25. 01 May, 2007 1 commit
    • Mathias Hasselmann's avatar
      Add option for testing text alignment. · ee333c94
      Mathias Hasselmann authored
      2007-04-28  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
              * pango-view/viewer-render.c (make_layout), (parse_alignment),
              (parse_options): Add option for testing text alignment.
      
      
      svn path=/trunk/; revision=2241
      ee333c94
  26. 16 Jan, 2007 9 commits
    • Behdad Esfahbod's avatar
      Fix typo when rounding to points. · 8f889bf8
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango-view/viewer-render.c (make_layout): Fix typo when rounding
              to points.
      
      
      svn path=/trunk/; revision=2169
      8f889bf8
    • Behdad Esfahbod's avatar
      *.c, *.h: Removed spaces followed b tabs. · 5d65122f
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              *.c, *.h: Removed spaces followed b tabs.
      
      
      svn path=/trunk/; revision=2166
      5d65122f
    • 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
      Rename renderdemo.[ch] to viewer-render.[ch]. · 774064ae
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango-view/Makefile.am:
              * pango-view/renderdemo.c:
              * pango-view/renderdemo.h:
              * pango-view/viewer-main.c:
              * pango-view/viewer-pangocairo.c:
              * pango-view/viewer-pangoft2.c:
              * pango-view/viewer-pangox.c:
              * pango-view/viewer-pangoxft.c:
              * pango-view/viewer-render.c:
              * pango-view/viewer-render.h:
              * pango-view/viewer-x.c:
              Rename renderdemo.[ch] to viewer-render.[ch].
      
      
      svn path=/trunk/; revision=2153
      774064ae
    • Behdad Esfahbod's avatar
      Move into pango-view/ · 7a7fc093
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              * examples/pango-view.c:
              * examples/pangocairo-view.c:
              * examples/pangoft2-view.c:
              * examples/pangox-view.c:
              * examples/pangoxft-view.c:
              * examples/renderdemo.c:
              * examples/renderdemo.h:
              * examples/test-arabic.txt:
              * examples/test-chinese.txt:
              * examples/test-devanagari.txt:
              * examples/test-gurmukhi.txt:
              * examples/test-hebrew.txt:
              * examples/test-ipa.txt:
              * examples/test-lao.txt:
              * examples/test-latin.txt:
              * examples/test-mixed.txt:
              * examples/test-syriac.txt:
              * examples/test-tamil.txt:
              * examples/test-thai.txt:
              * examples/test-tibetan.txt:
              * examples/viewer-cairo.c:
              * examples/viewer-cairo.h:
              * examples/viewer-main.c:
              * examples/viewer-pangocairo.c:
              * examples/viewer-pangoft2.c:
              * examples/viewer-pangox.c:
              * examples/viewer-pangoxft.c:
              * examples/viewer-win32.c:
              * examples/viewer-x.c:
              * examples/viewer-x.h:
              * examples/viewer.h:
              Move into pango-view/
      
              * Makefile.am:
              * configure.in:
              * examples/Makefile.am:
              * pango-view/Makefile.am:
              Update.
      
      
      svn path=/trunk/; revision=2152
      7a7fc093
    • Behdad Esfahbod's avatar
      Oops. Replace GType* with GType. · a0b7b028
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              * examples/renderdemo.c (parse_enum): Oops. Replace GType* with GType.
      
      
      svn path=/trunk/; revision=2151
      a0b7b028
    • Behdad Esfahbod's avatar
      New attribute types PANGO_ATTR_GRAVITY and PANGO_ATTR_GRAVITY_HINT. New · 56e7902a
      Behdad Esfahbod authored
      2007-01-16  Behdad Esfahbod  <behdad@gnome.org>
      
              * pango/pango-attributes.h:
              * pango/pango-attributes.c:
              New attribute types PANGO_ATTR_GRAVITY and PANGO_ATTR_GRAVITY_HINT.
              New public functions:
      
                      pango_attr_gravity_new()
                      pango_attr_gravity_hint_new()
      
              * pango/pango-context.c (update_attr_iterator),
              (itemize_state_init), (itemize_state_add_character),
              (get_shaper_and_font), (itemize_state_update_for_new_run):
              Handle gravity and gravity_hint attributes.
      
              * pango/pango-utils.h:
              * pango/pango-utils.c:
              New public function:
      
                      pango_parse_enum()
      
              * pango/pango-markup.c (span_parse_func): Parse gravity and
              gravity_hint attributes for <span>.  Optimize a bit.
      
              * pango/pango-markup.c (parse_absolute_size), (attr_strcmp),
              (span_parse_int), (span_parse_boolean), (span_parse_color),
              (span_parse_enum), (span_parse_func): Use pango_scan_int(),
              pango_color_parse(), and pango_parse_enum().  Also, ignore '-' and
              '_' differences when matching attribute names for <span>.
      
              * examples/renderdemo.c (parse_enum), (parse_ellipsis),
              (parse_gravity), (parse_gravity_hint), (parse_hinting),
              (parse_wrap): Use a generic parse_enum() that uses pango_parse_enum().
      
              * modules/basic/basic-fc.c (basic_engine_shape):
              * pango/pangofc-fontmap.c (pango_fc_make_pattern):
              Use PANGO_GRAVITY_IS_VERTICAL().
      
              * pango/pango.def:
              * docs/pango-sections.txt:
              * docs/tmpl/text-attributes.sgml:
              * docs/tmpl/utils.sgml:
              Update.
      
      
      svn path=/trunk/; revision=2145
      56e7902a
    • Behdad Esfahbod's avatar
      Bug 323173 – Add layout of mixed direction text for vertical layout · 7a102793
      Behdad Esfahbod authored
      2007-01-15  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 323173 – Add layout of mixed direction text for vertical layout
      
              * pango/pango-gravity.h:
              * pango/pango-gravity.c:
              Moved gravity stuff here.  New public API:
      
                      PangoGravityHint
                      pango_gravity_get_for_matrix()
                      pango_gravity_get_for_script()
      
              * pango/pango-context.h:
              * pango/pango-context.c (pango_context_init),
              (update_resolved_gravity), (itemize_state_update_for_new_run):
              Support gravity hint.  New public API:
      
                      pango_context_set_gravity_hint()
                      pango_context_get_gravity_hint()
      
              * pango/pango-utils.c:
              * pango/pango-matrix.c:
              * pango/pango-matrix.h:
              * pango/pango-types.h:
              Moved gravity and matrix stuff into its own header.  pango-types.h
              includes both pango-matrix.h and pango-gravity.h
      
              * pango/pango.h:
              Include new headers.
      
              * pango/pango.def:
              * pango/Makefile.am:
              Update.
      
              * docs/pango-docs.sgml:
              * docs/pango-sections.txt:
              * docs/tmpl/glyphs.sgml:
              * docs/tmpl/main.sgml:
              * docs/tmpl/vertical.sgml:
              Add a section for Vertical Text.
      
              * examples/renderdemo.c (do_output), (parse_gravity_hint),
              (parse_options):
              Support gravity hint.
      
              * examples/test-mixed.txt:
              New test, mixed Latin, Arabic, Chinese text.
      
      
      svn path=/trunk/; revision=2144
      7a102793
  27. 04 Jan, 2007 1 commit
    • Behdad Esfahbod's avatar
      Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21 · 143def0d
      Behdad Esfahbod authored
      2007-01-04  Behdad Esfahbod  <behdad@gnome.org>
      
              Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21
      
              * pango/pango-types.h:
              * pango/pango-matrix.c: New public API:
                      pango_matrix_transform_distance()
                      pango_matrix_transform_point()
                      pango_matrix_transform_rectangle()
                      pango_matrix_transform_pixel_rectangle()
      
              * pango/pango-utils.h:
              * pango/pango-utils.c: New public API:
                      pango_units_from_double()
                      pango_units_to_double()
                      pango_extents_to_pixels()
      
              * pango/pango-layout.c (pango_layout_get_pixel_extents),
              (pango_layout_line_get_pixel_extents): Use pango_extents_to_pixels().
      
              * pango/pangocairo-fcfont.c:
              (pango_cairo_fc_font_glyph_extents_cache_init),
              (compute_glyph_extents): Use pango_units_from_double().
      
              * examples/renderdemo.c (do_output): Use
              pango_matrix_transform_pixel_rectangle();
      
              * pango/pango.def:
              * docs/pango-sections.txt:
              * docs/tmpl/glyphs.sgml: Update.
      
      
      svn path=/trunk/; revision=2126
      143def0d
  28. 25 Dec, 2006 1 commit