- 16 Nov, 2021 1 commit
-
-
Matthias Clasen authored
-
- 12 Nov, 2021 2 commits
-
-
Matthias Clasen authored
GTK frequently uses this width during measuring, so it is good if we can reproduce what happens in this case.
-
Matthias Clasen authored
This can make it easier to reproduce problems.
-
- 10 Aug, 2021 1 commit
-
-
Matthias Clasen authored
Give pango-view a --justify-last-line option to test the new PangoLayout option for this.
-
- 03 Aug, 2019 1 commit
-
-
Matthias Clasen authored
This lets us explore the influence of subpixel positioning in various contexts without relying on gtk applications.
-
- 01 Aug, 2019 1 commit
-
-
Matthias Clasen authored
Add commandline options for antialiasing, subpixel order and metrics hinting, so we can reproduce font rendering issues with pango-view.
-
- 16 Jul, 2019 1 commit
-
-
Matthias Clasen authored
-
- 05 Jul, 2019 1 commit
-
-
Matthias Clasen authored
Add a way to try pango_layout_set_line_spacing().
-
- 04 Jul, 2019 1 commit
-
-
Matthias Clasen authored
-
- 08 Jul, 2018 1 commit
-
-
Behdad Esfahbod authored
-
- 29 Aug, 2016 1 commit
-
-
Matthias Clasen authored
Now that we're using new-style deprecations, we have to fight a little harder to get rid of them inside pango.
-
- 23 Apr, 2015 1 commit
-
-
Behdad Esfahbod authored
-
- 09 Apr, 2015 1 commit
-
-
Behdad Esfahbod authored
-
- 04 Apr, 2015 2 commits
-
-
Behdad Esfahbod authored
-
-
- 01 Apr, 2010 1 commit
-
-
Behdad Esfahbod authored
-
- 11 Jan, 2010 1 commit
-
-
Behdad Esfahbod authored
-
- 16 Mar, 2009 3 commits
-
-
Behdad Esfahbod authored
-
Behdad Esfahbod authored
Added --annotate. Also fixes: Bug 502801 – per-backend pango-view options
-
Behdad Esfahbod authored
-
- 30 Jan, 2009 1 commit
-
-
Behdad Esfahbod authored
2009-01-29 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-render.c (make_layout), (get_options_string): Remove default font family and size. This means default is "serif 12" now, instead of previous "sans 18". svn path=/trunk/; revision=2820
-
- 26 Dec, 2008 1 commit
-
-
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
-
- 22 Jun, 2008 1 commit
-
-
Johan Dahlin authored
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
-
- 15 Jan, 2008 1 commit
-
-
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
-
- 08 Jan, 2008 1 commit
-
-
Behdad Esfahbod authored
2008-01-08 Behdad Esfahbod <behdad@gnome.org> Bug 508007 – Add option for single-paragraph mode to pango-view * pango-view/viewer-render.c (make_layout), (parse_options): Add --single-par option to pango-view. svn path=/trunk/; revision=2537
-
- 14 May, 2007 1 commit
-
-
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
-
- 03 May, 2007 1 commit
-
-
Behdad Esfahbod authored
2007-05-03 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-render.c (output_body), (do_output): Save one layout rendering per view. Down to two from three now. svn path=/trunk/; revision=2256
-
- 02 May, 2007 1 commit
-
-
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
-
- 01 May, 2007 1 commit
-
-
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
-
- 16 Jan, 2007 9 commits
-
-
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
-
Behdad Esfahbod authored
2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Removed spaces followed b tabs. svn path=/trunk/; revision=2166
-
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
-
Behdad Esfahbod authored
2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Drop trailing whitespace. svn path=/trunk/; revision=2163
-
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
-
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
-
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
-
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
-
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
-
- 04 Jan, 2007 1 commit
-
-
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
-
- 25 Dec, 2006 1 commit
-
-
Behdad Esfahbod authored
-