summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Report standard aliases as uppercase, fix pango_*_face_describe() forOwen Taylor2002-05-142-16/+102
| | | | | | | | Tue May 14 12:02:13 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c pango/pangoft2-fontmap.c: Report standard aliases as uppercase, fix pango_*_face_describe() for aliases.
* Fake sans,serif,monospace in the list of fonts.Owen Taylor2002-05-132-57/+139
| | | | | | | | | Mon May 13 15:56:29 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c: Fake sans,serif,monospace in the list of fonts. * pango/pangoft2-fontmap.c: Fake aliases here as well.
* Add a implementation of strtok_r (copied from glibc) for machines thatOwen Taylor2002-05-132-18/+58
| | | | | | | | | | | | Mon May 13 14:58:12 2002 Owen Taylor <otaylor@redhat.com> * pango/pangox.c configure.in: Add a implementation of strtok_r (copied from glibc) for machines that don't have it. (#79472, Jacob Berkman.) * pango/querymodules.c: Use printf() rather than g_print, since we don't want encoding conversion. (#77341)
* Add compatibility defines for changes in FreeType 2.1.0.Owen Taylor2002-04-231-2/+37
| | | | | | | Tue Apr 23 16:15:07 2002 Owen Taylor <otaylor@redhat.com> * pango/opentype/fterrcompat.h: Add compatibility defines for changes in FreeType 2.1.0.
* Free pattern after using it.Alex Larsson2002-03-261-3/+9
| | | | | | | 2002-03-26 Alex Larsson <alexl@redhat.com> * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_font): Free pattern after using it.
* pango/pangoft2-private.h calculate average_char_width andSven Neumann2002-03-264-26/+166
| | | | | | | | | | | | | 2002-03-26 Sven Neumann <sven@gimp.org> * pango/pangoft2-private.h * pango/pangoft2.c (pango_ft2_font_get_metrics): calculate average_char_width and average_digit_width by measuring sample layouts and cache font metrics per language just like PangoX does, #53425. * pango/pangoxft-font.c * pango/pangoxft-private.h: the same approach for average_char_width and average_digit_width as in PangoFT2, #53425.
* Remove warning about opening modules file... in some cases (includedOwen Taylor2002-03-251-3/+1
| | | | | | | | | | Mon Mar 25 15:53:17 2002 Owen Taylor <otaylor@redhat.com> * pango/modules.c (read_modules): Remove warning about opening modules file... in some cases (included modules) it isn't needed, and the warning about no modules that was added recently should let people know what is going on. (#73834, Arnaud Charlet)
* Set the right font when computing the average digit width.Owen Taylor2002-03-251-5/+9
| | | | | | | Mon Mar 25 15:31:17 2002 Owen Taylor <otaylor@redhat.com> * pango/pangowin32.c (pango_win32_font_get_metrics): Set the right font when computing the average digit width.
* Rewrite average_digit_width computation to go through the same shapingOwen Taylor2002-03-253-112/+154
| | | | | | | | | | | | | | | | | Mon Mar 25 14:52:29 2002 Owen Taylor <otaylor@redhat.com> * pango/pangox.c (pango_x_font_get_metrics): Rewrite average_digit_width computation to go through the same shaping hack as the average_char_width code. (Part of #53425) * pango/pangox.c (pango_x_font_describe): Implement except for results of pango_x_font_load(). * pango/pangox.c (pango_x_load_font): Document as "don't use". * pango/pangox.[ch] (pango_x_load_font): Add missing const.
* this function may never return NULL, so we shouldn't say so in theSven Neumann2002-03-251-2/+1
| | | | | | | 2002-03-25 Sven Neumann <sven@gimp.org> * pango/fonts.c (pango_font_description_from_string): this function may never return NULL, so we shouldn't say so in the comment.
* Add an informative warning if no modules at all were found. (#74982,Owen Taylor2002-03-201-0/+20
| | | | | | | | Wed Mar 20 18:40:34 2002 Owen Taylor <otaylor@redhat.com> * pango/modules.c (build_map): Add an informative warning if no modules at all were found. (#74982, suggestion from Dan Winship.)
* Dummy-initialize gsize variable to 0, not -1. (#73899, Erwann Chenede)Owen Taylor2002-03-201-1/+1
| | | | | | | Wed Mar 20 15:14:15 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-markup.c (text_handler): Dummy-initialize gsize variable to 0, not -1. (#73899, Erwann Chenede)
* Add pango_win32_os_version_info variable, an OSVERSIONINFO struct.Tor Lillqvist2002-03-174-4/+42
| | | | | | | | | | | | | | | | | 2002-03-17 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-private.h: Add pango_win32_os_version_info variable, an OSVERSIONINFO struct. * pango/pangowin32.c: Initialise it. * pango/pangowin32.h: Set _WIN32_WINNT to 0x0501 before including <windows.h> to get the ClearType-related macros defined (if recent enough headers are used). * pango/pangowin32-fontcache.c (pango_win32_font_cache_load): Set desired font quality to CLEARTYPE_QUALITY if on XP (or later), and the system settings ask for ClearType.
* In Load_ChainContextSubst2, handle the case where an empty classOwen Taylor2002-03-155-191/+306
| | | | | | | | | | | | | | | | Fri Mar 15 01:35:56 2002 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c pango/opentype/ftxopen.c pango/opentype/ftxopenf.h: In Load_ChainContextSubst2, handle the case where an empty class definition is represented by an offset of 0. * pango/opentype/ftxgpos.c: Same for Load_ChainContextPos2. * pango/opentype/{ftxopen.c,ftxgpos.c,ftxgsub.c,ftgdef.c}: Fix pervasive bug where on cleanups on failure of loading an array element, all array elements were freed, not just the ones that had been succesfully loaded.
* Uncomment GPOS parts.Owen Taylor2002-03-152-12/+154
| | | | | | | | | Thu Mar 14 23:05:18 2002 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxopen.c: Uncomment GPOS parts. * pango/opentype/disasm.c: Start adding some GPOS dumping.
* Check for FT_Get_First_Char from FreeType-2.0.9.Owen Taylor2002-03-152-15/+38
| | | | | | | | | | Thu Mar 14 20:28:59 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Check for FT_Get_First_Char from FreeType-2.0.9. * pango/pangoft2.c pango/pangoxft-font.c: Use FT_Get_First_Char/Get_Next_Char to accelerate coverage calculation.
* Remove moc_view-qt.cc. (#74725)Owen Taylor2002-03-151-11/+27
| | | | | | Thu Mar 14 20:02:58 2002 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am (EXTRA_DIST): Remove moc_view-qt.cc. (#74725)
* Fix typo when computing maximums of sub-byte fields. (Stefan Israelsson,Owen Taylor2002-03-131-2/+2
| | | | | | | | Wed Mar 13 10:31:07 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-coverage.c (pango_coverage_max): Fix typo when computing maximums of sub-byte fields. (Stefan Israelsson, #74518)
* Minor doc edits.Matthias Clasen2002-03-122-9/+9
| | | | | | | | | | | | | * pango/pangowin32-fontcache.c, pango/pangox-fontcache.c: Minor doc edits. * docs/tmpl/win32-fonts.sgml: Document PangoWin32FontCache. * docs/tmpl/x-fonts.sgml: Document PangoXFontCache. * docs/tmpl/glyphs.sgml: Document PangoGlyphInfo. * docs/tmpl/opentype.sgml: Document PangoOTInfo, PangoOTTag, PangoOTTableType.
* Add the pango_ot_* symbols from the static libpango-ot library.Tor Lillqvist2002-03-071-0/+10
| | | | | | | 2002-03-08 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.def: Add the pango_ot_* symbols from the static libpango-ot library.
* Add some text names to weight map for weights that were added to theOwen Taylor2002-03-061-2/+5
| | | | | | | | Wed Mar 6 12:12:21 2002 Owen Taylor <otaylor@redhat.com> * pango/fonts.c: Add some text names to weight map for weights that were added to the PangoWeight enumeration but not here. (#73728, Arnaud Charlet)
* install-exec-hook should always exist, because the automake rules assumeManish Singh2002-03-061-1/+1
| | | | | | | | | 2002-03-06 Manish Singh <yosh@gimp.org> * pango/Makefile.am: install-exec-hook should always exist, because the automake rules assume it to be there if it is included anywhere in the Makefile.am. So put only the body of it inside DISABLE_EXPLICIT_DEPS.
* Fix problem where == was used instead if =. (#73694, Martin Gansser)Owen Taylor2002-03-063-12/+14
| | | | | | | | | | | | | | | | | | | | | | | Wed Mar 6 11:43:46 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Fix problem where == was used instead if =. (#73694, Martin Gansser) * modules/Makefile.am (install-data-local): Simplify the rule to create the pango.modules file to avoid problems with differing shared library suffixes. pango-querymodules run without any arguments does the right thing by default. (#73694, Martin Gansser) * configure.in: Add a PANGO_MODULE_VERSION variable defining the subdir in which modules are installed. * pango/querymodules.c pango/modules.c modules/*/*.am: Install modules in lib/pango/MODULE_VERSION/modules * pango.pc.in (pango_module_version): Export pango_module_version variable so that 3rd parties can determine where to install libraries.
* Pango 1.0.0 rc1.PANGO_1_0_0_RC1Owen Taylor2002-03-061-1/+1
| | | | | | | | | Tue Mar 5 21:39:37 2002 Owen Taylor <otaylor@redhat.com> * Pango 1.0.0 rc1. * pango/Makefile.am: Use install-exec-hook not install-exec-local when running sanitize-la.sh.
* Ignore return status from for loop, in case the last test -f happens toTor Lillqvist2002-03-061-1/+1
| | | | | | | | 2002-03-06 Tor Lillqvist <tml@iki.fi> * pango/Makefile.am (install-exec-local): Ignore return status from for loop, in case the last test -f happens to fail. Handle also the libpangowin32 .la file.
* Use pangoft2_export_symbols, not pangowin32_export_symbols.Tor Lillqvist2002-03-064-26/+26
| | | | | | | | | | | | | | 2002-03-06 Tor Lillqvist <tml@iki.fi> * pango/Makefile.am (libpangoft2_1_0_la_LDFLAGS): Use pangoft2_export_symbols, not pangowin32_export_symbols. * pango/pango.rc.in * pango/pangowin32.rc.in * pango/pangoft2.rc.in * pango/Makefile.am * pango-zip.sh.in: : Adapt to new shared library naming scheme, also for Win32 import library names.
* Switch over to GLib/GTK+ style library versioning. Update version numbersOwen Taylor2002-03-051-36/+40
| | | | | | | | Tue Mar 5 11:00:20 2002 Owen Taylor <otaylor@redhat.com> * configure.in **/Makefile.am *.pc.in: Switch over to GLib/GTK+ style library versioning. Update version numbers to 1.0.0.
* Write examples/pango.modules in terms of .la files rather than directOwen Taylor2002-03-031-4/+5
| | | | | | | | | | | | | | | | Sat Mar 2 21:57:55 2002 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am (pango.modules): Write examples/pango.modules in terms of .la files rather than direct shared objects to avoid having to know soname extension. * pango/querymodules.c (main): Use G_MODULE_SUFFIX or .la to compare with filenames when querying modules, rather than hardcoded .so/.la. * configure.in (USE_LA_MODULES): On aix, load .la files since we can't guess the soname extension.
* Default to --disable-static.Owen Taylor2002-03-021-0/+7
| | | | | | | | | | | | | | | | | | | | | Fri Mar 1 00:46:49 2002 Owen Taylor <otaylor@redhat.com> * configure: Default to --disable-static. * configure.in pangoft2.pc.in pangoxft2.pc.in pangox.pc.in: Add a --enable-explicit-deps option to control whether dependency libraries are written into .la files and .pc files. Default is auto: if static libraries are off and shlib dependencies are found, don't write deps. * pango/Makefile.am sanitize-la.sh: Shell script used to strip dependencies out of .la files. * configure.in: Default to --disable-gtk-doc. * Makefile.am: Add a slightly modified distcheck rule that passes --enable-gtk-doc to the configure inside. (So that 'make dist' succeeds inside.)
* Treat glyph 0 as an 0 size, non-drawn glyph consistent with otherOwen Taylor2002-03-011-2/+19
| | | | | | | | Fri Mar 1 14:37:47 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): Treat glyph 0 as an 0 size, non-drawn glyph consistent with other backends. (#71931)
* Don't crash on out-of-BMP values.Owen Taylor2002-03-012-8/+29
| | | | | | | | | Fri Mar 1 14:25:22 2002 Owen Taylor <otaylor@redhat.com> * pango/modules.c: Don't crash on out-of-BMP values. * pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type): Return FRIBIDI_TYPE_LTR for all non-BMP characters.
* Fix problem with positions at the ends of lines (#63328, reported by DovOwen Taylor2002-03-011-26/+29
| | | | | | | | Fri Mar 1 12:11:50 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_line_get_vis2log_map): Fix problem with positions at the ends of lines (#63328, reported by Dov Grobgeld.)
* Check for errors when loading font face, fall back to sans, exit withAlex Larsson2002-02-281-7/+47
| | | | | | | | 2002-02-28 Alex Larsson <alexl@redhat.com> * pango/pangoft2.c (pango_ft2_font_get_face): Check for errors when loading font face, fall back to sans, exit with warning if no font found.
* don't link libpango-ot into the module. added libpango-ot.la toSven Neumann2002-02-281-3/+3
| | | | | | | | 2002-02-28 Sven Neumann <sven@gimp.org> * modules/arabic/Makefile.am: don't link libpango-ot into the module. * pango/Makefile.am: added libpango-ot.la to libpangoft2_la_LIBADD. Should fix #72934, reported by Raymond Wan.
* Move .la files to beginning of link line ... may prevent some problemsOwen Taylor2002-02-271-1/+1
| | | | | | | | | Wed Feb 27 11:10:07 2002 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (libpangoft2_la_LIBADD): Move .la files to beginning of link line ... may prevent some problems with linking to installed libraries. (#61359, Abel Cheung)
* Add $(X_EXTRA_LIBS) (reported Richard Warren)Owen Taylor2002-02-271-2/+2
| | | | | | | Wed Feb 27 08:55:32 2002 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (pango_querymodules_LDADD): Add $(X_EXTRA_LIBS) (reported Richard Warren)
* Fix some C++ style comments. (David L. Cooper II)Owen Taylor2002-02-271-2/+2
| | | | | | | Tue Feb 26 19:06:07 2002 Owen Taylor <otaylor@redhat.com> * pango/mini-xft/minixftint.h: Fix some C++ style comments. (David L. Cooper II)
* Try to load something (load sans) if we can't load a font that Xft listed.Owen Taylor2002-02-261-0/+25
| | | | | | | | | Tue Feb 26 15:50:35 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_font): Try to load something (load sans) if we can't load a font that Xft listed. (Workaround for #72299, reported by Gediminas Paulauskas)
* Fix trailing , on enumerations. (#72572, Miroslaw Dobrzanski-Neumann)Owen Taylor2002-02-251-3/+3
| | | | | | | | Mon Feb 25 16:36:47 2002 Owen Taylor <otaylor@redhat.com> * modules/hebrew/hebrew-x.c pango/mini-fribidi/fribidi-types.h: Fix trailing , on enumerations. (#72572, Miroslaw Dobrzanski-Neumann)
* Rewrite to reduce the number of strcmps.Owen Taylor2002-02-241-49/+115
| | | | | | | | | | | | Sun Feb 24 13:40:55 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_pattern_equal): Rewrite to reduce the number of strcmps. * pango/pangoxft-fontmap.c (pango_xft_font_map_load_font): Compute the patterns as for load_fontset(), then just return the first. This takes advantage of our caching strategy.
* Rewrite to reduce the number of strcmps.Owen Taylor2002-02-241-44/+41
| | | | | | | | | | | | Sun Feb 24 13:40:55 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_pattern_equal): Rewrite to reduce the number of strcmps. * pango/pangoxft-fontmap.c (pango_xft_font_map_load_font): Compute the patterns as for load_fontset(), then just return the first. This takes advantage of our caching strategy.
* Fix problem where we unref'ed before we ref'ed resulting in entries in theOwen Taylor2002-02-242-6/+10
| | | | | | | | | | | Sun Feb 24 12:12:09 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-fontmap.c (pango_xft_font_map_new_font): Fix problem where we unref'ed before we ref'ed resulting in entries in the cache that shouldn't have been there. * pango/pangoft2-fontmap.c (pango_ft2_font_map_new_font): Same.
* Add some class padding for future expansion.Owen Taylor2002-02-233-0/+30
| | | | | | | Sat Feb 23 13:07:02 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-font.h pango/pango-fontmap.h pango/pango-fontset.h: Add some class padding for future expansion.
* Version 0.25PANGO_0_25Owen Taylor2002-02-172-2/+2
| | | | | | | | | | | | | | | Sun Feb 17 18:50:30 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Version 0.25 * configure.in: Add X_EXTRA_LIBS to XFT_LIBS. * NEWS: Updates * pango/mini-xft/minixftdpy.c * pango/mini-xft/minixftstr.c: Fix some problems with signed arguments to to isupper()/tolower(). (#71705, Morten Welinder)
* added makefile.msc to EXTRA_DISTHans Breuer2002-02-151-0/+1
| | | | | | | 2002-02-15 Hans Breuer <hans@breuer.org> * examples/makefile.am pango/makefile.am : added makefile.msc to EXTRA_DIST
* update version, use -FImsvc_recommended_pragmas.h and add $(DIRENT_LIBS)Hans Breuer2002-02-101-3/+3
| | | | | | | | 2002-02-10 Hans Breuer <hans@breuer.org> * pango/makefile.msc : update version, use -FImsvc_recommended_pragmas.h and add $(DIRENT_LIBS) to pangoft2 linking
* isspace -> g_ascii_isspace (pango_font_description_from_string): isspaceDarin Adler2002-02-106-20/+20
| | | | | | | | | | | | | | | | * 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.
* at Feb 2 18:27:38 2002 Owen Taylor <otaylor@redhat.com>Owen Taylor2002-02-021-3/+3
| | | | | | | | | * 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)
* move to next element in list.Anders Carlsson2002-02-011-0/+2
| | | | | | | 2002-02-01 Anders Carlsson <andersca@gnu.org> * pango/pangoxft-fontmap.c (pango_xft_get_font_map): move to next element in list.
* Fix problem with detected root node. (Based on patch from Matthias Clasen,Owen Taylor2002-01-291-2/+2
| | | | | | | | 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)