summaryrefslogtreecommitdiff
path: root/tests/testiter.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add more glyph item iter testsMatthias Clasen2021-07-071-4/+13
|
* testiter: Add more debug spewMatthias Clasen2019-07-221-2/+9
|
* testiter: Don't leak PangoFontDescriptionsTimm Bäder2017-10-271-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=788643
* Give testcases distinct names1.37.4Matthias Clasen2015-09-011-1/+1
| | | | GLib enforces this now.
* [test] Use latin-only fontBehdad Esfahbod2015-09-011-0/+6
| | | | | Exposes an assertion failure: https://bugzilla.gnome.org/show_bug.cgi?id=541608
* Add test for glyphitem-iterBehdad Esfahbod2015-08-081-0/+52
| | | | Fails right now. Fix coming.
* MinorBehdad Esfahbod2015-08-081-6/+5
|
* Make tests installableMatthias Clasen2013-05-311-5/+12
| | | | This ensures that tests are run continuously on ostree.gnome.org.
* Avoid compiler warnings in testiter.cMatthias Clasen2013-01-071-4/+1
| | | | | Drop an unused variable, and don't call the deprecated pango_cairo_font_map_create_context().
* *.c, *.h: Drop trailing whitespace.Behdad Esfahbod2007-01-161-22/+22
| | | | | | | | | 2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Drop trailing whitespace. svn path=/trunk/; revision=2163
* Make tests/examples do use generated pango.modules. (bug #328291)Behdad Esfahbod2006-01-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-23 Behdad Esfahbod <behdad@gnome.org> Make tests/examples do use generated pango.modules. (bug #328291) * examples/pangorc, tests/pangorc: Removed. Moved to modules/. * examples/pangox.aliases: Removed. Moved to pango/. * examples/Makefile.am, tests/Makefile.am: Remove pango.modules creation stuff, copy pangorc from $(srcdir)/../modules/pangorc insteadd. * examples/renderdemo.c: Add --pangorc option, default to ./pangorc. Setenv PANGO_RC_FILE to whatever pangorc file decided. * tests/*.c: Setenv PANGO_RC_FILE to ./pangorc. * pango/pangox.aliases: Added. * pango/Makefile.am: Install pangox.aliases. * modules/pangorc: Added. * modules/Makefile.am: Create pango.modules. Added pangorc. * modules/.cvsignore, examples/.cvsignore, tests/.cvsignore: Updated.
* Turn various gcc warnings off. Adding const, adding static, fullyBehdad Esfahbod2005-11-041-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix up the operation of PangoLayoutIter, especially for Bidi (#89541,Owen Taylor2005-06-211-0/+240
2005-06-21 Owen Taylor <otaylor@redhat.com> Fix up the operation of PangoLayoutIter, especially for Bidi (#89541, based on a patch from Amit Aronovitch) * pango/pango-layout.c: Many changes to make iteration consistently in visual order. * pango/pango-layout.c (pango_layout_iter_next_char): Iterate through each character in the layout exactly once. (Including a hack to get two iterator positions for \r\n) * pango/pango-layout.c (pango_layout_iter_next_cluster): Only iterate through real clusters: that is, positions in the layout that have glyphs. * tests/testiter.c tests/Makefile.am: Add a (somewhat reworked) test from Amit for the operation of PangoLayoutIter.