summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* pass "" as default text into pango_layout_set_text() as NULL isn't allowedTim Janik2001-08-238-1/+43
| | | | | | | | 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-228-38/+62
| | | | | | | | | 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.
* Fixed MAITHAIKHU for UpperTailed Consonances, ie, PO_PLA (by K.Theppitak).Chookij Vanatham2001-08-161-2/+2
|
* Fully convert the truetype unicode table to host endianness when readingAlexander Larsson2001-08-168-17/+77
| | | | | | | | 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.
* fixed stupid typeJens Finke2001-08-151-1/+1
|
* Updated to match gpp standard.Jens Finke2001-08-158-33/+79
| | | | | | 2001-08-15 Jens Finke <jens@gnome.org> * pango.spec.in: Updated to match gpp standard.
* composite with "saturate" semantics instead of "over" so joining glyphsSven Neumann2001-08-148-15/+36
| | | | | | | 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-148-14/+81
| | | | | | | | 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-1210-169/+46
| | | | | | | 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-0911-5/+532
| | | | | | | | | | | | | | | | | | | 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-098-15/+56
| | | | | | Remove unneeded inc_rect parameter. (pango_layout_line_get_extents): Treat lines containing only tabs as empty lines. (#57051)
* ogh, forgot the changelogAlexander Larsson2001-08-097-7/+56
|
* Large rewrite of the win32 backend to use real glyph indexes instead ofAlexander Larsson2001-08-0913-1821/+638
| | | | | | | | | | | | | | | | | | | 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-049-12/+36
| | | | | | | | | | | | 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.
* Don't build the non-existant testfont binary Use glib-mkenums instead ofAlexander Larsson2001-08-047-0/+70
| | | | | | | | | | | | 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.
* Remove unused prototype.Darin Adler2001-07-278-1/+28
| | | | * modules/indic/gujarati-x.c: Remove unused prototype.
* shut up CVSSven Neumann2001-07-241-0/+1
|
* make implementation static too.Hans Breuer2001-07-2012-8/+123
| | | | | | | | | | | | | 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-198-18/+51
| | | | | | | 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.
* Updated the change to handle iso10646 for Thai non-spacing vowels/tonemarksChookij Vanatham2001-07-181-21/+14
| | | | as similar as others (Thai MS/MAC) by K.Theppitak.
* Updated the improvements of Hebrew points positioningChookij Vanatham2001-07-171-27/+189
| | | | from Dov Grobgeld <dov@imagic.weizmann.ac.il>
* Fix dependencies to work without XFT.Owen Taylor2001-07-138-2/+37
| | | | | | | 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-128-22/+87
| | | | | | | | | | | 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-1220-40/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0215-0/+260
| | | | | | | | | | | | | | | | | | | | | | | | 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-0211-16/+72
| | | | | | | | | | 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-028-5/+47
| | | | | | | | 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.