summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Fix up places where there is missing or incomplete Copyright and LicenseOwen Taylor2005-07-211-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Owen Taylor <otaylor@redhat.com> Fix up places where there is missing or incomplete Copyright and License information (Reported by William N. Ray) * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed. * pango/opentype/FT-license.txt: Make this the dual-licensing description that covers the FreeType code (FreeType's LICENSE.TXT) rather than the FTL. * pango/opentype/FTL.TXT: Move the FTL (referenced from FT-license.txt) to here. * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h modules/thai/thai-charprop.c modules/thai/thai-shaper.h tools/gen-script-for-lang.c tests/testcolor.c: Add LGPL header and copyright information. * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c modules/thai/thai-ot.[ch]: Add LGPL header. * modules/thai/thai-shaper.c modules/thai/thai-charprop.h: Minor fixes to copyright information. * modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
* Check for a new enough cairo.Matthias Clasen2005-07-211-0/+4
| | | | | | 2005-07-21 Matthias Clasen <mclasen@redhat.com> * configure.in: Check for a new enough cairo.
* Rework handling of context-specific options: drop get_render_key() and addOwen Taylor2005-07-211-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-19 Owen Taylor <otaylor@redhat.com> * pango/pango-fcfontmap.[ch]: Rework handling of context-specific options: drop get_render_key() and add a opaque "context key" (get_context_key() and friends). Also add a function to get the resolution. * pango/pango-fcfontmap.c pango/pangofc-font.h: - Move the 'lang' into the fontset key lookup and get rid of the funky list-of-hash-tables - Make lookups of fontsets and fonts dependent on the context key for the context. - Simplify the pattern/fontset caching to have one finite-size cache rather than an infinite first-level and a finite-size second level. * pango/pangocairo.h pango/pangocairo-private.h pango/pangocairo-fontmap.c: Add pango_cairo_context_get/set_resolution(), pango_cairo_context_set/get_font_options to allow controlling the resolution and font rendering options for a specific PangoContext. * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap pango/pangocairo-win32font.c: Implement resolution and font options handling adapt to related Cairo changes. * docs/pango-sections.txt docs/Makefile.am pango/pangowin32.c: Doc updates and build fixes. * pango/pangofc-fontmap.c (pango_fc_make_pattern): Create patterns with FC_SIZE as well as FC_PIXEL_SIZE to work around a libgnomeprint bug. (#309477)
* Call AC_CANONICAL_HOST before looking at $host. Check for windres onTor Lillqvist2005-07-091-0/+20
| | | | | | | | | | | | | | | | | | | | | | 2005-07-09 Tor Lillqvist <tml@novell.com> * configure.in: Call AC_CANONICAL_HOST before looking at $host. Check for windres on Win32. * pango/Makefile.am: Don't use the scripts in GLib's build/win32 to compile the rc files into resource object files. (This means we lose the build number increment magic, but I doubt it was that useful anyway.) Instead use windres directly. To pass a normal .o file produced by windres through libtool, which wants .lo files, pass it directly to the linker using a -Wl option. Libtool installs/uninstalls the import libraries, no need to do it ourselves. Do install/uninstall the .def files, though. * pango/pango.rc.in * pango/pangoft2.rc.in * pango/pangowin32.rc.in: Correspondingly, use 0 instead of BUILDNUMBER.
* Drop superfluous trailing slash in -I path.Tor Lillqvist2005-06-261-0/+5
| | | | | | | 2005-06-27 Tor Lillqvist <tml@novell.com> * modules/khmer/Makefile.am (INCLUDES): Drop superfluous trailing slash in -I path.
* Don't key off zero-height to know whether to use the "empty extents" ...Owen Taylor2005-06-241-0/+7
| | | | | | | | | | 2005-06-24 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_line_get_extents): Don't key off zero-height to know whether to use the "empty extents" ... this can cause infinite recursion, instead just check !line->runs. (Part of #306415, Thomas Fitzsimmons) : ----------------------------------------------------------------------
* Fix a stray newline (#308887, Ryan Lortie)Owen Taylor2005-06-241-0/+5
| | | | | | | 2005-06-24 Owen Taylor <otaylor@redhat.com> * docs/pango_markup.sgml (linkend): Fix a stray newline (#308887, Ryan Lortie)
* Add back accidentally dropped line (Pointed out by Behdad Esfahbod)Owen Taylor2005-06-221-0/+5
| | | | | | | 2005-06-22 Owen Taylor <otaylor@redhat.com> * modules/khmer/khmer-fc.c (khmer_engine_shape): Add back accidentally dropped line (Pointed out by Behdad Esfahbod)
* Fix C89 var after code issues.Behdad Esfahbod2005-06-211-0/+6
| | | | | | | | 2005-06-21 Behdad Esfahbod <pango@behdad.org> * modules/khmer/khmer-fc.c: Fix C89 var after code issues. * modules/khmer/.cvsignore: Copied from other modules.
* Some additional ChangeLog details from last commitOwen Taylor2005-06-211-0/+8
|
* Fix up the operation of PangoLayoutIter, especially for Bidi (#89541,Owen Taylor2005-06-211-1/+20
| | | | | | | | | | | | | | | | | | | | | 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.
* Go back to honoring alpha in the XftColor passed in; it was a 1.6 => 1.8Owen Taylor2005-06-211-0/+6
| | | | | | | | 2005-06-21 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-render.c (get_renderer): Go back to honoring alpha in the XftColor passed in; it was a 1.6 => 1.8 regression. (#169622, based on a patch from Mikael Magnusson)
* Add a Khmer module by Jens Herden and Javier Sola. (#125605)Owen Taylor2005-06-211-0/+6
| | | | | | | | 2005-06-21 Owen Taylor <otaylor@redhat.com> * modules/khmer configure.in modules/Makefile.am modules/makefile.msc: Add a Khmer module by Jens Herden and Javier Sola. (#125605)
* === Released 1.9.0 ===PANGO_1_9_0Owen Taylor2005-06-201-1/+8
| | | | | | | | | | 2005-06-20 Owen Taylor <otaylor@redhat.com> * === Released 1.9.0 === * NEWS: Update for 1.9.0 * README: Update
* Optimization. Do not g_utf8_get_char at all. (#305323, Paolo Borelli)Behdad Esfahbod2005-06-181-3/+8
| | | | | | | 2005-06-18 Behdad Esfahbod <pango@behdad.org> * pango/break.c (pango_find_paragraph_boundary): Optimization. Do not g_utf8_get_char at all. (#305323, Paolo Borelli)
* Remove excess return (#307741, Damien Carbery)Owen Taylor2005-06-161-0/+5
| | | | | | | 2005-06-16 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c (pango_cairo_fc_font_unlock_face): Remove excess return (#307741, Damien Carbery)
* Mark U+A33, U+A36 as _cn, not _ct, since they are combinations of otherOwen Taylor2005-06-141-0/+6
| | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot-class-tables.c (guruCharClasses): Mark U+A33, U+A36 as _cn, not _ct, since they are combinations of other characters with nutka. (#304174, Sukhjinder Sidhu)
* Misc fixes from Stepan Kasal, #169928Owen Taylor2005-06-141-0/+13
| | | | | | | | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> Misc fixes from Stepan Kasal, #169928 * pangoxft.pc.in: Add requirement on pangoft2 * pangoxft-uninstalled.pc.in: Fix cut-and-paste errors in Name/Description when copying from pangox-uninstalled. * configure.in: Don't call AC_SUBST() unnecessary for XFT_CFLAGS/LIBS.
* Fix some missing case variants in the switch statement. (#169852, MortenOwen Taylor2005-06-141-0/+6
| | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_parse_style): Fix some missing case variants in the switch statement. (#169852, Morten Welinder)
* Hand edit to fix a bug in the 4.0.0 data tables. (#173096, SukhjinderOwen Taylor2005-06-141-0/+10
| | | | | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-script-table.h (struct): Hand edit to fix a bug in the 4.0.0 data tables. (#173096, Sukhjinder Sidhu) * tools/gen-script-table.pl: Some updates to handle newer formats (not actually regenerating tables at the moment, since the changes are large)
* #307433, Sebastien BacherOwen Taylor2005-06-141-0/+11
| | | | | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> #307433, Sebastien Bacher * Makefile.am (EXTRA_DIST): Name the Change.pre-* correctly. * pango/Makefile.am (libpango_1_0_la_SOURCES): Add pango-color-table.h.
* Fix docs, handle a lone '~' (#169851, Morten Welinder)Owen Taylor2005-06-141-0/+5
| | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c: Fix docs, handle a lone '~' (#169851, Morten Welinder)
* Force off gtk-doc in absence of Cairo. (#305652, Amit Aronovitch)Owen Taylor2005-06-141-0/+5
| | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * configure.in: Force off gtk-doc in absence of Cairo. (#305652, Amit Aronovitch)
* Chain up from finalize. (#307547, Paolo Borelli)Owen Taylor2005-06-141-0/+18
| | | | | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (pango_ot_info_finalize) pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_finalize): Chain up from finalize. (#307547, Paolo Borelli) * pango/opentype/pango-ot-info.c (pango_ot_info_finalizer): make accidentally public function static.
* Fix potential leak of state->base_font. (#168930, Ben Maurer, AivarsOwen Taylor2005-06-141-0/+6
| | | | | | | | 2005-06-14 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (itemize_state_finish): Fix potential leak of state->base_font. (#168930, Ben Maurer, Aivars Kalvans)
* Add a (hopefully temporary) cache in front of getting metrics from Cairo.Owen Taylor2005-06-141-0/+8
| | | | | | | | | | 2005-06-10 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c: Add a (hopefully temporary) cache in front of getting metrics from Cairo. * pango/pangocairo-fcfont.c: Remove some cast checks in critical code paths.
* Add a new context_substitute() virtual function that replacesOwen Taylor2005-06-141-0/+14
| | | | | | | | | | | | | | | | 2005-05-17 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.[ch]: Add a new context_substitute() virtual function that replaces default_substitute() and adds a PangoContext argument. * pango/pangocairo.h pango/pangocairo-fontmap.c docs/pango-sections.txt: Add pango_cairo_context_set/get_hinting() to control hinting on individual contexts. * pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c: Implement hinting control for the for the fontconfig/cairo backend.
* update for new cairo_xlib_surface API.Manish Singh2005-05-171-1/+5
| | | | | | Tue May 17 07:21:53 2005 Manish Singh <yosh@gimp.org> * examples/cairoview.c: update for new cairo_xlib_surface API.
* pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Handle glyphOwen Taylor2005-05-161-0/+9
| | | | | | | | | | | 2005-05-16 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents): pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Handle glyph == 0. * modules/indic/indic-ot.h modules/basic/basic-common.h: Treat LINE SEPARATOR as a zero-width character.
* Include Xlib.h explicitely before include Xutil.h, since Xutil.h doesn'tOwen Taylor2005-05-161-0/+6
| | | | | | | | 2005-05-16 Owen Taylor <otaylor@redhat.com> * examples/cairoview.c: Include Xlib.h explicitely before include Xutil.h, since Xutil.h doesn't include Xlib.h on some platforms. (#304317, Damien Carbery)
* #include Xutil.h explicitly, update for renamed cairo API.52005-05-141-0/+5
| | | | | | | Fri May 13 23:54:29 2005 <yosh@gimp.org> * examples/cairoview.c: #include Xutil.h explicitly, update for renamed cairo API.
* Update for cairo API change. (pango_cairo_win32_font_get_metrics): Fix x/yOwen Taylor2005-05-121-0/+6
| | | | | | | | 2005-05-11 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-win32font.c (pango_cairo_win32_font_install): Update for cairo API change. (pango_cairo_win32_font_get_metrics): Fix x/y typo.
* Remove some accidentally deleted code.Owen Taylor2005-05-071-0/+5
| | | | | | | 2005-05-07 Owen Taylor <otaylor@redhat.com> * examples/cairoview.c (update): Remove some accidentally deleted code.
* Update for Cairo API changes.Owen Taylor2005-05-071-0/+6
| | | | | | | | 2005-05-07 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fontmap.c pango/pangocairo-render.c examples/cairosimple.c pango/pangocairo-fcfont.c examples/cairoview.c: Update for Cairo API changes.
* Get the ascent/descent from Cairo to fix bugs in metrics computation withOwen Taylor2005-05-021-5/+5
| | | | | | | | 2005-04-29 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents): Get the ascent/descent from Cairo to fix bugs in metrics computation with a transformation in effect.
* Remove a stray conflict indicatorOwen Taylor2005-05-011-1/+0
|
* Fix for the change of cairo_clip() not to preserve the path.Owen Taylor2005-05-011-0/+12
| | | | | | | 2005-05-01 Owen Taylor <otaylor@redhat.com> * examples/cairoview.c: Fix for the change of cairo_clip() not to preserve the path.
* Correct parameters passed to MultiByteToWideChar(). Pass -1 as sourceTor Lillqvist2005-04-281-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-28 Tor Lillqvist <tml@novell.com> * pango/pangocairo-win32font.c (pango_cairo_win32_font_get_font_face): Correct parameters passed to MultiByteToWideChar(). Pass -1 as source string length so that the target string gets zero-terminated. Size of target array is in number of WCHARs, not number of bytes. Add support to pangowin32 for TrueType fonts with coverage outside the BMP. Fix handling of surrogate pairs in the Uniscribe shaper. (#302238) * pango/pangowin32-private.h (PangoWin32Face): Rename the unicode_table field to cmap. Keep track of its format (4 or 12). (format_12_cmap): Add struct for a format 12 cmap. * pango/pangowin32.c: Corresponding changes. Rename internal functions a bit. (get_format_12_cmap): New function, reads a format 12 cmap. (font_get_cmap): Look for both format 12 (which is preferred) and format 4 cmaps. (pango_win32_font_get_glyph_index, pango_win32_font_calc_coverage): Handle also format 12 cmaps. * modules/basic/basic-win32.c: Handle surrogate pairs in wchar_t strings properly. (unichar_index): New function. Given a wchar_t string and an index into it, calculate the index of the corresponding Unicode character. Each surrogate pair in the wchar_t is just one Unicode character. (set_up_pango_log_clusters, itemize_shape_and_place): Use unichar_index() instead of direct index into wchar_t string.
* Update to new Cairo API for writing out PNGs.Manish Singh2005-04-271-0/+4
| | | | | | Wed Apr 27 15:45:06 2005 Manish Singh <yosh@gimp.org> * examples/cairoview.c: Update to new Cairo API for writing out PNGs.
* Cleanups.Changwoo Ryu2005-04-271-0/+4
| | | | | | 2005-04-28 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h: Cleanups.
* handles zero width chars, patch by Young-Ho Cha. (#157565)Changwoo Ryu2005-04-241-0/+5
| | | | | | | 2005-04-25 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-fc.c (render_basic): handles zero width chars, patch by Young-Ho Cha. (#157565)
* Update to new Cairo API for setting color and opacity.Manish Singh2005-04-181-0/+5
| | | | | | | Mon Apr 18 15:49:36 2005 Manish Singh <yosh@gimp.org> * examples/cairoview.c: Update to new Cairo API for setting color and opacity.
* Rename LDADDS to libpango_ot_la_LIBADD to actually make libpango-ot.laTor Lillqvist2005-04-121-0/+9
| | | | | | | | | | | 2005-04-12 Tor Lillqvist <tml@novell.com> * pango/opentype/Makefile.am: Rename LDADDS to libpango_ot_la_LIBADD to actually make libpango-ot.la link with it. * pango/pangowin32.def: Rename get_scale_factor to get_metrics_factor here, too. (#300222, Ivan Wong)
* #include <pixman.h> since the cairo headers don't include it for usManish Singh2005-04-081-0/+5
| | | | | | | Fri Apr 8 15:30:55 2005 Manish Singh <yosh@gimp.org> * examples/cairoview.c: #include <pixman.h> since the cairo headers don't include it for us anymore.
* File Edit Options Buffers Tools HelpOwen Taylor2005-04-081-2/+5
| | | | | | | 2005-04-08 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-font.c (_pango_cairo_font_install): Remove stray return. (#173046, Damien Carbery)
* Test for renamed cairo_ft_scaled_font_lock_face().Manish Singh2005-04-081-0/+4
| | | | | | Thu Apr 7 22:45:32 2005 Manish Singh <yosh@gimp.org> * configure.in: Test for renamed cairo_ft_scaled_font_lock_face().
* Test for renamed cairo_win32_scaled_font_select_font().Owen Taylor2005-04-071-0/+10
| | | | | | | | | | | | 2005-04-07 Owen Taylor <otaylor@redhat.com> * configure.in: Test for renamed cairo_win32_scaled_font_select_font(). * pango/pangocairo-win32font.c: Fix various compilation errors. * pango/pangocairo-fcfont.c pango/pangocairo-win32font.c pango/pangocairo-fontmap.c: Use new matrix API.
* Update to new Cairo font API.Owen Taylor2005-04-071-0/+9
| | | | | | | | | | | 2005-04-07 Owen Taylor <otaylor@redhat.com> * pango/pangocairo-fcfont.c pango/pangocairo-win32font.c pango/pangocairo-render.c: Update to new Cairo font API. * pangpopangowin32.h pango/pangowin32-private.h pango/pangowin32.c pango/pangocairo-win32font.c modules/basic/basic-win32.c: Rename get_scale_factor() to get_metrics_factor() to match Cairo
* variable declaration on the start of the block, not C99 everywhere.Hans Breuer2005-04-031-0/+9
| | | | | | | | | | | 2005-04-04 Hans Breuer <hans@breuer.org> * pango/pangocairo-win32font.c(pango_cairor_win32_font_get_metrics) : variable declaration on the start of the block, not C99 everywhere. * examples/viewer-win32.c : updated to not so recent Pango api changes * pango/makefile.msc : pangocairo build win32 version, not freetype
* Update to track removal of cairo_set_target_png from cairo.Carl Worth2005-04-021-0/+5
| | | | | * examples/cairosimple.c: (main): Update to track removal of cairo_set_target_png from cairo.