summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Make a number of functions static to avoid symbol clashes when bothOwen Taylor2001-10-319-6/+59
| | | | | | | | | Wed Oct 31 11:00:55 2001 Owen Taylor <otaylor@redhat.com> * modules/tamil/tamil-{xft,x}.c: Make a number of functions static to avoid symbol clashes when both tamil-x.c and tamil-xft.c are linked statically into the same library. (#63436, Raymond Wan)
* Remove declarations of unimplemented functionsMatthias Clasen2001-10-3011-45/+173
| | | | | | | | | | * docs/pango-sections.txt, pango/pango-ot.h: Remove declarations of unimplemented functions pango_ot_ruleset_set_glyph_loader and pango_ot_ruleset_set_alternate_func and the related typedefs PangoOTGlyphLoader and PangoOTAlternateFunc. * pango/opentype/pango-ot-info.c, pango/opentype/pango-ot-ruleset.c: Documentation updates.
* shut up CVSSven Neumann2001-10-301-0/+1
|
* don't link against pangox at all.Sven Neumann2001-10-308-8/+52
| | | | | | | | | 2001-10-30 Sven Neumann <sven@gimp.org> * tests/Makefile.am: don't link against pangox at all. Please keep in mind that building on UNIX does not necessarily mean that X11 is available.
* Add @X_CFLAGS@ (#63095, Dan Winship)Owen Taylor2001-10-298-1/+29
| | | | | | Mon Oct 29 11:54:06 2001 Owen Taylor <otaylor@redhat.com> * pangox.pc.in (Cflags): Add @X_CFLAGS@ (#63095, Dan Winship)
* New file, used to build distribution package for Windows.Tor Lillqvist2001-10-2815-5/+253
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Tor Lillqvist <tml@iki.fi> * pango-zip.sh.in: New file, used to build distribution package for Windows. * Makefile.am (EXTRA_DIST): Add pango-zip.sh. * configure.in: Check for lib.exe, set MS_LIB_AVAILABLE. Generate pango-zip.sh. * README.win32: Mention the ways to build Pango on Windows. * modules/Makefile.am * examples/Makefile.am: Se SOSUFFIX to so on Unix, dll on Windows. * pango/Makefile.am: Add rules to create MSVC import library if MS_LIB_AVAILABLE. Add rules to install and uninstall mingw and MSVC import libraries. * tests/Makefile.am: Link with libpangox.la only on Unix.
* Typo fix.Matthias Clasen2001-10-2715-30/+99
| | | | | | | | | * pango/modules.c: Typo fix. * docs/tmpl/text-attributes.sgml, docs/tmpl/freetype-fonts.sgml, docs/tmpl/xft-fonts.sgml, docs/tmpl/win32-fonts.sgml, docs/tmpl/glyphs.sgml, docs/tmpl/x-rendering.sgml, docs/tmpl/pango-indic.sgml: Updates.
* Forgotten files.Matthias Clasen2001-10-278-1/+85
|
* Documentation updates.Matthias Clasen2001-10-2619-147/+204
| | | | | | | | | | | | * pango/fonts.c, pango/pangoft2.c, pango/pangowin32.c, pango/pangoxft-font.c, pango/pangox-fontmap.c, pango/pangoft2-fontmap.c, pango/pangoxft-fontmap.c, pango/pangowin32-fontmap.c, docs/pango-sections.txt, docs/tmpl/coverage-maps.sgml, docs/tmpl/fonts.sgml, docs/tmpl/freetype-fonts.sgml, docs/tmpl/glyphs.sgml, docs/tmpl/layout.sgml, docs/tmpl/main.sgml, docs/tmpl/modules.sgml, docs/tmpl/tab-stops.sgml, docs/tmpl/text-attributes.sgml, docs/tmpl/win32-fonts.sgml: Documentation updates.
* Version 0.21, require GLib-1.3.6PANGO_0_21Owen Taylor2001-10-269-11/+60
| | | | | | | | | | | | | | | Thu Oct 25 11:06:54 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Version 0.21, require GLib-1.3.6 * NEWS: Updates. Fri Oct 26 12:32:25 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Don't use AC_CHECK_LIB to check for win32, since that causes problems with autoconf-2.13. * docs/Makefile.am: Fix to install images.
* Version 0.21, require GLib-1.3.6Owen Taylor2001-10-259-2/+52
| | | | | | | | Thu Oct 25 11:06:54 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Version 0.21, require GLib-1.3.6 * NEWS: Updates.
* Allow NULL run_logical. (#63014, Tony Graham)Owen Taylor2001-10-258-5/+44
| | | | | | | Thu Oct 25 11:05:01 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_run_get_extents): Allow NULL run_logical. (#63014, Tony Graham)
* Remove the rest of the silly pango file-reading code fromOwen Taylor2001-10-188-3/+64
| | | | | | | | | | | Thu Oct 18 15:48:14 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.h: Remove the rest of the silly pango file-reading code from PANGO_ENABLE_BACKEND, so I can use it in gtkimmodule.c. It's nothing that should be in Pango longterm, but it's not enough code to worry about removing before Pango-2.0. (#61602, Sven Neumann)
* (Fixes from Frank Belew, #58905)Owen Taylor2001-10-1811-1432/+94
| | | | | | | | | | | | | Thu Oct 18 14:40:04 2001 Owen Taylor <otaylor@redhat.com> (Fixes from Frank Belew, #58905) * pango/pangox.c (pango_x_apply_ligatures): Fix label at end of block. * pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribid.patch: Use g_alloca() instead of mix of MSVC specific and GCC specific stuff.
* pango/tmpl/x-fonts.sgml pango/break.c small documentation fixes.Matthias Clasen2001-10-1510-35/+76
| | | | | | * pango/tmpl/x-fonts.sgml * pango/break.c * pango/fonts.c: small documentation fixes.
* another missing comment end marker and some fixes in gtk-doc comments.Sven Neumann2001-10-1514-46/+176
| | | | | | | | | | | | | | 2001-10-15 Sven Neumann <sven@gimp.org> * pango/pangoxft-font.c: another missing comment end marker and some fixes in gtk-doc comments. * pango/break.c * pango/pango-layout.c * pango/pangoft2.c * docs/pango-sections.txt * docs/tmpl/fonts.sgml * docs/tmpl/x-fonts.sgml: documentation updates.
* add missing comment end marker to make it compileManish Singh2001-10-159-3/+33
| | | | | | Sun Oct 14 18:42:56 2001 Manish Singh <yosh@gimp.org> * pango/pangox.c: add missing comment end marker to make it compile
* Documentation updates.Matthias Clasen2001-10-1412-64/+121
| | | | | * pango/pangox.c, pango/pangoxft-font.c, pango/pangoxft-fontmap.c, docs/pango-sections.txt, docs/tmpl/fonts.sgml: Documentation updates.
* Typo fixes.Matthias Clasen2001-10-132-16/+153
|
* Documentation updates.Matthias Clasen2001-10-137-0/+28
| | | | * pango/pango-utils.c, pango/pangoxft-font.c: Documentation updates.
* Add module-defs-win32.c.Tor Lillqvist2001-10-109-1/+52
| | | | | | | | | 2001-10-10 Tor Lillqvist <tml@iki.fi> * pango/.cvsignore: Add module-defs-win32.c. * pango/Makefile.am (pangoinclude_HEADERS): Include also WIN32_HFILES.
* protect from indexing off the end of the embedding_levels array by onlyMatt Wilson2001-10-098-5/+49
| | | | | | | | 2001-10-09 Matt Wilson <msw@redhat.com> * pango/pangox.c (get_font_metrics_from_string): protect from indexing off the end of the embedding_levels array by only doing so if we're not finished.
* fix wrong check for incorrect attrs_lenHavoc Pennington2001-10-058-1/+37
| | | | | | | 2001-10-04 Havoc Pennington <hp@pobox.com> * pango/break.c (pango_default_break): fix wrong check for incorrect attrs_len
* use g_object_new() instead of g_new() to create a PangoFT2Face. Fixes bugSven Neumann2001-10-048-1/+43
| | | | | | | | 2001-10-04 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c (pango_ft2_font_map_read_alias_file): use g_object_new() instead of g_new() to create a PangoFT2Face. Fixes bug #61603.
* shut up CVSSven Neumann2001-10-041-0/+1
|
* Retract my change to Xrender+Xft+Xft+FreeType.h checks from yesterday,Tor Lillqvist2001-10-048-7/+48
| | | | | | | | 2001-10-04 Tor Lillqvist <tml@iki.fi> * configure.in: Retract my change to Xrender+Xft+Xft+FreeType.h checks from yesterday, instead enclose nested AC_CHECK_* calls in brackets.
* remove assertion I shouldn't have put in thereHavoc Pennington2001-10-038-1/+35
| | | | | | | 2001-10-03 Havoc Pennington <hp@redhat.com> * pango/break.c (MAYBE_START_NEW_SENTENCE): remove assertion I shouldn't have put in there
* try to fix up the sentence breaking a bit, specifically for sentences thatHavoc Pennington2001-10-038-42/+77
| | | | | | | | 2001-10-03 Havoc Pennington <hp@redhat.com> * pango/break.c (pango_default_break): try to fix up the sentence breaking a bit, specifically for sentences that started at the end of a previous sentence we were messing things up.
* new program to dump logical attrs to stdoutHavoc Pennington2001-10-0310-3/+189
| | | | | | | | | 2001-10-03 Havoc Pennington <hp@redhat.com> * tests/dump-boundaries.c: new program to dump logical attrs to stdout * tests/testboundaries.c (check_invariants): oops, fix for pango_get_log_attrs() change
* require one more log attr in the buffer passed in, to account for the endHavoc Pennington2001-10-0314-40/+161
| | | | | | | | | | | | | | 2001-10-03 Havoc Pennington <hp@redhat.com> * pango/break.c (pango_break) (pango_default_break) (pango_get_log_attrs): require one more log attr in the buffer passed in, to account for the end position (pango_default_break): allow length of -1 * pango/pango-engine.h (struct _PangoEngineLang): change script_break virtual function to match pango_break * pango/pango-layout.c (get_items_log_attrs): update pango_break usage