summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Change to follow the "Email: email@address.com" pattern.Behdad Esfahbod2006-01-311-2/+4
|
* Improve documentation for functions allocating memory, on how the objectBehdad Esfahbod2006-01-3119-67/+132
| | | | | | | | | | | | | | | | 2006-01-31 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c, pango/glyphstring.c pango/pango-attributes.c pango/pango-color.c, pango/pango-context.c pango/pango-coverage.c, pango/pango-fontset.c pango/pango-glyph-item.c, pango/pango-item.c pango/pango-layout.c, pango/pango-ot-buffer.c pango/pango-ot-info.c, pango/pango-ot-ruleset.c pango/pango-script.c, pango/pango-tabs.c pango/pango-utils.c pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c pango/pangox-fontcache.c, pango/pangoxft-render.c: Improve documentation for functions allocating memory, on how the object should be freed.
* === Released 1.11.3 ===PANGO_1_11_3Behdad Esfahbod2006-01-313-3/+18
| | | | | | | | | | 2006-01-30 Behdad Esfahbod <behdad@gnome.org> * === Released 1.11.3 === * configure.in: Version 1.11.3 * NEWS: Updated.
* Improve error handling in high-frequency functions: Only warn once.Behdad Esfahbod2006-01-317-17/+84
| | | | | | | | | | | | | | | 2006-01-30 Behdad Esfahbod <behdad@gnome.org> * pango/shape.c (pango_shape): * pango/fonts.c (pango_font_get_glyph_extents): * pango/pangocairo-font.c (_pango_cairo_font_install): Improve error handling in high-frequency functions: Only warn once. * pango-impl-utils.h, pangoutils.h: * pangocairo-private.h, pangocairo-font.c: Add machinery for above: _pango_warning_history and _pango_cairo_warning_history.
* Oops, removed all my changes the other time :(Behdad Esfahbod2006-01-308-341/+618
| | | | | | | | | | | | 2006-01-30 Behdad Esfahbod <behdad@gnome.org> Bug 328314 – Examples should use GOption instead of argcontext.c Patch from Antoine Dopffer. * examples/renderdemo.c: Use GOption for parsing cmd-line options. * examples/argcontext.c, examples/argcontext.h: Removed.
* Bug 328314 – Examples should use GOption instead of argcontext.c PatchBehdad Esfahbod2006-01-304-592/+13
| | | | | | | | | | | | 2006-01-30 Behdad Esfahbod <behdad@gnome.org> Bug 328314 – Examples should use GOption instead of argcontext.c Patch from Antoine Dopffer. * examples/renderdemo.c: Use GOption for parsing cmd-line options. * examples/renderdemo.c, examples/renderdemo.h: Removed.
* Handle GSUB Lookup type 8, and ReverseChainContextualSubst table. (bugBehdad Esfahbod2006-01-305-117/+493
| | | | | | | | 2006-01-30 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/ftxgsub.c: Handle GSUB Lookup type 8, and ReverseChainContextualSubst table. (bug #149696, patch from Aamir Wali)
* If locking font face failed, do not assert, just return zero glyphs withBehdad Esfahbod2006-01-2940-168/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-29 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c, modules/basic/basic-fc.c modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c modules/thai/thai-ot.c, modules/thai/thai-shaper.c modules/tibetan/tibetan-fc.c: If locking font face failed, do not assert, just return zero glyphs with an implicit warning. * pango/fonts.c, pango/glyphstring.c pango/modules.c pango/pango-color.c, pango/pango-context.c pango/pango-coverage.c, pango/pango-fontmap.c pango/pango-glyph-item.c, pango/pango-item.c pango/pango-layout.c, pango/pango-markup.c pango/pango-ot-buffer.c, pango/pango-script.c pango/pango-tabs.c, pango/pango-utils.c pango/pangoatsui-fontmap.c, pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c pango/pangocairo-win32font.c, pango/pangofc-font.c pango/pangofc-fontmap.c, pango/pangoft2-fontmap.c pango/pangoft2-render.c, pango/pangoft2.c pango/pangowin32-fontcache.c, pango/pangoxft-font.c pango/pangoxft-render.c, pango/break.c pango/ellipsize.c: Use g_slice for allocating all types. Also, change some g_error's to g_critical's...
* Do not crash if the (win32 typically) shaper fails. Bug #304702:Behdad Esfahbod2006-01-292-9/+16
| | | | | | | | | | | | | | | | 2006-01-29 Behdad Esfahbod <behdad@gnome.org> Do not crash if the (win32 typically) shaper fails. Bug #304702: * pango/pango-engine.c (_pango_engine_shape_shape): Set num_glyphs to zero if failing. * pango/pango-shape.c (pango_shape): Instead of crashing if the shaper failed to produce any glyphs, print out a warning message containing the name of the font, and mark the font such that we don't keep printing warning for the same font. Moreover, inject one whitespace glyph per character, so you just see nothing, but everything works otherwise.
* Do not crash if the (win32 typically) shaper fails. Bug #304702:Behdad Esfahbod2006-01-294-6/+54
| | | | | | | | | | | | | | 2006-01-29 Behdad Esfahbod <behdad@gnome.org> Do not crash if the (win32 typically) shaper fails. Bug #304702: * pango/pango-engine.c (_pango_engine_shape_shape): Set num_glyphs to zero if failing. * pango/pango-shape.c (pango_shape): Instead of crashing if the shaper failed to produce any glyphs, print out a warning message containing the name of the font, and mark the font such that we don't keep printing warning for the same font.
* Revert last patch again :(.Behdad Esfahbod2006-01-292-91/+19
|
* Create fake Bold, Italic, and Bold Italic faces for fonts that do not haveBehdad Esfahbod2006-01-292-19/+89
| | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pangofc-fontmap.c: Create fake Bold, Italic, and Bold Italic faces for fonts that do not have one. (bug #319808, James Su)
* Removed.Behdad Esfahbod2006-01-292-1/+4
| | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * .cvsusers: Removed.
* Reverted the tab alignments patch.Behdad Esfahbod2006-01-297-143/+21
|
* Fixed incomplete entry.Behdad Esfahbod2006-01-281-2/+2
|
* Implement other tab alignments. Bug #325547, Itai Bar-Haim.Behdad Esfahbod2006-01-289-201/+323
| | | | | | | | | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> Implement other tab alignments. Bug #325547, Itai Bar-Haim. * docs/tmpl/tab-stops.sgml: Documented new tab alignment enum vals. * pango/pango-tabs.h, pango/pango-tabs.c: Added support for tab alignments PANGO_TAB_RIGHT and PANGO_TAB_CENTER. * examples/renderdemo.h, examples/renderdemo.c: Added support for --tab-spec. * examples/GLASS.utf8, examples/HELLO.utf8: Cleaned up tabs.
* Document PangoOTBuffer and PangoOTGlyph.Behdad Esfahbod2006-01-2812-48/+79
| | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * doc/tmpl/opentype.sgml: Document PangoOTBuffer and PangoOTGlyph. * pango/pango-ot-buffer.c, pango/pango-ot-info.c, pango/pango-ot-ruleset.c: Document remaining symbols.
* Removed.Behdad Esfahbod2006-01-282-2/+4
| | | | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/pango-ot-*: Removed. * pango/pango-ot-*: Added. * pango/Makefile.am, pango/opentype/Makefile.am, doc/Makefile.am: Adjusted.
* Removed.Behdad Esfahbod2006-01-289-28/+36
| | | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/pango-ot-*: Removed. * pango/pango-ot-*: Added. * pango/Makefile.am, pango/opentype/Makefile.am: Adjusted.
* Documentation improvements.Behdad Esfahbod2006-01-287-5/+34
| | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-font.h, pango/pangoft2-render.c, pango/pangowin32.c, pango/pangoxft-render.c, docs/tmpl/xft-fonts.sgml, docs/tmp/atsui-fonts.sgml: Documentation improvements.
* Use AC_HELP_STRING everywhere. Bump required version to 2.56.Behdad Esfahbod2006-01-283-18/+20
| | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * configure.in: Use AC_HELP_STRING everywhere. Bump required version to 2.56. * doc/tmpl/pango-renderer.sgml (PANGO_TYPE_RENDER_PART): Document it.
* Remove pango.modules on uninstall. (bug #328869)Behdad Esfahbod2006-01-276-9/+22
| | | | | | | | | | 2006-01-27 Behdad Esfahbod <behdad@gnome.org> * modules/Makefile.am: Remove pango.modules on uninstall. (bug * #328869) * pango/pango-fontmap.c, pango/pangocairo-*font.c: Better error messages.
* #include <modules.h>. (bug #328632)Behdad Esfahbod2006-01-262-0/+6
| | | | | | 2006-01-26 Behdad Esfahbod <behdad@gnome.org> * pango/pangoatsui-fontmap.c: #include <modules.h>. (bug #328632)
* Fix more ATSUI stuff in build infrastructure. Sigh... (bug #328632)Behdad Esfahbod2006-01-263-6/+16
| | | | | | | 2006-01-26 Behdad Esfahbod <behdad@gnome.org> * pango/modules.h, pango/Makefile.am: Fix more ATSUI stuff in build infrastructure. Sigh... (bug #328632)
* If major.minor of required and available glib versions are the same, addBehdad Esfahbod2006-01-2517-20/+20
| | | | | | | | | 2006-01-25 Behdad Esfahbod <behdad@gnome.org> * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
* Declare int i! (bug #328632)Behdad Esfahbod2006-01-252-0/+6
| | | | | | | 2006-01-25 Behdad Esfahbod <behdad@gnome.org> * pango/pangoatsui-fontmap.c (pango_atsui_family_class_init): Declare int i! (bug #328632)
* Improve docs to say it may return -1.Behdad Esfahbod2006-01-242-1/+6
| | | | | | | 2006-01-24 Behdad Esfahbod <behdad@gnome.org> * pango/pangolayout.c (pango_layout_get_width): Improve docs to say it may return -1.
* Change cwfont to cafont in a couple places.Behdad Esfahbod2006-01-242-3/+8
| | | | | | | 2006-01-24 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-atsuifont.c: Change cwfont to cafont in a couple places.
* Removed, not used for quite a while.Behdad Esfahbod2006-01-242-27/+5
| | | | | | | 2006-01-24 Behdad Esfahbod <behdad@gnome.org> * modules/indic/pango-indic-script.h: Removed, not used for quite a while.
* Removed based on an old ChangeLog entry saying: Remove pangoft2.aliasesBehdad Esfahbod2006-01-242-18/+6
| | | | | | | | 2006-01-24 Behdad Esfahbod <behdad@gnome.org> * examples/pangoft2.aliases: Removed based on an old ChangeLog entry saying: Remove pangoft2.aliases from CVS/distribution; it is no longer used. (#82736, Sven Neumann.)
* Make tests/examples do use generated pango.modules. (bug #328291)Behdad Esfahbod2006-01-2321-98/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Set cluster only on base chars, like the Arabic module does.Behdad Esfahbod2006-01-233-10/+26
| | | | | | | | | | 2006-01-23 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-fc.c: Set cluster only on base chars, like the Arabic module does. * modules/indic/indic-fc.c: Draw an unknown glyph on missing glyphs, like other modules do. (part of bug #326960, LingNing Zhang)
* Added "Since:" in the doc example.Behdad Esfahbod2006-01-222-0/+6
| | | | | | 2006-01-22 Behdad Esfahbod <behdad@gnome.org> * docs/TEXT/coding-style: Added "Since:" in the doc example.
* Removed old file. Filed some bugs out of it.Behdad Esfahbod2006-01-223-411/+4
| | | | | | | | 2006-01-22 Behdad Esfahbod <behdad@gnome.org> * TODO.xml: Removed old file. Filed some bugs out of it. * Makefile.am (EXTRA_DIST): Removed TODO.xml.
* Removed old file. Filed some bugs out of it.Behdad Esfahbod2006-01-222-36/+4
| | | | | | 2006-01-22 Behdad Esfahbod <behdad@gnome.org> * TODO: Removed old file. Filed some bugs out of it.
* Added.Behdad Esfahbod2006-01-214-10/+24
| | | | | | | | | | 2006-01-21 Behdad Esfahbod <behdad@gnome.org> * MAINTAINERS: Added. * AUTHORS: Added myself to contributors. * Makefile.am: Added MAINTAINERS to EXTRA_DIST.
* Fix typo in docs.Behdad Esfahbod2006-01-212-1/+6
| | | | | | | 2006-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fontmap.c (pango_cairo_context_get_font_options): Fix typo in docs.
* Fix docs.Behdad Esfahbod2006-01-212-3/+10
| | | | | | 2006-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.c (pango_matrix_get_font_scale_factor): Fix docs.
* Make matrix parameter const.Behdad Esfahbod2006-01-2116-27/+40
| | | | | | | | | | | | | | | 2006-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-types.h, pango/pango-utils.h (pango_matrix_get_font_scale_factor): Make matrix parameter const. * pango/fonts.c, pango/pango-context.c, pango/pango-coverage.c, pango/pango-fontset.c, pango/pango-layout.c, pango/pango-renderer.c, pango/pango-types.h, pango/pango-utils.c, pango/pangocairo-atsuifont.c, pango/pangofc-font.c, pango/pangoft2-fontmap.c, pango/pangowin32-fontmap.c, pango/pangowin32.c, pango/pangox-fontmap.c, pango/pangoxft-font.c: Replace "Returns:" with "Return value:" in docs.
* Finish ATSUI module work. Bug #322022, Matthias Clasen.Behdad Esfahbod2006-01-216-0/+82
| | | | | | | | | | | | | | | | | | 2006-01-21 Behdad Esfahbod <behdad@gnome.org> Finish ATSUI module work. Bug #322022, Matthias Clasen. * docs/tmpl/atsui-fonts.sgml: Added. * docs/pango-docs.sgml: Updated to reflect above change. * docs/pango-sections.txt: Updated to reflect above change and also document Standard ATSUI symbols. * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_get_atsu_font_id): Add docs. * pango/pangoatsui-fontmap.c: Register included ATSUI modules.
* Small fixes.Behdad Esfahbod2006-01-211-3/+2
| | | | | | 2006-01-20 Behdad Esfahbod <behdad@gnome.org> * examples/cairosimple.c: Small fixes.
* Add a comment about using cairo_scaled_font_text_extents instead ofBehdad Esfahbod2006-01-202-1/+12
| | | | | | | | 2006-01-20 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_get_hex_box_info): Add a comment about using cairo_scaled_font_text_extents instead of cairo_text_extents.
* === Released 1.11.2 ===Behdad Esfahbod2006-01-163-2/+18
| | | | | | | | | | 2006-01-16 Behdad Esfahbod <behdad@gnome.org> * === Released 1.11.2 === * configure.in: Version 1.11.2 * NEWS: Updated.
* Move GLIB_CFLAGS before external libraries' CFLAGS. Some formattingBehdad Esfahbod2006-01-162-16/+52
| | | | | | | 2006-01-16 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: Move GLIB_CFLAGS before external libraries' CFLAGS. Some formatting changes too.
* Adjust the order of *_CFLAGS to the same order known to work. (Fixes bugBehdad Esfahbod2006-01-165-11/+17
| | | | | | | | 2006-01-16 Behdad Esfahbod <behdad@gnome.org> * docs/Makefile.am, examples/Makefile.am, pango/Makefile.am, tests/Makefile.am: Adjust the order of *_CFLAGS to the same order known to work. (Fixes bug #325588)
* Fixes bug #314675, Brian Cameron.Behdad Esfahbod2006-01-163-2/+12
| | | | | | | | | | 2006-01-16 Behdad Esfahbod <behdad@gnome.org> Fixes bug #314675, Brian Cameron. * configure.in: Handle uninstalled cairo. * pangocairo-uninstalled.pc.in: Fix typo: libpangoxft->libpangocairo.
* Remove unused variable clusterSave that was leaking too. (bug #316466,Behdad Esfahbod2006-01-162-2/+5
| | | | | | | 2006-01-16 Behdad Esfahbod <behdad@gnome.org> * modules/indic/mprefixups.c (indic_mprefixups_apply): Remove unused variable clusterSave that was leaking too. (bug #316466, Steve Grubbs)
* Fixes bug #71414, allowing to disable building/installing modules.Behdad Esfahbod2006-01-1613-72/+142
| | | | | | | | | | 2006-01-16 Behdad Esfahbod <behdad@gnome.org> Fixes bug #71414, allowing to disable building/installing modules. * configure.in: Add support for --with-dynamic-modules. * */Makefile.am: Adapt to the above change.
* Draw hexbox for cairo backend. Bug #313551. Based on patch by LingNingBehdad Esfahbod2006-01-147-44/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-14 Behdad Esfahbod <behdad@gnome.org> Draw hexbox for cairo backend. Bug #313551. Based on patch by LingNing Zhang. * pango/pangocairo-private.h (_PangoCairoFontIface): Add new methods: get_font_face and get_scaled_font, and getters: _pango_cairo_font_get_font_face, _pango_cairo_font_get_scaled_font. * pango/pangocairo-private.h: Add _PangoCairoHexBoxInfo, and getter _pango_cairo_get_hex_box_info, and _pango_cairo_get_glyph_extents_missing. * pango/pangocairo-fcfont.c, pango/pangocairo-atsuifont.c, * pango/pangocairo-win32font.c: Export get_font_face and get_scaled_font methods. * pango/pangocairo-fcfont.c: Use * _pango_cairo_get_glyph_extents_missing on missing glyphs. * pango/pangocairo-font.c: Implement _pango_cairo_font_get_font_face, _pango_cairo_font_get_scaled_font, _pango_cairo_get_hex_box_info, and _pango_cairo_get_glyph_extents_missing. * pango/pangocairo-render.c * (_pango_cairo_renderer_draw_unknown_glyph): Added. * pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Cleaned up to use the added function above.
* Make sure #include <config.h> is the first include in the file. (bugBehdad Esfahbod2006-01-1488-32/+116
| | | | | | | 2006-01-14 Behdad Esfahbod <behdad@gnome.org> * */*.c, */*/*.c: Make sure #include <config.h> is the first include in the file. (bug #158870, based on patch by Luis Menina)