summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Alex LarssonOwen Taylor2001-09-241-103/+114
| | | | | | | | | | | | | | | | | 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-241-33/+20
| | | | | | | | | | | | | 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-211-1/+4
| | | | | | | 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-211-2/+2
| | | | replace g_string_sprintfa by g_string_printfa.
* updated externalsHans Breuer2001-09-217-204/+358
| | | | | | | | | | | | | | | | | | | | | | | | | 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-201-0/+2
| | | | | | | | 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-203-2/+19
| | | | | | | | | | | | | 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-192-27/+4
| | | | | | | | | | | | 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-197-5/+26
| | | | | | | | | | | 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
* Include parent_instance structures.Owen Taylor2001-09-183-1/+5
| | | | | | | | | | 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-1841-1526/+2606
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use g_build_filename() where appropriate.Owen Taylor2001-09-124-46/+43
| | | | | | | | 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-111-2/+2
| | | | | | | 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-106-18/+6
| | | | | | | | | | | | 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-041-0/+7
| | | | | | | | | | | | 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-026-79/+1822
| | | | | | | | | | 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-305-969/+1007
| | | | | | | | | | | 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.
* Handle text == NULL, length == 0 again.Owen Taylor2001-08-241-5/+8
| | | | | | | 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.
* pass "" as default text into pango_layout_set_text() as NULL isn't allowedTim Janik2001-08-231-1/+1
| | | | | | | | Thu Aug 23 19:44:34 2001 Tim Janik <timj@gtk.org> * pango/pango-layout.c (pango_layout_check_lines): pass "" as default text into pango_layout_set_text() as NULL isn't allowed anymore.
* Simply use g_utf8_validate() to validate the text, avoiding problem whereOwen Taylor2001-08-221-38/+13
| | | | | | | | | Wed Aug 22 19:52:18 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Simply use g_utf8_validate() to validate the text, avoiding problem where layout was left in hosed state for invalid UTF-8, and also a bug with reading one-past length.
* Fully convert the truetype unicode table to host endianness when readingAlexander Larsson2001-08-161-17/+35
| | | | | | | | 2001-08-16 Alexander Larsson <alexl@redhat.com> * pango/pangowin32.c: Fully convert the truetype unicode table to host endianness when reading it. Add a cache of one to find_segment since it showed up on a profile.
* composite with "saturate" semantics instead of "over" so joining glyphsSven Neumann2001-08-141-15/+1
| | | | | | | 2001-08-14 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render): composite with "saturate" semantics instead of "over" so joining glyphs get drawn correctly.
* composite glyphs over the buffer instead of simply copying into it soSven Neumann2001-08-141-14/+39
| | | | | | | | 2001-08-14 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render): composite glyphs over the buffer instead of simply copying into it so glyphs with overlapping ink rectangles do not overwrite each other.
* Set GPATH to fix srcdir != builddir problems with GNU make.Owen Taylor2001-08-121-0/+4
| | | | | | | Sun Aug 12 10:33:02 2001 Owen Taylor <otaylor@redhat.com> * docs/Makefile.am pango/Makefile.am: Set GPATH to fix srcdir != builddir problems with GNU make.
* restore the previously selected font into the device context.Hans Breuer2001-08-094-5/+413
| | | | | | | | | | | | | | | | | | | 2001-08-10 Hans Breuer <hans@breuer.org> * pango/pangowin32.c (pango_win32_render) : restore the previously selected font into the device context. (pango_win32_font_get_glyph_extents) : info->ink_rect.y needs to be negative to get underlines right * pango/pangowin32-fontmap.c (pango_win32_font_map_list_fonts) : Don't g_assert_not_reached () on !family case. This is what the X version does as well. Testcase for win32: testfonts.c * pango/testfonts.c : (new file) simple test program for win32 which renders all or selected fonts into a bitmap * pango/makefile.msc : re-enable testfonts compiling
* pango/pango-layout.c (pango_layout_line_get_empty_extents):Matthias Clasen2001-08-091-15/+7
| | | | | | Remove unneeded inc_rect parameter. (pango_layout_line_get_extents): Treat lines containing only tabs as empty lines. (#57051)
* Large rewrite of the win32 backend to use real glyph indexes instead ofAlexander Larsson2001-08-095-1756/+562
| | | | | | | | | | | | | | | | | | | 2001-08-09 Alexander Larsson <alexl@redhat.com> * pango/pangowin32.h: * pango/pangowin32-private.h: * pango/pangowin32.c: * pango/pangowin32-fontmap.c: * modules/basic/basic-win32.c: * pango/pangowin32.def: Large rewrite of the win32 backend to use real glyph indexes instead of unicode codes. Also drops the subfont thing, thereby simplifying the code immensely. This looses some functionality, but i will add that back soon using global (non backend-specific) aliases. This is the first cut, and is not perfect. It still has some issues and imperfections, but it so clearly better than the current imlementation that I'm checking it in anyway.
* Don't build the non-existant testfont binary Use glib-mkenums instead ofAlexander Larsson2001-08-042-5/+29
| | | | | | | | | | | | 2001-08-04 Alexander Larsson <alexl@redhat.com> * pango/makefile.msc: Don't build the non-existant testfont binary Use glib-mkenums instead of the old mkenums.pl copy module-defs-win32.c.win32 to module-defs-win32.c * pasng/module-defs-win32.c.win32: Include the built in basic-win32 stuff.
* make implementation static too.Hans Breuer2001-07-205-8/+46
| | | | | | | | | | | | | 2001-07-20 Hans Breuer <hans@breuer.org> * pango/pango-layout.c (pango_layout_line_get_vis2log_map) : make implementation static too. * pango/pango.def pango/pangowin32.def : updated exports * pango/pangowin32.c : correct PangoLanguage changes * pango/mini-fribidi/fribidi.c : removed gccism for msvc build
* Don't corrupt the font description passed in.Owen Taylor2001-07-191-18/+16
| | | | | | | Thu Jul 19 16:44:43 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (font_set_load): Don't corrupt the font description passed in.
* Fix dependencies to work without XFT.Owen Taylor2001-07-131-2/+2
| | | | | | | Fri Jul 13 14:24:59 2001 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (pango_querymodules_DEPENDENCIES): Fix dependencies to work without XFT.
* Add an explicit dependency on libpangoxft.la, to fix parallel make problemOwen Taylor2001-07-121-22/+24
| | | | | | | | | | | Thu Jul 12 16:32:42 2001 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (pango_querymodules_DEPENDENCIES): Add an explicit dependency on libpangoxft.la, to fix parallel make problem (#56818) * pango/Makefile.am (CLEANFILES): Fix problem where name of stamp files didn't match actual name.
* Remove stray semicolon.Darin Adler2001-07-126-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray semicolon. * modules/arabic/arconv.h: * modules/arabic/arconv.c: (shape), (doublelig), (arabic_reshape): Use long* instead of int* for parameter to match what's passed in. * modules/indic/bengali-x.c: Add missing <string.h> include. (pango_indic_make_ligs): Use local variable that was added but not ever used. (pango_indic_engine_shape): Remove unused locals. * modules/indic/devanagari-x.c: Add missing <string.h> include. (pango_indic_engine_shape): Remove unused local. * modules/indic/gujarati-x.c: Add missing <string.h> include. (pango_indic_engine_shape): Remove unused local * modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a variable to quiet the compiler's unused warning. * pango/.cvsignore: Ignore more generated files. * pango/opentype/ftxgpos.c: (Get_Anchor): Add code to set up the ap variable. The old code would just use the uninitialized value. * pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local. * pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape): Remove unused local. * pango/pango-attributes.c: (pango_attr_list_get_type), (pango_color_get_type): Add needed function type casts (just warnings under gcc, but could be errors in other compilers). * pango/pangoxft-font.c: (pango_xft_font_get_metrics), (pango_xft_font_get_coverage), (pango_xft_get_shaper_map), (pango_xft_font_find_shaper): Switch from lang char* to PangoLanguage*. The code was still compiling, but would not have worked.
* copy function. (pango_glyph_string_get_type): implement get_type function.James Henstridge2001-07-028-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 James Henstridge <james@daa.com.au> * pango/glyphstring.c (pango_glyph_string_copy): copy function. (pango_glyph_string_get_type): implement get_type function. * pango/pango-glyph.h (pango_glyph_string_get_type): get_type function prototype. (pango_glyph_string_copy): prototype for copy function. * pango/pango-utils.c (pango_language_get_type): implementation. * pango/pango-types.h (pango_language_get_type): get_type function. * pango/pango-tabs.c (pango_tab_array_get_type): implementation. * pango/pango-tabs.h (pango_tab_array_get_type): get_type function. * pango/fonts.c (pango_font_description_get_type): implementation. * pango/pango-font.h (pango_font_description_get_type): add get_type function for typecode.
* s/shutdown/dispose/ to adapt to GObject changes.Tim Janik2001-07-024-16/+16
| | | | | | | | | | Mon Jul 2 06:12:18 2001 Tim Janik <timj@gtk.org> * pango/pangoxft-font.c: * pango/pangox.c: * pango/pangowin32.c: * pango/pangoft2.c: s/shutdown/dispose/ to adapt to GObject changes.
* Use gssize, not size_t, gssize isn't defined here on all systems.Owen Taylor2001-07-021-5/+5
| | | | | | | | Sun Jul 1 22:59:02 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-markup.c (text_handler): Use gssize, not size_t, gssize isn't defined here on all systems.
* Require GLib-1.3.7Owen Taylor2001-06-294-4/+4
| | | | | | | | | | Thu Jun 28 21:49:30 2001 Owen Taylor <otaylor@redhat.com> * configure.in (GLIB_REQUIRED_VERSION): Require GLib-1.3.7 * pango/pangoft2-fontmap.c pango/pangowin32-fontmap.c pango/pangox-fontmap.c pango/pangoxft-fontmap.c: Fix args to g_type_init().
* Couple of bug fixes for the last change.Owen Taylor2001-06-268-301/+271
| | | | | | | | | | Tue Jun 26 15:11:30 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (font_set_get_font) pango/pango-context.c (add_engines): Couple of bug fixes for the last change. * configure.in: Abort out when AM_PATH_GLIB fails.
* pango/pango-markup.c: modules/arabic/arabic-xft.c (arabic_engine_shape):Owen Taylor2001-06-258-302/+48
| | | | | | | | | | | | | | | | | | Sat Jun 23 10:01:20 2001 Owen Taylor <otaylor@redhat.com> * pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage): * pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage): pango/pango-markup.c: modules/arabic/arabic-xft.c (arabic_engine_shape): modules/arabic/arabic-x.c (arabic_engine_shape): pango/pango-context.c (pango_itemize): pango/pangox.c (get_font_metrics_from_string): pango/pangoft2.c (get_font_metrics_from_string): Adapt to 64-bit changes in glib. * pango/Makefile.am: Modify generation rules to use glib-mkenums (ugh, loong command lines), and to reduce rebuilding by using stamp files.
* changed version to 0.17Hans Breuer2001-06-225-24/+27
| | | | | | | | | | | | 2001-06-22 Hans Breuer <hans@breuer.org> * pango/makefile.msc : changed version to 0.17 * pango/pango.def : updated externals * pango/pangowin32-fontmap.c : * pango/pangowin32-private.h : * pango/pangowin32.c : adapted to PangoLanguage usage
* Add a new PangoLanguage type to represent language tags; these canOwen Taylor2001-06-1426-516/+456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Jun 9 17:36:09 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-types.h pango/pango-utils.c: Add a new PangoLanguage type to represent language tags; these can efficiently be compared and don't need to be copied. Also add pango_language_matches() to match a language tag against a pattern. * pango/pango-item.[ch] pango/pango-layout.c: Move extra_attrs from PangoItem to PangoAnalysis. Add a language tag field to PangoAnalysis. (#55894) * pango/pango-attributes.[ch] (pango_attr_iterator_get_font): Return the language tag as well. * pango/pango-attributes.[ch]: Rename PangoAttrLang to PangoAttrLanguage, and make it hold a PangoLanguage. * pango/pango-context.[ch]: Rename pango_context_{get,set}_lang() to pango_context_{get,set}_language(). * **.[ch]: Adapt to PangoLanguage and s/lang/language/ changes. * modules/basic/basic-x.c modules/basic/tables-big.i: Add support for ordering character sets differently for different language tags. * pango/itemize.c: Remove old, unused file. * pango/pango-context.c (pango_itemize): Reduce number of mallocs by allocating one array of PangoAnalysis instead of many arrays.
* Add a 'strong' parameter to allow moving either the strong or the weakOwen Taylor2001-06-082-2/+7
| | | | | | | | Thu Jun 7 14:06:25 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_move_cursor_visually): Add a 'strong' parameter to allow moving either the strong or the weak cursor visually, instead of the strong cursor.
* subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variablesHavoc Pennington2001-06-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-06-07 Havoc Pennington <hp@redhat.com> * m4macros/glib-2.0.m4: subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables * gmodule-2.0.pc.in: add gmodule_supported variable * glib-2.0.pc.in: add glib_genmarshal, gobject_query, glib_mkenums variables * configure.in: put G_MODULE_SUPPORTED value into .pc files * autogen.sh: support AUTOGEN_SUBDIR_MODE * Makefile.am: add -uninstalled.pc.in to EXTRA_DIST 2001-06-07 Havoc Pennington <hp@redhat.com> * pango/Makefile.am: add libpango.la to _DEPENDENCIES for the other libs * configure.in: use AM_PATH_GLIB_2_0 * autogen.sh: support AUTOGEN_SUBDIR_MODE * Makefile.am: dist the .pc.in files 2001-06-07 Havoc Pennington <hp@redhat.com> * atk/Makefile.am: use @GLIB_GENMARSHAL@ so we can use uninstalled glib-genmarshal * configure.in: rearrange the library checks to support uninstalled linking * autogen.sh: add support for AUTOGEN_SUBDIR_MODE * atk-uninstalled.pc.in: new file, allows linking to uninstalled ATK in giant GTK tarball 2001-06-07 Havoc Pennington <hp@redhat.com> * tests/Makefile.am: add missing -I flag * gtk/Makefile.am: use @GLIB_MKENUMS@, @GLIB_GENMARSHAL@, etc. * configure.in: use pkg-config to see if GModule is supported; fix to properly turn on included loaders when GModule isn't supported; don't use AC_CHECK_LIB when libs are not installed yet * autogen.sh: add support for AUTOGEN_SUBDIR_MODE * Makefile.am (SUBDIRS): add m4macros subdir * gtk/Makefile.am: $(srcdir)/foo targets must be $(srcdir)/foo in dependencies also.
* Make the hack for avoiding the last index of the line more sophisticatedOwen Taylor2001-05-311-17/+44
| | | | | | | | | | Thu May 31 19:35:27 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_line_x_to_index): Make the hack for avoiding the last index of the line more sophisticated in order to deal with newlines internal to the layout and the case where the second half of the last character is specifically selected. (Fixes #51190)
* Actually advance through list. (Problem noticed by Erwann Chenede)Owen Taylor2001-05-312-11/+2
| | | | | | | | | | | | | Thu May 31 12:31:20 2001 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontmap.c (pango_x_font_map_for_display): Actually advance through list. (Problem noticed by Erwann Chenede) * modules/Makefile.am (install-data-local): Move rule for generation of /etc/pango/pango.modules to here, since we are now built _after_ the library. (Problem noticed by KUSANO Takayuki)
* Set *trailing properly at end of line.Owen Taylor2001-05-281-0/+1
| | | | | | | Mon May 28 18:15:55 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_move_cursor_visually): Set *trailing properly at end of line.
* Fix problem with information loss when converting leaves to branches.Owen Taylor2001-05-282-5/+9
| | | | | | | | | | | | | | Mon May 28 11:51:45 2001 Owen Taylor <otaylor@redhat.com> * pango/modules.c (map_add_engine): Fix problem with information loss when converting leaves to branches. (Problem found by Toshio MARUYAMA) Wed May 23 12:59:26 2001 Owen Taylor <otaylor@redhat.com> * pango/pangox.c (pango_x_make_font_struct): Load the font struct for "fixed" in the case of a broken font list where fonts listed by XListFonts aren't loadable.
* Use the font at the beginning of the paragraph, not the context's font.Owen Taylor2001-05-181-29/+53
| | | | | | | | Fri May 18 16:44:25 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (ensure_tab_width): Use the font at the beginning of the paragraph, not the context's font.
* Use ISO C99 varargs when available.Owen Taylor2001-05-185-79/+177
| | | | | | | | | | | | | | | | | | | | | | Fri May 18 11:30:57 2001 Owen Taylor <otaylor@redhat.com> * pango/opentype/disasm.c: Use ISO C99 varargs when available. Thu May 17 11:16:23 2001 Owen Taylor <otaylor@redhat.com> * pango/mapping.c: Fixup docs, remove some FIXMEs that are no longer applicable. * pango/pango-layout.c: Move by graphemes, not characters. * pango/pango-layout.c (pango_layout_line_x_to_index): Position at the closest grapheme boundary, not at character boundaries. * pango/pango-layout.c (pango_layout_line_index_to_x): Return positions of grapheme boundaries, not character boundaries.
* Require libtool 1.4 when build out of CVS.Owen Taylor2001-05-161-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | Tue May 1 16:03:48 2001 Owen Taylor <otaylor@redhat.com> * autogen.sh (libtool_version): Require libtool 1.4 when build out of CVS. * **/Makefile.am: Add inter-library dependencies, especially for the modules. Many cleanups to the module makefiles. * configure.in modules/indic/Makefile.am: Remove INCLUDE_ANY_INDIC conditional which doesn't seem to have any point and was definitely suspect as done. * modules/tamil/tamil-xft.c (MODULE_ENTRY): Fix prefix to be _pango_tamil instead of _pango_basic. * Makefile.am: Build modules/ after pango/ so we can make the modules depend on libpango/libpangox. * examples/Makefile.am: Remove spurious rule to rebuild makefile.mingw.