summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Version 0.23, require glib-1.3.12PANGO_0_23Owen Taylor2001-12-2311-4/+74
| | | | | | | | | | 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-228-3/+45
| | | | | | | | 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-208-1/+36
| | | | | | 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-208-5/+43
| | | | | | | 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-1812-10/+59
| | | | | | | | 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-1711-5/+53
| | | | | | | * 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-148-2/+37
| | | | | | | 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.
* Resuming aborted commitSebastian Wilhelmi2001-12-136-3/+7
| | | | Resuming aborted commit
* Compile with -DG_DISABLE_DEPRECATED. See #52790.Sebastian Wilhelmi2001-12-1313-5/+76
| | | | | | | | | | | | 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-128-2/+46
| | | | | | | | 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-129-5/+68
| | | | | | | | | | | 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-128-22/+55
| | | | | | | 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-108-1/+43
| | | | | | * 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-1011-4/+74
| | | | | | | | | | 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-078-1/+46
| | | | | | | | 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-067-7/+42
|
* hu Dec 6 12:10:53 2001 Owen Taylor <otaylor@redhat.com>Owen Taylor2001-12-068-25/+98
| | | | | | | | | | * 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)
* handle codeset1(right half of jisx0201.1976) and codeset3(jisx0212.1990)Hidetoshi Tajima2001-12-069-2275/+2379
| | | | | | | | | * modules/basic/basic-x.c (conv_eucjp): handle codeset1(right half of jisx0201.1976) and codeset3(jisx0212.1990) of EUCJP (conv_16bit): renamed from the old conv_euc - handle 16bit character sets only. * modules/basic/tables-big.i: add jisx0212, jisx0201 and big5.
* pango/modules.c g_module_symbol takes a gpointer *, not just a gpointer.Manish Singh2001-12-053-4/+5
| | | | | | | | 2001-12-04 Manish Singh <yosh@gimp.org> * pango/modules.c * pango/querymodules.c: g_module_symbol takes a gpointer *, not just a gpointer.
* Updates.Matthias Clasen2001-12-0411-20/+75
| | | | | | | * docs/pango-sections.txt, docs/tmpl/fonts.sgml, docs/tmpl/modules.sgml: Updates. * pango/modules.c: Documentation fixes.
* set n_families to -1 (uninitialized). (pango_ft2_font_map_list_families):Sven Neumann2001-12-048-0/+51
| | | | | | | | | 2001-12-04 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c (pango_ft2_font_map_init): set n_families to -1 (uninitialized). (pango_ft2_font_map_list_families): set n_faces to -1 (uninitialized). This makes list_families and list_faces work again for PangoFT2.
* shut up CVSSven Neumann2001-12-031-0/+2
|
* expunge empty directoryGediminas Paulauskas2001-12-031-2/+0
|
* Documentation fixes.Matthias Clasen2001-12-028-2/+32
| | | | * pango/pango-fontset.c: Documentation fixes.
* Documentation updates.Matthias Clasen2001-11-298-0/+49
| | | | * pango/pango-fontset.c: Documentation updates.
* Include qpainter.h - apparently needed for Qt 3. (Patch from DennisOwen Taylor2001-11-298-0/+36
| | | | | | | Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com> * examples/viewer-qt.cc: Include qpainter.h - apparently needed for Qt 3. (Patch from Dennis Dementiev)
* pango/pangoft2-private.h Take extra parameter include_size that determinesAlex Larsson2001-11-2713-9/+145
| | | | | | | | | | | | | | | | | | 2001-11-27 Alex Larsson <alexl@redhat.com> * pango/pangoft2-private.h * pango/pangoft2-fontmap.c (_pango_ft2_font_desc_from_pattern): Take extra parameter include_size that determines if the descriptor includes the size. * pango/pangoft2.c (_pango_ft2_font_new): Include size in ft2font->description. * pango/pangoxft-private.h * pango/pangoxft-fontmap.c (_pango_xft_font_desc_from_pattern): Take extra parameter include_size that determines if the descriptor includes the size. * pango/pangoxft-font.c: Include size in xfont->description.
* Add a test program that includes all headers in a C++ program. (#52606)Owen Taylor2001-11-2710-31/+152
| | | | | | | Mon Nov 26 19:24:21 2001 Owen Taylor <otaylor@redhat.com> * configure.in tests/Makefile.am tests/cxx-test.C: Add a test program that includes all headers in a C++ program. (#52606)
* Don't leak filename copy. Don't leak matched patternAlex Larsson2001-11-279-4/+65
| | | | | | | | 2001-11-26 Alex Larsson <alexl@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_coverage): Don't leak filename copy. * pango/pangoxft-fontmap.c (pango_xft_font_map_load_font): Don't leak matched pattern
* Instead of including all-unicode.txt in the distribution, include a smallOwen Taylor2001-11-2614-5535/+1026
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Nov 26 18:17:00 2001 Owen Taylor <otaylor@redhat.com> * tests/Makefile.am tests/gen-all-unicode.c: Instead of including all-unicode.txt in the distribution, include a small program to generate it. * modules/hangul/hangul-x.c (render_syllable_with_ksc5601): When falling back to uncomposed Jamos, if we can't render a Jamo in any way, use the unknown glyph rather than nothing. * modules/hangul/hangul-x.c (hangul_engine_shape): Prevent overflows for invalid sequences which can be of arbitrary length. (#50086) * modules/arabic/arconv.c: New versions from Roozbeh Pournader. - Replacing the tables with automatically-generated ones - Using binary search instead of linear search for table lookup - Updating all the names with Unicode names (eg Nun -> Noon) - Fixed the Hamza mixup, using the Unicode rules - Updating missed cases (eg Superscript Alef was missing from arabic_isvowel) - Removing too-intelligent cases which made the code non-compliant (eg Alef with Hamza above+Kasra was changing to Alef with Hamza below) - Removing 'connecttoleft' from 'charstruct' (replacing it with a macro) - Indenting in the GNU style
* Documentation.Matthias Clasen2001-11-269-1/+58
| | | | | | | * pango/pangoft2.c (pango_ft2_font_get_coverage): Documentation. * modules/basic/basic-ft2.c (basic_engine_get_coverage): Use pango_font_get_coverage().
* Workaround to work a little better with automake-1.5 - makeOwen Taylor2001-11-268-1/+43
| | | | | | | Mon Nov 26 11:31:01 2001 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am: Workaround to work a little better with automake-1.5 - make $(libpango_la_OBJECTS) as well as $(OBJECTS) depend on pango_built_headers.
* Disable --with-fribidi; it offers no advantages and until either fribidiOwen Taylor2001-11-2610-35/+89
| | | | | | | | | Sun Nov 25 22:35:46 2001 Owen Taylor <otaylor@redhat.com> * configure.in (have_fribidi) README: Disable --with-fribidi; it offers no advantages and until either fribidi is updated to use Glib-2.0 always, or the Glib dependecy is removed from fribidi entirely, there will be problems with this option. * pango/mini-fribidi/README: Update fribidi URL.
* acconfig.h support for --with-xftconfig-dir= path to system XftConfig fileManish Singh2001-11-2414-24/+193
| | | | | | | | | | | | | | | | | | | | 2001-11-24 Manish Singh <yosh@gimp.org> * acconfig.h * configure.in: support for --with-xftconfig-dir= path to system XftConfig file * pango/pango-utils.c * pango/pangox.c: include "config.h", not <config.h> * pango/pangoxft-fontmap.c: this file is pangoxft-fontmap.c, not pangoxft-fontmap.h :) * pango/mini-xft/minixftint.h * pango/mini-xft/minixftinit.c: add code for searching common locations for the XftConfig file. We search MINI_XFTCONFIG_DIR if configure defines it for us (as above), then $sysconfdir, then (only on !_WIN32) /etc/X11 and /usr/X11R6/lib/X11.
* free the font description when we don't need it anymoreKristian Rietveld2001-11-248-0/+37
| | | | | | | Sat Nov 24 13:44:21 2001 Kristian Rietveld <kristian@planet.nl> * pango/pango-fontmap.c (pango_font_map_real_load_fontset): free the font description when we don't need it anymore
* Fix for bug 65183; i.e. do not call g_utf8_next_char(next) when next isPadraig O'Briain2001-11-238-11/+62
| | | | | | * pango/break.c (pango_default_break): Fix for bug 65183; i.e. do not call g_utf8_next_char(next) when next is end.
* removed the arbitrary limit to 10 fonts. Instead make the command lineHans Breuer2001-11-2317-138/+314
| | | | | | | | | | | | | | | | | | | | 2001-11-23 Hans Breuer <hans@breuer.org> * testfonts.c : removed the arbitrary limit to 10 fonts. Instead make the command line params useful again and reduce the default result bitmap size by decreasing the default font size. * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Don't always turn on anti-aliasing. Respect the users settings from 'Properties of Display/Effects'. * pango/makefile.msc : updated, version 0.22 * pango/pango.def : updated externals * pango/font.c pango/pango-coverage.c pango-utils.c pango/pangowin32.c pango/shape.c : coding style and static correctness
* Remove duplicates.Matthias Clasen2001-11-2210-13/+78
| | | | | | | | | * docs/pango-sections.txt: Remove duplicates. * docs/tmpl/fonts.sgml: Document PANGO_TYPE_FONTSET and PANGO_TYPE_FONTSET_SIMPLE. * pango/pangoxft-font.c: Fix typos in some doc comments.
* Version 0.22PANGO_0_22Owen Taylor2001-11-228-1/+50
| | | | | | | | | Thu Nov 22 14:23:07 2001 Owen Taylor <otaylor@redhat.com> * Version 0.22 * configure.in (GLIB_REQUIRED_VERSION): Require GLib-1.3.11
* Version 0.22. Updated Update. Don't look like a doc comment.Owen Taylor2001-11-2116-22/+295
| | | | | | | | | Wed Nov 21 12:54:39 2001 Owen Taylor <otaylor@redhat.com> * configure.in (PANGO_MINOR_VERSION): Version 0.22. * NEWS: Updated * docs/pango-sections.txt Makefile.am: Update. * pango/pango-layout.c (process_item): Don't look like a doc comment.
* Always turn on anti-aliasing.Tor Lillqvist2001-11-219-55/+154
| | | | | | | | | | | | | | | | | | 2001-11-22 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Always turn on anti-aliasing. 2001-11-21 Tor Lillqvist <tml@iki.fi> * pango/testfonts.c: Fix a couple of bugs, update for current Pango API. It's not completely clear to me what the program is supposed to do with the command line args. It does load a matching font, but does nothing with it. It then always lists *all* font families, and renders a string in each. This causes a huge image with associated swapping to death if you have lots of fonts... I added a restriction, only the first 10 fonts are rendered.
* Don't free font_pattern if we opened the XftFont, since the XftFont claimsAlex Larsson2001-11-208-1/+44
| | | | | | | | 2001-11-20 Alex Larsson <alexl@redhat.com> * pango/pangoxft-font.c (pango_xft_font_finalize): Don't free font_pattern if we opened the XftFont, since the XftFont claims ownership of it.
* Fix typo.Tor Lillqvist2001-11-198-1/+36
| | | | | | | 2001-11-20 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_font_map_load_font): Fix typo.
* Take both dpi_x and dpi_y as arguments. Doesn't currently handle dpi_xAlex Larsson2001-11-1916-199/+72
| | | | | | | | 2001-11-18 Alex Larsson <alexl@redhat.com> * pango/pangoft2.[ch] (pango_ft2_get_context): Take both dpi_x and dpi_y as arguments. Doesn't currently handle dpi_x correctly, but at least the API is in.
* Add new function pango_context_load_fontset() to wrapAlex Larsson2001-11-1816-10/+168
| | | | | | | | | | | | | | | | | 2001-11-18 Alex Larsson <alexl@redhat.com> * pango/pango-context.[ch]: Add new function pango_context_load_fontset() to wrap pango_font_map_load_fontset(). Add PangoContext arguments to load_font and load_fontset. * pango/pango-fontmap.[ch]: * pango/pangoft2-fontmap.c: * pango/pangowin32-fontmap.c: * pango/pangox-fontmap.c: * pango/pangoxft-font.c: * pango/pangoxft-fontmap.c Add PangoContext arguments to load_font and load_fontset.
* Suffix package names with datestamp. Add the Pango modules.Tor Lillqvist2001-11-1813-16/+216
| | | | | | | | | | | | | | | | | | | | | | | | 2001-11-19 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: Suffix package names with datestamp. Add the Pango modules. * pango/pango.def: pango_context_add_font_map -> pango_context_set_font_map. Add pango_fontset_*. * pango/pangoft2.def: Reflect Alexander's changes. * pango/mini-xft/minixftinit.c (get_xft_default_path): New function. Use pango_get_sysconf_subdirectory () to construct a suitable path. * pango/mini-xft/minixftint.h: On Win32, don't use the hardcoded /usr/X11R6/lib/X11/XftConfig path (or any other hardcoded path), but instead the function get_xft_default_path(). * pango/mini-xft/minixftcache.c (MiniXftFileCacheSave): On Win32, don't use link() and unlink() for the lock file. Instead, use a lock directory.
* Add XFT_MATRIX and XFT_MINSPACE macro definitions if missing.Alexander Larsson2001-11-188-0/+43
| | | | | | | 2001-11-18 Alexander Larsson <alla@lysator.liu.se> * pango/pangoxft-fontmap.c: Add XFT_MATRIX and XFT_MINSPACE macro definitions if missing.
* shut up cvsManish Singh2001-11-181-0/+2
|
* New PangoFontset class.Alexander Larsson2001-11-182-0/+450
| | | | | * pango/pango-fontset.[ch]: New PangoFontset class.
* Check for LEX and YACC. This will be made optional later, with the buildAlexander Larsson2001-11-1852-2105/+11068
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-17 Alexander Larsson <alla@lysator.liu.se> * configure.in: Check for LEX and YACC. This will be made optional later, with the build sources checked in to cvs. Generate pango/mini-xft/Makefile * modules/basic/basic-ft2.c: Use the new pangoft2 API. * pango/Makefile.am: Build mini-xft. Add new files. * pango/pango-context.[ch]: Support only one fontmap per context. Use pango_font_map_load_fontset() and PangoFontset instead of internal fontset. * pango/pango-fontmap.[ch]: New virtual function pango_font_map_load_fontset() and default implementation that uses pango_font_map_load_font(). * pango/pango-utils.[ch] (pango_lookup_aliases): Utility function for looking up aliases. This can be used by backend that has no backend specific aliases. * pango/pangoft2-fontcache.c: Removed file. * pango/pangoft2-fontmap.c: * pango/pangoft2-private.h: * pango/pangoft2.c: * pango/pangoft2.h: Major rewrite. Doesn't handle fontsets. Uses mini-xft so that it will always match the PangoXft backend. Simplified the public API. * pango/pangowin32.c: * pango/pangox.c: pango_context_add_font_map -> pango_context_set_font_map * pango/pangoxft-font.c: * pango/pangoxft-fontmap.c: * pango/pangoxft-private.h: New code to handle fontsets. * pango/mini-xft/*: Mini version of libXft from XFree86 in order to have the pangoFT2 and pangXft backends have same config files and generate the same fonts.