summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-1-0
Commit message (Collapse)AuthorAgeFilesLines
...
* isspace -> g_ascii_isspace (pango_font_description_from_string): isspaceDarin Adler2002-02-101-0/+16
| | | | | | | | | | | | | | | | * pango/fonts.c: (getword): isspace -> g_ascii_isspace (pango_font_description_from_string): isspace -> g_ascii_isspace * pango/modules.c: Remove unneeded <ctype.h> include. * pango/pango-markup.c: (xml_isspace): New. (pango_parse_markup): isspace -> xml_isspace (span_parse_func): isdigit -> g_ascii_isdigit * pango/pango-utils.c: (pango_trim_string): isspace -> g_ascii_isspace (pango_skip_space): isspace -> g_ascii_isspace (pango_scan_word): isspace -> g_ascii_isspace (pango_scan_string): isspace -> g_ascii_isspace (pango_scan_int): isspace -> g_ascii_isspace * pango/pangoft2-fontmap.c: Remove unneeded <ctype.h> include. * pango/pangox-fontmap.c: Remove unneeded <ctype.h> include.
* Accept also outfile name on command line, fopen it separately then. NeededTor Lillqvist2002-02-071-0/+11
| | | | | | | | | | | | | 2002-02-07 Tor Lillqvist <tml@iki.fi> * examples/pangoft2topgm.c (main): Accept also outfile name on command line, fopen it separately then. Needed on Windows where stdout is in text mode. * modules/arabic/Makefile.am * modules/hebrew/Makefile.am: Use -no-undefined on Windows, otherwise libtool won't produce DLLs, and there will be no such to install
* at Feb 2 18:27:38 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-02-021-0/+9
| | | | | | | | | * pango/Makefile.am (pango_querymodules_LDADD): Try removing libpango.la from the link line since it will be pulled in from the other libraries to avoid duplicate inclusion. (#70400.) * pangox.pc.in (Libs): Add @X_XTRA_LIBS@ (#70400)
* fix cut-and-paste mess name/descriptionHavoc Pennington2002-02-011-0/+5
| | | | | | | 2002-02-01 Havoc Pennington <hp@redhat.com> * pangoxft.pc.in (Description, Name): fix cut-and-paste mess name/description
* move to next element in list.Anders Carlsson2002-02-011-0/+5
| | | | | | | 2002-02-01 Anders Carlsson <andersca@gnu.org> * pango/pangoxft-fontmap.c (pango_xft_get_font_map): move to next element in list.
* Version 0.24PANGO_0_24Owen Taylor2002-01-291-0/+6
| | | | | | | | Tue Jan 29 11:35:11 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Version 0.24 * NEWS: Updates
* Fix problem with detected root node. (Based on patch from Matthias Clasen,Owen Taylor2002-01-291-0/+6
| | | | | | | | Mon Jan 28 20:23:59 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-markup.c (pango_parse_markup): Fix problem with detected root node. (Based on patch from Matthias Clasen, #69600)
* Add some return-if-fails to catch loading size 0 fonts.Owen Taylor2002-01-291-0/+5
| | | | | | | Mon Jan 28 19:41:20 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (pango_context_load_font[set]): Add some return-if-fails to catch loading size 0 fonts.
* Fix problems with computing the length of the paragraph delimiter.Owen Taylor2002-01-241-0/+5
| | | | | | | Thu Jan 24 18:05:54 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (get_items_log_attrs): Fix problems with computing the length of the paragraph delimiter. (Reported by Evan Martin)
* configure.in modules/arabic/Makefile.am added arabic shaper for FT2 portedSven Neumann2002-01-241-0/+7
| | | | | | | | | 2002-01-24 Sven Neumann <sven@gimp.org> * configure.in * modules/arabic/Makefile.am * modules/arabic/arabic-ft2.c: added arabic shaper for FT2 ported from arabic-xft.c by Andreas Bogk <andreas@convergence.de>.
* Remove this file; pangofttopgm is the test case for the FT2 backend now.Owen Taylor2002-01-231-0/+11
| | | | | | | | | | | | | Wed Jan 23 16:49:24 2002 Owen Taylor <otaylor@redhat.com> * examples/viewer-ft2.c: Remove this file; pangofttopgm is the test case for the FT2 backend now. * examples/Makefile.am: Don't dist moc_viewer-qt.cc. * examples/Makefile.am: Build pangofttopgm if we have FT2. * examples/pangoft2topgm.c (main): Warning fixes.
* fix memory leak of "text", reported by Jason TackaberryHavoc Pennington2002-01-211-0/+5
| | | | | | | 2002-01-21 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_set_markup_with_accel): fix memory leak of "text", reported by Jason Tackaberry
* Clean up underline drawing. Fixes segfaults.Alexander Larsson2002-01-201-0/+5
| | | | | | | 2002-01-20 Alexander Larsson <alla@lysator.liu.se> * pango/pangoft2.c (pango_ft2_draw_hline): Clean up underline drawing. Fixes segfaults.
* Add a AC_TRY_LINK() for qt, since broken setups seem to be common.Owen Taylor2002-01-191-0/+7
| | | | | | | | | Sat Jan 19 11:50:32 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Add a AC_TRY_LINK() for qt, since broken setups seem to be common. * configure.in: Save ACLOCAL_FLAGS for --enable-maintainer-mode rebuilds.
* Add glyph_cache_destroy to PangoFont. This is slightly ugly, we shouldAlexander Larsson2002-01-181-0/+19
| | | | | | | | | | | | | | | | | | | | | 2002-01-18 Alexander Larsson <alla@lysator.liu.se> * pango/pangoft2-private.h: Add glyph_cache_destroy to PangoFont. This is slightly ugly, we should perhaps have it in the FontMap, but it was easy. Added cached_glyph to PangoFT2GlyphInfo. This can be used by apps that want to have a glyph cache. Only one user per PangoContext though. Right now it is only internally accessible. Added pango_ft2_font_get_cache_glyph_data(), pango_ft2_font_set_cache_glyph_data() and pango_ft2_font_set_glyph_cache_destroy() to access this functionallity * pango/pangoft2.c: Implement glyph caching for pango_ft2_render_layout(). Unbounded caching right now. We should probably limit this in order to not use a lot of memory if the user displayed a lot of glyphs once, and then doesn't use them anymore.
* include missing header filejacob berkman2002-01-171-0/+5
| | | | | | | 2002-01-17 jacob berkman <jacob@ximian.com> * modules/hebrew/Makefile.am (common_sources): include missing header file
* A string ending in a paragraph delimiter has an empty line at the end.Owen Taylor2002-01-161-0/+6
| | | | | | | | Wed Jan 16 14:45:23 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_check_lines): A string ending in a paragraph delimiter has an empty line at the end. (#68079, Arjan J. Molenaar.)
* Initialize the static_family field. (Fix from Zack Rusin)Owen Taylor2002-01-161-0/+6
| | | | | | | Wed Jan 16 09:25:34 2002 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_from_string): Initialize the static_family field. (Fix from Zack Rusin)
* slight correction to pango_layout_get_extents(), docs still need to beHavoc Pennington2002-01-141-0/+11
| | | | | | | | | | | | | 2002-01-14 Havoc Pennington <hp@pobox.com> * pango/pango-layout.c: slight correction to pango_layout_get_extents(), docs still need to be clearer, but at least they aren't a cut-and-paste of glyph string docs now. * docs/tmpl/glyphs.sgml: add note about special-case use of PANGO_SCALE with font sizes * pango/fonts.c: fix docs to be correct about PANGO_SCALE
* fix up docs to be clearer about PANGO_SCALE, as suggested by DennisHavoc Pennington2002-01-131-0/+5
| | | | | | | 2002-01-13 Havoc Pennington <hp@pobox.com> * pango/fonts.c: fix up docs to be clearer about PANGO_SCALE, as suggested by Dennis Bjorklund
* fix cross-references in hereHavoc Pennington2002-01-121-0/+4
| | | | | | 2002-01-11 Havoc Pennington <hp@pobox.com> * docs/pango_markup.sgml: fix cross-references in here
* allow setting attrs to NULLHavoc Pennington2002-01-111-0/+5
| | | | | | 2002-01-11 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_set_attributes): allow setting attrs to NULL
* docs tweak (pango_layout_iter_next_cluster): update iter->index hereHavoc Pennington2002-01-111-0/+5
| | | | | | 2002-01-11 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_iter_get_index): docs tweak (pango_layout_iter_next_cluster): update iter->index here
* Split comma separated family names and add them in pieces, so they are allOwen Taylor2002-01-111-0/+10
| | | | | | | | | | | | Fri Jan 11 15:01:13 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontmap.c (pango_ft2_make_pattern) pango/pangoxft-fontmap.c (pango_xft_make_pattern): Split comma separated family names and add them in pieces, so they are all visible to Xft. * pango/pangoxft-fontmap.c: Remove duplicate XFT_FAMILY in call to XftListFonts.
* Fix read of unitialized memory (#66067, Hidetoshi Tajima)Owen Taylor2002-01-101-0/+5
| | | | | | | Thu Jan 10 16:27:24 2002 Owen Taylor <otaylor@redhat.com> * pango/mini-fribidi/fribidi.c: Fix read of unitialized memory (#66067, Hidetoshi Tajima)
* Don't offset the logical rect by y_offset - this generally is not desired,Owen Taylor2002-01-101-0/+7
| | | | | | | | | | Thu Jan 10 15:04:31 2002 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_extents_range): Don't offset the logical rect by y_offset - this generally is not desired, since it means that the logical height of a line could change if it included accented characters. (#67921, Dov Grobgeld)
* Add g_error if font match fails, referencing bug #68030, which is theAlex Larsson2002-01-101-0/+6
| | | | | | | | 2002-01-09 Alex Larsson <alexl@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_font_map_load_fontset): Add g_error if font match fails, referencing bug #68030, which is the "libXrender is broken" bug.
* g_return_if_fail() if the desc's family is NULL. (#67947, report fromOwen Taylor2002-01-091-0/+6
| | | | | | | | Wed Jan 9 18:51:02 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (pango_context_load_font): g_return_if_fail() if the desc's family is NULL. (#67947, report from Darin Adler.)
* Include glib-object.h, Add G_BEGIN_DECLS/END_DECLS to pango-enum-types.h.Owen Taylor2002-01-091-0/+6
| | | | | | | | Wed Jan 9 11:23:31 2002 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (s-enum-types-h): Include glib-object.h, Add G_BEGIN_DECLS/END_DECLS to pango-enum-types.h. (#68325, Mikael Hermansson)
* Update the field mask in the merged description.Owen Taylor2002-01-021-0/+5
| | | | | | | Tue Jan 1 20:52:00 2002 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_merge[_static]): Update the field mask in the merged description.
* Silence gcc -Wall, initialise a couple of variables.Tor Lillqvist2002-01-011-0/+6
| | | | | | | | | | | | 2002-01-02 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_render_layout_line): Silence gcc -Wall, initialise a couple of variables. * pango/pangowin32-fontmap.c: (pango_win32_insert_font): Store "courier new" also under the name "courier", as that is what gtk-demo (and presumably often other applications, too?) looks for.
* Set lfCharSet to DEFAULT_CHARSET always. Conditional debugging output withTor Lillqvist2002-01-011-0/+15
| | | | | | | | | | | | | | | | | 2002-01-02 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Set lfCharSet to DEFAULT_CHARSET always. Conditional debugging output with the PING() macro. * pango/pangowin32-fontmap.c: Make the size_infos hash table actually work like it is suppposed to, not that I know if it matters. I think that it's useless to store all the different charset views of the same actual ttf font in the list. Will have to do more testing. (logfont_nosize_hash): Lowercase face name before calculating hash. (logfont_nosize_equal): Compare face names ignoring case.
* Mark as only an approximate match for Hebrew, so the Hebrew shaper will beOwen Taylor2001-12-271-0/+6
| | | | | | | | Thu Dec 27 14:19:46 2001 Owen Taylor <otaylor@redhat.com> * modules/basic/basic-x.c: Mark as only an approximate match for Hebrew, so the Hebrew shaper will be used in preference. (#67557, Dov Grobgeld)
* pango/pango-fontmap.c (pango_font_map_load_fontset) return_val_if_fail()Owen Taylor2001-12-261-0/+6
| | | | | | | | Wed Dec 26 11:52:28 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-fontmap.c (pango_font_map_load_fontset) * pango/pango-context.c (pango_context_load_fontset): return_val_if_fail() if desc->family is not set.
* Version 0.23, require glib-1.3.12PANGO_0_23Owen Taylor2001-12-231-0/+8
| | | | | | | | | | Sat Dec 22 12:14:25 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Version 0.23, require glib-1.3.12 * pango/makefile.msc (PANGO_VER): 0.23. * NEWS: Updated.
* Patch from Roozbeh Pournader to update for shaping class changes inOwen Taylor2001-12-221-0/+6
| | | | | | | | Sat Dec 22 11:49:38 2001 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-ot.c: Patch from Roozbeh Pournader to update for shaping class changes in Unicode 3.1.1.
* Fix doc comment.Owen Taylor2001-12-201-0/+5
| | | | | | Thu Dec 20 00:18:10 2001 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_picture_render): Fix doc comment.
* Remove incorrect special casing of initial line. (Reported by Darin Adler)Owen Taylor2001-12-201-0/+6
| | | | | | | Wed Dec 19 22:40:24 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (get_line_extents_layout_coords): Remove incorrect special casing of initial line. (Reported by Darin Adler)
* Syllable array needs to start at length 2, not 1. Also, some cleanups.Owen Taylor2001-12-181-0/+7
| | | | | | | | Tue Dec 18 12:33:03 2001 Owen Taylor <otaylor@redhat.com> * modules/indic/*-x.c (pango_engine_shape): Syllable array needs to start at length 2, not 1. Also, some cleanups. (Memory overrun reported by Joshua Pritikin #66850)
* Fix doc comment. Move include outside G_BEGIN_DECLS. Add const to avoidDarin Adler2001-12-171-0/+7
| | | | | | | * pango/pangoft2.c: Fix doc comment. * pango/pangoft2.h: Move include outside G_BEGIN_DECLS. * pango/querymodules.c: (main): Add const to avoid warning. * tests/dump-boundaries.c: (fail): Remove unused local.
* use (PangoLanguage *) instead of (const gchar *) to please the compiler.Sven Neumann2001-12-141-0/+5
| | | | | | | 2001-12-14 Sven Neumann <sven@gimp.org> * modules/hebrew/hebrew-x.c (hebrew_engine_get_coverage): use (PangoLanguage *) instead of (const gchar *) to please the compiler.
* Compile with -DG_DISABLE_DEPRECATED. See #52790.Sebastian Wilhelmi2001-12-131-0/+10
| | | | | | | | | | | | 2001-12-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * examples/Makefile.am, modules/arabic/Makefile.am, modules/basic/Makefile.am, modules/hangul/Makefile.am, modules/hebrew/Makefile.am, modules/indic/Makefile.am, modules/tamil/Makefile.am, modules/thai/Makefile.am, pango/Makefile.am, pango/mini-fribidi/Makefile.am, pango/opentype/Makefile.am, tests/Makefile.am: Compile with -DG_DISABLE_DEPRECATED. See #52790.
* include config.h so the definition of MINI_XFTCONFIG_DIR is actually usedSven Neumann2001-12-121-0/+6
| | | | | | | | 2001-12-12 Sven Neumann <sven@gimp.org> * pango/mini-xft/minixftinit.c: include config.h so the definition of MINI_XFTCONFIG_DIR is actually used (spotted by Sebastian Klemke <packet@convergence.de>).
* Initialize MiniXft library before calling MiniXftConfigSubstitute.Alexander Larsson2001-12-121-0/+9
| | | | | | | | | | | 2001-12-12 Alexander Larsson <alla@lysator.liu.se> * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_fontset): Initialize MiniXft library before calling MiniXftConfigSubstitute. * pango/mini-xft/minixftdir.c (MiniXftDirScan): Changed back filename from MiniXftCache to XftCache for compat with Xft.
* Fix the details in clipping to the bitmap size.Alex Larsson2001-12-121-0/+5
| | | | | | | 2001-12-11 Alex Larsson <alexl@redhat.com> * pango/pangoft2.c (pango_ft2_render): Fix the details in clipping to the bitmap size.
* change "EUC-CN" to "GB2312" which is the canonical name for gb2312.1980Hidetoshi Tajima2001-12-101-0/+6
| | | | | | * modules/basic/tables-big.i: change "EUC-CN" to "GB2312" which is the canonical name for gb2312.1980 charset used in libcharset. (#66174)
* Fix problem with returned width on lines other than the first lineOwen Taylor2001-12-101-0/+10
| | | | | | | | | | Mon Dec 10 09:18:09 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_index_to_pos): Fix problem with returned width on lines other than the first line (#66274). * pango/pangox,ft2,win32.c (pango_*_render_layout): Fix problem where indent wasn't honored (#66275). [ Note, however, there are remaining problems - see, #66626 ]
* Fix problem where length passed in didn't get adjusted for paragraphOwen Taylor2001-12-071-0/+6
| | | | | | | | Thu Dec 6 19:07:31 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (get_items_log_attrs): Fix problem where length passed in didn't get adjusted for paragraph delimiters.
* erp, forgot changelog entry for my last commitManish Singh2001-12-061-1/+6
|
* hu Dec 6 12:10:53 2001 Owen Taylor <otaylor@redhat.com>Owen Taylor2001-12-061-0/+11
| | | | | | | | | | * pango/break.c (pango_default_break): Simplify by being lazy and calling g_utf8_strlen() (causes a two passes over the array but shouldn't be a huge performance loss). Fix bug where attributes weren't set correctly for empty strings. Handle internal NULLs consistently with other functions (truncate) rather than dying with an assertion failure. (#65183)