summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* don't get confused by qt3Havoc Pennington2001-06-298-5/+37
| | | | | | 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3
* Require GLib-1.3.7Owen Taylor2001-06-2913-6/+62
| | | | | | | | | | 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-2616-302/+404
| | | | | | | | | | 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-259-303/+49
| | | | | | | | | | | | | | | | | | 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.
* pango/pango-markup.c: modules/arabic/arabic-xft.c (arabic_engine_shape):Owen Taylor2001-06-237-0/+112
| | | | | | | | | | | | | | | | | | 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-2212-24/+97
| | | | | | | | | | | | 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-1458-587/+843
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* don't ignore errors from missing index.sgmlPANGO_0_17GTK_ALL_1_3_6Havoc Pennington2001-06-1310-2/+72
| | | | | | | | | | | 2001-06-12 Havoc Pennington <hp@redhat.com> * docs/Makefile.am (dist-hook): don't ignore errors from missing index.sgml * NEWS: update * configure.in: increment version to 0.17
* added pango*-uninstalled.pc to .cvsignoreSven Neumann2001-06-131-0/+4
|
* Add a 'strong' parameter to allow moving either the strong or the weakOwen Taylor2001-06-0810-2/+50
| | | | | | | | 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.