summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* don't include family name if PANGO_FONT_MASK_FAMILY is not set.Sven Neumann2001-10-039-2/+58
| | | | | | | | | | 2001-10-03 Sven Neumann <sven@gimp.org> * pango/fonts.c (pango_font_description_to_string): don't include family name if PANGO_FONT_MASK_FAMILY is not set. * pango/pangoft2-fontmap.c: make it compile with DEBUGGING being defined.
* Add the Win32 GDI Pango backend to autoconfiguration:Tor Lillqvist2001-10-0319-42/+521
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-03 Tor Lillqvist <tml@iki.fi> Add the Win32 GDI Pango backend to autoconfiguration: * configure.in: Call AC_LIBTOOL_WIN32_DLL. Check for native Win32 or Cygwin, set automake conditional PLATFORM_WIN32. Check for native Win32, set OS_WIN32. Refactor the Xrender+Xft+Xft+FreeType.h checks not to use AC_CHECK_LIBs inside eachother, autoconf 2.52e on Cygwin generated bad shell code for that. Check for gdi32 library, set automake conditional HAVE_WIN32. Add the basic-win32 module, add INCLUDED_WIN32_MODULES and INCLUDE_BASIC_WIN32. Write pango/module-defs-win32.c. Generate pangowin32*.pc. * pangowin32.pc.in * pangowin32-uninstalled.pc.in: New files. * Makefile.am: Add pangowin32*.pc.in. * .cvsignore: Add pangowin32*.pc. * modules/basic/Makefile.am: Add the basic-win32 backend. Use -no-undefined on PLATFORM_WIN32. * pango/Makefile.am: Add the Win32 backend. Use -no-undefined on PLATFORM_WIN32. Use the .def files on OS_WIN32. Link libpangoft2 with GLIB_LIBS. * pango/pango-utils.c: (DllMain): New function, on G_OS_WIN32. Used to get the actual DLL name, which is tucked away. (pango_get_sysconf_subdirectory, pango_get_lib_subdirectory): (Win32): Append VERSION to the registry key passed to g_win32_get_package_installation_subdirectory(). Use the real DLL name from above instead of assuming the DLL has a certain name. Other Win32 backend fixes: * pango/pangowin32-fontmap.c: (free_coverages_foreach): Remove, unused. * pango/pangowin32.c: Remove unused variables. * pango/pangowin32.def: Add pango_win32_font_get_glyph_index. * pango/pangowin32.h: Remove pango_win32_font_get_coverage, which is static.
* g_string_printfa => g_string_append_printf.Owen Taylor2001-10-018-2/+30
| | | | | | Mon Oct 1 16:02:54 2001 Owen Taylor <otaylor@redhat.com> * pango/fonts.c: g_string_printfa => g_string_append_printf.
* Typo fix: s/pang/pango/ in warning messageManish Singh2001-09-298-1/+36
| | | | | | | Sat Sep 29 12:21:44 2001 Manish Singh <yosh@gimp.org> * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display): Typo fix: s/pang/pango/ in warning message
* Use PANGO_FONT_MASK_* not PANGO_ATTR_* when manipulating the mask. AddOwen Taylor2001-09-288-14/+71
| | | | | | | | | | Fri Sep 28 11:27:57 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_get_font): Use PANGO_FONT_MASK_* not PANGO_ATTR_* when manipulating the mask. Add fields to mask for PANGO_ATTR_FONT_DESC so it won't be overwritten by later attributes. (Fixes from Tony Graham, #61297)
* Fix wrapper version to have boolean result. (#61248, Eric Lemings.)Owen Taylor2001-09-278-3/+48
| | | | | | | | Thu Sep 27 12:08:23 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_log2vis_get_embedding_levels): Fix wrapper version to have boolean result. (#61248, Eric Lemings.)
* Improved Hebrew vowel (nikud) placement, implementing some more magic heuristicsChookij Vanatham2001-09-261-12/+80
| | | | by Dov (dov@imagic.weizmann.ac.il).
* Version 0.20PANGO_0_20Owen Taylor2001-09-2516-37/+311
| | | | | | | | | | | | | | | | | | | Tue Sep 25 11:54:03 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Version 0.20 * NEWS: Updated * configure.in (GLIB_REQUIRED_VERSION): Require GLib 1.3.9 * examples/Makefile.am (EXTRA_DIST): Add the viewer-qt in case someone (say Tim) makes dist without qt installed. (reported by Tony Graham) * examples/Makefile.am (pango.modules): Don't use grep -q (reported by Tony Graham) * docs/pango-sections.txt: Fix small typo.
* Patch from Alex LarssonOwen Taylor2001-09-248-103/+219
| | | | | | | | | | | | | | | | | Mon Sep 24 19:18:48 2001 Owen Taylor <otaylor@redhat.com> Patch from Alex Larsson * pango/pango-layout.c (pango_layout_index_to_line_and_extents, pango_layout_index_to_line): Extract out some code portions into separate functions and fix problems with cursor motion in multi-paragraph layouts. * pango/pango-layout.c (pango_layout_index_to_pos): Fix for multi-paragraph layouts. * pango/pango-layout.c (pango_layout_move_cursor_visually): Fix for multi-paragraph layouts.
* Fix handling of the last index in a paragraph. (#60630, fix based on patchOwen Taylor2001-09-248-33/+97
| | | | | | | | | | | | | Mon Sep 24 18:19:22 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_index_to_pos): Fix handling of the last index in a paragraph. (#60630, fix based on patch from Padraig O'Briain.) * pango/pango-layout.c (update_run): Take the start index of the run as an argument since we don't have sufficient information to compute it when iter->run == NULL.
* Set PANGO_FONT_MASK_FAMILY. (#60888, reported by Mario Motta)Owen Taylor2001-09-218-1/+39
| | | | | | | Fri Sep 21 18:55:18 2001 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_from_string): Set PANGO_FONT_MASK_FAMILY. (#60888, reported by Mario Motta)
* pango/fonts.c (append_field, pango_font_description_to_string):Matthias Clasen2001-09-218-2/+37
| | | | replace g_string_sprintfa by g_string_printfa.
* updated externalsHans Breuer2001-09-2115-204/+520
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-21 Hans Breuer <hans@breuer.org> * pango/pango.def : updated externals * pango/makefile.msc : build ft2 backend too. * pango/pangowin32-fontmap.c - Convert PangoWin32FamilyEntry into PangoWin32Family deriving from PangoFontFamily. - Convert PangoWin32FontEntry into PangoWin32Face deriving from PangoFontFace. - Change the list_families() method of the PangoWin32FontMap to list PangoFontFamily * rather than names. * pango/pangowin32.c : reflect PangoFontDescription api change * pango/pangowin32.h : don't include pango.h but only the required headers * modules/basic/basic-win32.c : #include "pango-engine.h" * pango/testfonts.c : reflect recent pango api changes
* unset the static_family flag so the family_name gets freed on the nextSven Neumann2001-09-208-0/+44
| | | | | | | | 2001-09-20 Sven Neumann <sven@gimp.org> * pango/fonts.c (pango_font_description_set_family, pango_font_description_copy): unset the static_family flag so the family_name gets freed on the next call.
* fix rule so that flags get registered as flags and rather than enumsJames Henstridge2001-09-2010-2/+96
| | | | | | | | | | | | | 2001-09-20 James Henstridge <james@daa.com.au> * pango/Makefile.am (s-enum-types-c): fix rule so that flags get registered as flags and rather than enums (enums still get registered as enums). * pango/pango-font.h: add get_type routine to header. * pango/fonts.c (pango_font_metrics_get_type): add get_type() routine.
* Remove pango_font_map_free_families, which was no longer in the headers,Owen Taylor2001-09-199-27/+74
| | | | | | | | | | | | Wed Sep 19 19:28:52 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-fontmap.c: Remove pango_font_map_free_families, which was no longer in the headers, no longer needed, and no longer working. * pango/pango-fontmap.c (pango_font_map_list_families) * pango/pango-context.c (pango_context_list_families): Remove references to pango_font_map_free_families.
* header to abstract the difference between FreeType 2.0.3 and 2.0.4 errorHavoc Pennington2001-09-1916-5/+96
| | | | | | | | | | | 2001-09-19 Havoc Pennington <hp@redhat.com> * pango/opentype/fterrcompat.h: header to abstract the difference between FreeType 2.0.3 and 2.0.4 error codes, based on the configure check. * configure.in: check for the tterrors.h header in FreeType 2.0.3, and define HAVE_FREETYPE_2_0_3 if we have it
* Released 0.19.PANGO_0_19Tim Janik2001-09-197-0/+28
| | | | | | Wed Sep 19 10:48:04 2001 Tim Janik <timj@gtk.org> * Released 0.19.
* require glib 1.3.8.Tim Janik2001-09-188-1/+29
| | | | | | Tue Sep 18 23:27:52 2001 Tim Janik <timj@gtk.org> * configure.in (GLIB_REQUIRED_VERSION): require glib 1.3.8.
* Include parent_instance structures.Owen Taylor2001-09-1810-1/+61
| | | | | | | | | | Tue Sep 18 17:29:20 2001 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontmap.c pango/pangoft2-private.h: Include parent_instance structures. * pango/fonts.c (pango_font_family_get_type): Pass in right class structure.
* Up to 0.19.Owen Taylor2001-09-1870-1828/+3688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Sep 18 15:47:08 2001 Owen Taylor <otaylor@redhat.com> * configure.in (PANGO_MINOR_VERSION): Up to 0.19. * pango/pango-font.h pango/pango-fontmap.[ch] pango/fonts.c pango/pangoxft-fontmap.c pango/pangoft-fontmap.c pango/pango-context.[ch] pango/pangox-fontmap.c: Add new PangoFontFace and PangoFontFamily object types, and change the font listing API to list faces and families, instead of face names and font descriptions. * pango/pango-font.h pango/fonts.c: Make PangoFontDescription an opaque heap-allocated structure, add accessors and convenience functions. * pango/pango-font.h pango/pango-private.h: Make PangoFontMetrics heap allocated, protect the structure definition with #ifdef PANGO_ENABLE_BACKEND, and add getters for the fields. * pango/pango-attributes.[ch] ( pango_attr_iterator_get_font): instead of providing a base font description and one to fill in, provide a single font description to modify based on the attributes. * pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have a PangoFontDescription by reference, not by value. * pango/pango-utils.[ch]: make pango_parse_style() and friends take pointers to individual enumerations instead of to a PangoFontDescription structure. * pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics changes. * pango/pango-{break,engine,indic,ot,xft}.h pango/Makefile.am pango/opentype/Makefile.am: Protect portions with PANGO_ENABLE_ENGINE to shrink the public API. * modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE. * pango/{pangox.h,pangox-private.h} modules/basic/basic-x.c: Move pango_x_font_get_unknown_glyph() into public header since it is used from modules. * pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am: Protect portions with PANGO_ENABLE_BACKEND to shrink the public API. * pango/*.h: Use G_BEGIN/END_DECLS * examples/viewer-qt.[cc,h]: Fix for changes to font listing API, PangoFontDescription. * pango/pango-indic.h modules/indic/*: Since we install this header fix it up to Pango conventions, namespece ZERO_WIDTH_JOINER, ZERO_WIDTH_NON_JOINER. * docs/pango-sections.txt: Updated.
* add $(pangoxftlibs) so we get proper dependencies noted in the module.Matt Wilson2001-09-188-1/+36
| | | | | | | 2001-09-18 Matt Wilson <msw@redhat.com> * modules/basic/Makefile.am (basic_xft_libadd): add $(pangoxftlibs) so we get proper dependencies noted in the module.
* Use g_build_filename() where appropriate.Owen Taylor2001-09-1211-46/+85
| | | | | | | | Tue Sep 11 11:31:53 2001 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontmap.c pango/modules.c pango/pango-utils.c pango/querymodules.c: Use g_build_filename() where appropriate.
* Fix problem with green/blue confusion.Owen Taylor2001-09-118-2/+37
| | | | | | | Thu Sep 6 21:13:56 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-color.c: Fix problem with green/blue confusion.
* Update to the new g_boxed_type_register_static API.Alex Larsson2001-09-1013-18/+76
| | | | | | | | | | | | 2001-09-10 Alex Larsson <alexl@redhat.com> * pango/fonts.c: * pango/glyphstring.c: * pango/pango-attributes.c: * pango/pango-color.c: * pango/pango-tabs.c: * pango/pango-utils.c: Update to the new g_boxed_type_register_static API.
* Version 0.18PANGO_0_18Owen Taylor2001-09-0410-1/+93
| | | | | | | | | | | | Mon Sep 3 19:37:02 2001 Owen Taylor <otaylor@redhat.com> * configure.in: Version 0.18 * NEWS: Updated. * pango/pangoxft-font.c (pango_xft_font_finalize): Actually free the XftFont (and description). Lack of such pointed out by David Turner.
* Make a couple of functions static.Owen Taylor2001-09-0213-79/+1878
| | | | | | | | | | Sun Sep 2 12:08:15 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c pango/pango-utils.c: Make a couple of functions static. * pango/mini-fribidi/{fribidi_tables.i,fribidi.patch}: Make data arrays static.
* New file, move color handling here.Owen Taylor2001-08-3012-969/+1070
| | | | | | | | | | | Thu Aug 30 17:34:52 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-color.c: New file, move color handling here. * pango/pango-attributes.[ch] pango/pango-markup.c pango/pango-color.c: Export pango_color_parse, change it to take a PangoColor as its argument.
* Mon Aug 27 2001 Jens Finke <jens@gnome.org> - glib2 package required -Jens Finke2001-08-271-3/+7
| | | | | | * Mon Aug 27 2001 Jens Finke <jens@gnome.org> - glib2 package required - updated source url
* Handle text == NULL, length == 0 again.Owen Taylor2001-08-248-5/+43
| | | | | | | Fri Aug 24 12:21:50 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Handle text == NULL, length == 0 again.