summaryrefslogtreecommitdiff
path: root/pango-view
Commit message (Collapse)AuthorAgeFilesLines
* Don't call g_type_init if GLib is new enoughMatthias Clasen2013-01-071-0/+2
| | | | | g_type_init has been deprecated in GLib 2.35.x. Use a version check here to avoid depending on unstable GLib.
* Rename configure.in to configure.acMatthias Clasen2012-11-131-1/+1
| | | | autoconf is going to drop support for .in at some point.
* Flush cairo surface when doneBehdad Esfahbod2012-11-071-0/+2
|
* MinorBehdad Esfahbod2012-08-231-4/+4
|
* Typo in the exampleKhaled Hosny2012-08-211-1/+1
|
* Add Mongolian test fileBehdad Esfahbod2012-08-162-0/+16
|
* Remove PangoXBehdad Esfahbod2012-08-162-132/+3
| | | | Been overdue...
* Add more Chinese poetryBehdad Esfahbod2011-07-201-0/+14
| | | | | From: https://secure.wikimedia.org/wikipedia/en/wiki/Shi_shi_shi_shi_shi
* Bug 652841 - Various pieces of dead code found by gcc/clang static analyzerBehdad Esfahbod2011-06-171-2/+2
|
* Bug 621612 - VPATH build fixBehdad Esfahbod2010-06-151-1/+1
|
* Bug 582698 - Support CSS-style margin specificationBehdad Esfahbod2010-04-011-7/+34
|
* Bug 582697 - Add pango-view --pixels optionBehdad Esfahbod2010-01-111-1/+7
|
* Fix typo in previous commitBehdad Esfahbod2009-11-111-1/+1
|
* Bug 587768 - [patch] Don't build pango-view twiceBehdad Esfahbod2009-11-111-15/+13
| | | | Second try.
* Bug 587768 - [patch] Don't build pango-view twiceBehdad Esfahbod2009-11-101-9/+16
| | | | Try to fix parallel build..
* Bug 592131 - Add AM_SILENT_RULESBehdad Esfahbod2009-08-171-2/+1
| | | | | And sprinkle some $(AM_V_GEN) around. Silent rules are disabled by default.
* Bug 590042 – pango-view.1 manpage should not be gzippedBehdad Esfahbod2009-07-281-6/+0
|
* Bug 589113 – Some characters rotated incorrectly in vertical textBehdad Esfahbod2009-07-222-2/+2
| | | | Always show full-width Unicode characters upright.
* Bug 585164 – 'man preload' shows man page for pango-viewBehdad Esfahbod2009-06-101-1/+1
| | | | Fix pango-view manual installation.
* Bug 579694 – Cygwin parallel-build patchBehdad Esfahbod2009-04-211-1/+1
| | | | Fix build on Cygwin.
* Use git.mkBehdad Esfahbod2009-04-171-0/+2
|
* Bug 576298 – Fails to link pango-view if --without-x is specified but ↵Sebastian Dröge2009-03-232-1/+5
| | | | cairo has X11 support
* Bug 547963 – man page for pango-viewBehdad Esfahbod2009-03-163-8/+32
|
* Bug 502804 – pango-view or pangocairo-view option to annotateBehdad Esfahbod2009-03-165-5/+51
| | | | | | | Added --annotate. Also fixes: Bug 502801 – per-backend pango-view options
* [pango-view] Add an extra level of mild annotation to cairo backendBehdad Esfahbod2009-03-163-74/+72
|
* [pango-view] Clear background in _renderBehdad Esfahbod2009-03-163-54/+65
|
* Bug 502805 – pango-view option for foreground/background colorBehdad Esfahbod2009-03-167-30/+182
|
* [pango-view] Don't clear the background for vector outputBehdad Esfahbod2009-03-152-7/+24
|
* [pango-view] Add ability to save to PS, EPS, PDF, and SVGBehdad Esfahbod2009-03-153-14/+183
|
* [pango-view] Make the cairo backend save png nativelyBehdad Esfahbod2009-03-151-0/+4
|
* [Makefile.am] CleanupBehdad Esfahbod2009-03-151-13/+5
|
* Bug 523166 – pango-view opens display even when invoked with -qBehdad Esfahbod2009-03-146-17/+93
| | | | Works now.
* [pango-view] Don't set metrics-hinting, fallback to surface defaultBehdad Esfahbod2009-03-141-2/+0
|
* [pango-view] Remove per-backend binariesBehdad Esfahbod2009-03-145-129/+0
|
* Bug 572662 – Remove deprecated GTK+ symbolsBehdad Esfahbod2009-03-022-749/+0
| | | | Remove the obsolete file viewer-win32.c
* Remove default font family and size. This means default is "serif 12" now,Behdad Esfahbod2009-01-301-23/+3
| | | | | | | | | | 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
* Make sure we measure layout with the same surface type as the finalBehdad Esfahbod2009-01-026-33/+25
| | | | | | | | | | | | | | | 2009-01-02 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-main.c (main): * pango-view/viewer-pangocairo.c (pangocairo_view_render): * pango-view/viewer-pangoft2.c (pangoft2_view_render): * pango-view/viewer-pangox.c (pangox_view_render): * pango-view/viewer-pangoxft.c (pangoxft_view_render): * pango-view/viewer.h: Make sure we measure layout with the same surface type as the final target. Also reduces fonts loaded by the pangocairo backend. svn path=/trunk/; revision=2777
* Call cairo_debug_reset_static_data().Behdad Esfahbod2008-12-261-0/+2
| | | | | | | | | 2008-12-26 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-pangocairo.c (pangocairo_view_destroy): Call cairo_debug_reset_static_data(). svn path=/trunk/; revision=2772
* Fix all warnings in pango-view/Behdad Esfahbod2008-12-267-39/+39
| | | | | | | | | | | | | | | | | | | | | | | 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
* Bug 469049 – Fix all compiler warningsBehdad Esfahbod2008-12-261-0/+1
| | | | | | | | | | | | | | | | | | | | | 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
* Various corrections.Behdad Esfahbod2008-08-201-20/+18
| | | | | | | | | | 2008-08-19 Behdad Esfahbod <behdad@gnome.org> * pango-view/GLASS.txt: * pango/pango-ot-tag.c: Various corrections. svn path=/trunk/; revision=2694
* Make the following API public:Behdad Esfahbod2008-08-064-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-05 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c: * pango/pango-context.h: Make the following API public: pango_context_new() pango_context_set_font_map() * pango/pango-fontmap.c (pango_font_map_create_context): * pango/pango-fontmap.h: New public API: pango_font_map_create_context() * pango/pangocairo-context.c (pango_cairo_create_context): * pango/pangocairo-font.c (_pango_cairo_font_get_metrics), (_pango_cairo_font_private_get_hex_box_info): * pango/pangocairo-fontmap.c (pango_cairo_font_map_create_context): * pango/pangocairo.h: Deprecate pango_cairo_font_map_create_context(). * pango/pangofc-font.c (pango_fc_font_get_metrics): * pango/pangofc-fontmap.c (pango_fc_font_map_create_context): * pango/pangofc-fontmap.h: Deprecate pango_fc_font_map_create_context(). * pango/pangoft2-fontmap.c (pango_ft2_font_map_create_context), (pango_ft2_get_context): * pango/pangoft2.h: Deprecate pango_ft2_font_map_create_context(). * pango/pangowin32.c (pango_win32_get_context), (pango_win32_font_get_metrics): * pango/pangowin32.h: Deprecate pango_win32_get_context(). * pango/pangoxft-font.c (_pango_xft_font_get_mini_font): * pango/pangoxft-fontmap.c (pango_xft_get_context): * pango/pangoxft.h: Deprecate pango_xft_get_context(). * pango/pangox-fontmap.c (pango_x_font_map_for_display): * pango/pangox.c (get_context_info), (pango_x_get_context), (pango_x_context_set_funcs), (pango_x_render_layout_line): Deprecate pango_x_get_context(), again. * docs/pango-sections.txt: * docs/tmpl/fonts.sgml: * pango-view/viewer-pangocairo.c (pangocairo_view_get_context): * pango-view/viewer-pangoft2.c (pangoft2_view_get_context): * pango-view/viewer-pangox.c (pangox_view_get_context): * pango-view/viewer-pangoxft.c (pangoxft_view_get_context): * pango/check.defs: * pango/pango.def: Update. svn path=/trunk/; revision=2675
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-2210-10/+10
| | | | | | | | | | | | 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
* Wait for convert(1) to finish. Patch by Jamie Guinan.Behdad Esfahbod2008-04-281-1/+7
| | | | | | | | | | 2008-04-28 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-main.c (main): Wait for convert(1) to finish. Patch by Jamie Guinan. svn path=/trunk/; revision=2620
* Bug 469313 – Add pango_layout_set_height() Bug 508179 – PangoGlyphUnitBehdad Esfahbod2008-01-151-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Bug 508007 – Add option for single-paragraph mode to pango-viewBehdad Esfahbod2008-01-081-0/+4
| | | | | | | | | | | | 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
* Fix assertion in pango_gravity_get_rotation().Behdad Esfahbod2007-12-061-1/+1
| | | | | | | | | | 2007-12-05 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-pangocairo.c (render_callback): Fix assertion in pango_gravity_get_rotation(). svn path=/trunk/; revision=2515
* Bug 474708 – pangocairo leaks memoryBehdad Esfahbod2007-09-081-1/+1
| | | | | | | | | | | | | | 2007-09-07 Behdad Esfahbod <behdad@gnome.org> Bug 474708 – pangocairo leaks memory * pango-view/viewer-pangocairo.c (pangocairo_view_create): Use pango_cairo_font_map_new() instead of pango_cairo_font_map_get_default(), so the font map is freed at the end so we can use valgrind to detect leaks without noise. svn path=/trunk/; revision=2425
* MinorBehdad Esfahbod2007-08-301-3/+4
| | | | svn path=/trunk/; revision=2419
* Fix Japanese text. Patch from Ben KonrathBehdad Esfahbod2007-05-282-2/+2
| | | | | | | | | | | 2007-05-28 Behdad Esfahbod <behdad@gnome.org> * pango-view/test-mixed.markup: * pango-view/test-mixed.txt: Fix Japanese text. Patch from Ben Konrath svn path=/trunk/; revision=2322