summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add --sgml-mode.Matthias Clasen2001-11-148-1/+29
| | | | * docs/Makefile.am (MKDB_OPTIONS): Add --sgml-mode.
* Add pangoxft-private.h.Matthias Clasen2001-11-1116-93/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | * docs/Makefile.am (IGNORE_HFILES): Add pangoxft-private.h. * pango/pango-utils.c (pango_language_from_string): Fix typo in documentation. * docs/tmpl/text-attributes.sgml: Document PangoColor, PangoLanguage, PangoAttrLanguage, PangoAttrFloat and PangoAttrShape. * docs/tmpl/layout.sgml: Document PangoWrapMode and PangoLayoutIter. * docs/tmpl/tab-stops.sgml: Document PangoTabAlign and PangoTabArray. * docs/tmpl/fonts.sgml: Document PangoFontMask. * pango/fonts.c (pango_font_description_unset_fields): Fix typo in documentation. * docs/tmpl/opentype.sgml: Remove documentation templates of the unimplemented functions pango_ot_ruleset_set_glyph_loader and pango_ot_ruleset_set_alternate_func and the related typedefs PangoOTGlyphLoader and PangoOTAlternateFunc. * docs/tmpl/x-rendering.sgml: Document PangoGetGCFunc and PangoFreeGCFunc typedefs.
* Build separate developer package.Tor Lillqvist2001-11-089-8/+56
| | | | | | | | 2001-11-08 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: Build separate developer package. * pango/pango.def: Add pango_color_parse.
* Add a function pango_xft_picture_render() to render onto an Xft pictureOwen Taylor2001-11-059-40/+181
| | | | | | | | Mon Nov 5 12:23:07 2001 Owen Taylor <otaylor@redhat.com> * pango/pangoxft.h pango/pangoxft-font.c: Add a function pango_xft_picture_render() to render onto an Xft picture directly linstead of using the XftDraw wrapper object.
* don't bother with module dir recalculation if LIBDIR isn't definedHans Breuer2001-11-0310-10/+106
| | | | | | | | | | | | | | | 2001-11-03 Hans Breuer <hans@breuer.org> * pango/modules.c : don't bother with module dir recalculation if LIBDIR isn't defined * pango/pangowin32-fontmap.c : make it compile again after the g_ascii_* change below. Use EnumFontFamiliesExA to ensure to use the ascii version, though defining UNICODE for G_OS_WIN32 will break at other place anyway. * pango/makefile.msc : use (hopefully temporary) DIRENT_CFLAGS and DIRENT_LIBS (see #63667)
* Patch from Alex Larsson to improve line breaking algorithm so that itOwen Taylor2001-11-028-85/+228
| | | | | | | | | | | | Fri Nov 2 13:56:58 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c: Patch from Alex Larsson to improve line breaking algorithm so that it doesn't do O(n^2) -- each character is shaped at most twice - once to get the widths, and once if the run is broken. Also, quite a bit of cleanup to consistently use the ParaBreakState object to keep track of the state of the line-break process. (#62014)
* Patch from Darin Adler, with updates, to use g_ascii_* instead ofOwen Taylor2001-11-0214-59/+137
| | | | | | | | | | | | | Fri Nov 2 08:50:16 2001 Owen Taylor <otaylor@redhat.com> * pango/{fonts.c,pango-color.c,pango-utils.c, pangoft2-fontmap.c,pangowin32-fontcache.c, pangowin32-fontmap.c, pangox-fontmap.c}: Patch from Darin Adler, with updates, to use g_ascii_* instead of locale-dependent variants (#55833). * pango/fonts.c: Use g_ascii_dtostr, g_ascii_strtod().
* Neat Win32 feature: A prebuilt Pango package can be installed in a randomTor Lillqvist2001-10-319-25/+132
| | | | | | | | | | | | | | | | | 2001-10-31 Tor Lillqvist <tml@iki.fi> * pango/modules.c (process_module_file): Neat Win32 feature: A prebuilt Pango package can be installed in a random location (i.e., not the same used when configuring and building the software). The pango.modules file provided with the package contains paths on the packager's system, not the end-users. We notice this, and replace with the corresponding path in the installation directory on the end-user's machine. * pango/pango-utils.c: Use G_WIN32_DLLMAIN_FOR_DLL_NAME. (pango_get_sysconf_subdirectory,pango_get_lib_subdirectory): No need to call g_path_get_basename on the DLL name, DllMain already does it.