summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-1-6
Commit message (Collapse)AuthorAgeFilesLines
...
* Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.Alexander Larsson2001-02-281-0/+5
| | | | | | | 2001-02-28 Alexander Larsson <alla@lysator.liu.se> * pango/pango-attributes.[c]: Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.
* Patch from Soeren SandmannHavoc Pennington2001-02-211-0/+11
| | | | | | | | | | | | | 2001-02-20 Havoc Pennington <hp@pobox.com> Patch from Soeren Sandmann * pango/pangox-fontcache.c (pango_x_font_cache_load): make xlfd arg const * pango/pango-utils.c (pango_get_sysconf_subdirectory): G_CONST_RETURN (pango_get_lib_subdirectory): G_CONST_RETURN
* added _pango_included_win32_modules[] to include modules with plain win32Hans Breuer2001-02-191-0/+12
| | | | | | | | | | | | | | 2001-02-19 Hans Breuer <hans@breuer.org> * pango/modules.h, pango/pangowin32.c (pango_win32_get_context) : added _pango_included_win32_modules[] to include modules with plain win32 build as well. * pango/pango.def : added new exported functions * pango/pangowin32-fontmap.c : add unspecified fonts for Monospace, Sans and Serif to avoid crashes if no alias file is provided * pango/*/makefile.msc : new files to build on windoze with msvc
* fix *trailing = FALSE to read *trailing = 0Havoc Pennington2001-02-161-0/+5
| | | | | | | 2001-02-15 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_line_x_to_index): fix *trailing = FALSE to read *trailing = 0
* fix another "count line lengths to get line start" bugHavoc Pennington2001-02-151-0/+5
| | | | | | | 2001-02-13 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_line_get_x_ranges): fix another "count line lengths to get line start" bug
* properly update the tail of the list (pango_attr_list_change): flip orderHavoc Pennington2001-02-131-0/+16
| | | | | | | | | | | | | | | | | | 2001-02-12 Havoc Pennington <hp@redhat.com> * pango/pango-attributes.c (pango_attr_list_insert_internal): properly update the tail of the list (pango_attr_list_change): flip order of tmp_list2 = tmp_list2->next and prev2 = tmp_list2 to avoid setting prev2 and tmp_list2 to the same value thus creating a mangled list. * pango/pango-layout.c (pango_layout_xy_to_index): When returning FALSE, set the index/trailing to the nearest location, instead of setting them to 0. (pango_layout_line_x_to_index): Fix a bug where line->start_index wasn't used. Return boolean for whether we had to clamp the value to get an index.
* Add check for gtk-doc version.Owen Taylor2001-02-121-0/+12
| | | | | | | Mon Feb 12 15:01:38 2001 Owen Taylor <otaylor@redhat.com> * configure.in (gtk_doc_min_version): Add check for gtk-doc version.
* memory leak fixHavoc Pennington2001-02-111-0/+4
| | | | | | 2001-02-11 Havoc Pennington <hp@pobox.com> * pango/pangox.c (font_struct_get_ligatures): memory leak fix
* Use g_win32_get_package_installation_subdirectory(). Use the sameTor Lillqvist2001-02-101-0/+21
| | | | | | | | | | | | | | | | | | | | | | | 2001-02-10 Tor Lillqvist <tml@iki.fi> * pango/pango-utils.c (pango_get_sysconf_subdirectory, pango_get_lib_subdirectory): (Win32): Use g_win32_get_package_installation_subdirectory(). Use the same directory structure as on Unix, etc\pango and lib\pango under the installation "prefix". * config.h.win32 * pango/makefile.mingw.in: Use mini-fribidi instead of full FriBiDi. * pango/pangowin32.c (pango_win32_render_layout_line): Adapt to changed PangoAttrColor. * pango/querymodules.c: Include <io.h> for getcwd() prototype. (query_module): Handle modules with spaces in the path, and backslashes, use g_strescape() (for Windows). * pango/mini-fribidi/makefile.mingw: New file
* Remove bogus MIN when rendering freetype text. Also draw full underlines.Alexander Larsson2001-02-051-0/+6
| | | | | | | | 2001-02-05 Alexander Larsson <alexl@redhat.com> * pango/pangoft2.c (pango_ft2_render, pango_ft2_render_layout_line): Remove bogus MIN when rendering freetype text. Also draw full underlines.
* pass 0 as first argument to g_type_init().Tim Janik2001-02-041-0/+14
| | | | | | | | | | | | | | | | Sun Feb 4 07:48:47 2001 Tim Janik <timj@gtk.org> * pango/pango-attributes.c (pango_color_get_type): pass 0 as first argument to g_type_init(). * pango/pangoxft-fontmap.c (pango_xft_get_font_map): * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display): * pango/pangox-fontmap.c (pango_x_font_map_for_display): * pango/pango-context.c (pango_context_new): likewise. * i dare saying that i doubt the usefullness of all these g_type_init() calls though.
* take a PangoColor not a PangoAttrColorHavoc Pennington2001-01-261-0/+15
| | | | | | | | | | | | | | | | | 2001-01-26 Havoc Pennington <hp@redhat.com> * pango/pangox.h (PangoGetGCFunc): take a PangoColor not a PangoAttrColor * pango/pango-attributes.h: add PangoColor, add PANGO_ATTR_INVALID as a placeholder for zero in the PangoAttrType enum, corresponds to G_TYPE_INVALID. * pango/pango-attributes.c: Add PangoColor type, use for PangoAttrColor (pango_color_get_type): new function (pango_color_copy): new function (pango_color_free): new function
* Updates for new functions.Owen Taylor2001-01-251-0/+5
| | | | | | | Thu Jan 25 14:47:17 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-sections.txt pango/pango-docs.sgml pango/tmpl/*: Updates for new functions.
* New functionHavoc Pennington2001-01-231-2/+6
| | | | | | 2001-01-23 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_copy): New function
* Free item->extra_attrs list.32001-01-231-0/+12
| | | | | | | | | | | | | | 2001-01-23 <alla@lysator.liu.se> * pango/pango-item.c (pango_item_free): Free item->extra_attrs list. * pango/pango-layout.c (process_item): Don't leak copy of item. * pango/pango-utils.c (read_config_file): If the config file open fails, don't leak the temp buffers.
* Don't leak PangoCoverage. Move name free closer to allocation.32001-01-231-0/+10
| | | | | | | | | | | | 2001-01-23 <alexl@redhat.com> * modules/basic/basic-ft2.c (basic_engine_get_coverage): Don't leak PangoCoverage. * pango/pangoft2-fontmap.c (pango_ft2_font_map_load_font): Move name free closer to allocation. (pango_ft2_font_map_read_alias_file): Don't leak faces. (pango_ft2_font_entry_get_coverage): Don't leak font as filename and cache_file_name.
* s/is_break/is_line_break/g;Havoc Pennington2001-01-221-0/+13
| | | | | | | | | | | | | | | 2001-01-22 Havoc Pennington <hp@redhat.com> * tests/testboundaries.c (check_line_char): s/is_break/is_line_break/g; * pango/pango-layout.c, pango/pango-layout.h: Add PangoWrapMode for PangoLayout * pango/break.c (pango_default_break): implement char break log attr * pango/pango-break.h (struct _PangoLogAttr): rename is_break is_line_break, add is_char_break field
* Use correct font metrics information.82001-01-181-0/+5
| | | | | | | 2001-01-18 <alla@lysator.liu.se> * pango/pangoft2.c (get_font_metrics_from_subfonts): Use correct font metrics information.
* Allow '+' in the filename.Tor Lillqvist2001-01-071-0/+18
| | | | | | | | | | | | | | | | | | | | 2001-01-07 Tor Lillqvist <tml@iki.fi> * pango/fonts.c (pango_font_description_to_filename): Allow '+' in the filename. * pango/pangowin32.c (get_font_metrics_from_string): Adopt to new prototype for g_utf8_to_ucs4). * pango/module-defs.c.win32: Removed. * pango/module-defs-ft2.c.win32: New file, hand-written until GNU configure is used on Win32, too. * pango/makefile.mingw.in * pango/Makefile.am (EXTRA_DIST): Corresponding changes. * pango/pango.def: Update.
* Adapt to new g_utf8_to_ucs4() prototype.Owen Taylor2001-01-071-0/+11
| | | | | | | | | | | | | Sat Jan 6 20:23:54 2001 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-x.c (arabic_engine_shape): Adapt to new g_utf8_to_ucs4() prototype. * modules/basic/basic-ft2.c: Include pango-engine.h * pango/pangoft2.h: Don't include pango.h, which would pull in pango-enums.h and thus break module building, just include neeeded pango-layout.h
* Adopt to new prototype for g_utf8_to_ucs4 (etc.).Owen Taylor2001-01-051-0/+5
| | | | | | | Fri Jan 5 16:12:37 2001 Owen Taylor <otaylor@redhat.com> * modules/arabic/{arabic-xft,arabic}.c pango/{pango-context.c,pangoft.c,pangox.c}: Adopt to new prototype for g_utf8_to_ucs4 (etc.).
* Add pangoft2.pcAlexander Larsson2001-01-051-0/+11
| | | | | | | | | | | | | 2001-01-05 Alexander Larsson <alla@lysator.liu.se> * .cvsignore: Add pangoft2.pc * Makefile.am: * configure.in: Build and install pangoft2.pc * pangoft2.pc: New file.
* add X_CFLAGSHavoc Pennington2001-01-051-0/+10
| | | | | | | | | | | | 2001-01-04 Havoc Pennington <hp@redhat.com> * modules/indic/Makefile.am (INCLUDES): add X_CFLAGS * modules/hangul/Makefile.am (INCLUDES): add X_CFLAGS * modules/tamil/Makefile.am (INCLUDES): add X_CFLAGS * modules/thai/Makefile.am (INCLUDES): add X_CFLAGS
* put creation of module file here. Fixes problem if you 'make install' withHavoc Pennington2001-01-041-0/+15
| | | | | | | | | | | | | | | | | 2001-01-04 Havoc Pennington <hp@redhat.com> * pango/Makefile.am (install-data-local): put creation of module file here. Fixes problem if you 'make install' with no preceding 'make' reported by Michael Meeks. * modules/Makefile.am (install-data-local): remove creation of module file from here * Makefile.am (SUBDIRS): remove pango-config * configure.in: use pkg-config to detect GLib cflags/libs * pangoxft.pc (Description): fix name/description
* i2001-01-04 Alexander Larsson <alla@lysator.liu.se>Alexander Larsson2001-01-041-0/+21
| | | | | | | | | | | | | | | | | | | | | * modules/arabic/arabic-x.c: * modules/arabic/arabic-xft.c: * modules/basic/basic-ft2.c: * modules/basic/basic-win32.c: * modules/basic/basic-x.c: * modules/hangul/hangul-x.c: * modules/indic/bengali-x.c: * modules/indic/devanagari-x.c: * modules/indic/gujarati-x.c: * modules/indic/gurmukhi-x.c: * modules/indic/myanmar-x.c: * modules/tamil/tamil-x.c: * modules/thai/thai-x.c: Change all modules to use a define to the script engine name. Also Fixes some errors in the names (they were different in the same module). * pango/.cvsignore: add module-defs*.[ch]
* Rename all x modules from abc to abc-x.Alexander Larsson2001-01-031-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Alexander Larsson <alexl@redhat.com> * configure.in: * modules/arabic/Makefile.am: * modules/arabic/arabic-x.c: * modules/basic/Makefile.am: * modules/basic/basic-x.c: * modules/hangul/Makefile.am: * modules/hangul/hangul-x.c: * modules/indic/Makefile.am: * modules/indic/bengali-x.c: * modules/indic/devanagari-x.c: * modules/indic/gujarati-x.c: * modules/indic/gurmukhi-x.c: * modules/indic/myanmar-x.c: * modules/tamil/Makefile.am: * modules/tamil/tamil-x.c: * modules/thai/Makefile.am: * modules/thai/thai-x.c: Rename all x modules from abc to abc-x. * modules/arabic/arabic.c: * modules/basic/basic.c: * modules/hangul/hangul.c: * modules/indic/bengali.c: * modules/indic/devanagari.c: * modules/indic/gujarati.c: * modules/indic/gurmukhi.c: * modules/indic/myanmar.c: * modules/tamil/tamil.c: * modules/thai/thai.c: These were all copied to file-x.c and then removed.
* Update the default list of included modules forAlexander Larsson2001-01-031-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Alexander Larsson <alexl@redhat.com> * configure.in: Update the default list of included modules for --with-included-modules=yes to include all new modules. Split INCLUDED_MODULES and module-defs.c into per shaper engine type lists. * modules/arabic/Makefile.am: Build libpango-arabic-xft.la if INCLUDE_ARABIC_XFT. * modules/arabic/arabic-xft.c: Change module prefix to _pango_arabic_xft_ * modules/basic/Makefile.am: Build static libs for all included modules. * modules/basic/basic-ft2.c: Change module prefix to _pango_basic_ft2_ * modules/basic/basic-xft.c: Change module prefix to _pango_basic_xft_ * pango/Makefile.am: Include correct module-defs-XXX in libs. * pango/modules.h: Split _pango_included_modules[] into separate lists. * pango/pangox.c: * pango/pangoft2.c: * pango/pangoxft-fontmap.c: Register built in modules.
* Remove timing printfs.Alexander Larsson2000-12-221-0/+3
| | | | | | | 2000-12-22 Alexander Larsson <alla@lysator.liu.se> * pango/pangoft2.c: Remove timing printfs.
* Disable debug.Alexander Larsson2000-12-221-0/+5
| | | | | | | 2000-12-22 Alexander Larsson <alla@lysator.liu.se> * pango/pangoft2-private.h: Disable debug.
* Only a script engine here.Tor Lillqvist2000-12-211-0/+18
| | | | | | | | | | | | | | | | | | | | 2000-12-21 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c (script_engine_load): Only a script engine here. * pango/makefile.mingw.in: Add the built pango-enum-types.[ch]. * pango/pango.def * pango/pangoft2.def: Update. * pango/opentype/pango-ot.def * pango/opentype/makefile.mingw.in: New files. * pango/opentype/Makefile.am (EXTRA_DIST): Add them. * configure.in (included_modules): Generate pango/opentype/makefile.mingw.
* Change usage to say pango-config instead of glib-config. Add support forAlexander Larsson2000-12-211-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-21 Alexander Larsson <alexl@redhat.com> * pango-config.in: Change usage to say pango-config instead of glib-config. Add support for pangoft2. * modules/basic/Makefile.am: Compile and install pango-basic-ft2 if freetype was found. * modules/basic/basic-ft2.c: Remove lang engine. Make the glyph from the glyph index instead of the unicode index. The id is really BasicScriptEngineFT2. * pango/Makefile.am: Compile and install pangoft2 if freetype was found. * pango/pangoft2-fontcache.c (pango_ft2_font_cache_load): Init face->generic.data to 0, since this field will be used to cache the current size of the face. * pango/pangoft2-fontmap.c (pango_ft2_font_map_for_display): Use g_object_new instead of g_type_create_instance. (pango_ft2_font_entry_get_coverage): Use G_DIR_SEPARATOR_S instead of \\. (pango_ft2_font_entry_get_coverage): Init result to NULL. Don't write to file if open failed. * pango/pangoft2-private.h: Add PangoFT2GlyphInfo. * pango/pangoft2.c (pango_ft2_get_face): Export function, and make sure it sets the correct face size. (pango_ft2_load_font, pango_ft2_get_per_char, pango_ft2_font_get_kerning): PANGO_FT2_GLYPH_INDEX stores the glyph index, not the unicode value. (pango_ft2_font_get_glyph_extents): Cache glyph extents. (pango_ft2_has_glyph): Remove function. (pango_ft2_font_finalize): Free glyph info cache. * pango/pangoft2.h: Export pango_ft2_get_face, remove pango_ft2_has_glyph.
* Add opentype/.Owen Taylor2000-12-211-0/+14
| | | | | | | | | | | | | | | | Wed Dec 20 19:53:09 2000 Owen Taylor <otaylor@redhat.com> * docs/Makefile.am (IGNORE_HFILES): Add opentype/. * modules/{basic/basic,arabic/arabic}-xft.c: Include pango-engine.h. * pango/pangoxft.h: Don't include pango.h to avoid getting pango-enum-types.h. * pango/Makefile.am (pangoinclude_HEADERS): Move XFT_HFILES out of pango_headers, since mkenums.pl shouldn't be run on it.
* fix freetype check a bitHavoc Pennington2000-12-201-0/+4
| | | | | | 2000-12-20 Havoc Pennington <hp@redhat.com> * configure.in: fix freetype check a bit
* Since Xft may only be available statically without shlib deps, check forOwen Taylor2000-12-201-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Dec 19 22:47:16 2000 Owen Taylor <otaylor@redhat.com> * configure.in pango-config.in pangoxft.pc.in modules/basic/Makefile.am: Since Xft may only be available statically without shlib deps, check for FreeType libs explicitly and include them when linking, otherwise things won't work. Also, define FREETYPE_CFLAGS from freetype-config --cflags. * modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool Xft into not converting glyph indices by loading the face unencoded then calling FT_Set_Charmap ourselves. * pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start of opentype handling - most of the actually meat of the code here is the OpenType layout code from FreeType 1 ported to freetype2 and adapted slighlty for our purposes. Also, includes a incomplete OpenType-table-dumping code useful for figuring out what is going on. * pango/pangoxft.h pango/pangoxft-font.h: Add calls for getting FT_Face and PangoOTInfo from PangoXftFont. * modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}: Initial support for rendering Arabic with OpenType fonts.
* Fix build breakage, reported by Alex Larsson and Yasushi ShojiHavoc Pennington2000-12-181-0/+15
| | | | | | | | | | | | | | | | | 2000-12-18 Havoc Pennington <hp@redhat.com> Fix build breakage, reported by Alex Larsson and Yasushi Shoji * pango/pangox.h: don't include pango.h, just individual headers * configure.in: check for perl, add --disable-rebuilds configure option, automatically disable rebuilds if no perl * pango/Makefile.am: use located perl to run makeenums.pl, and don't try to rebuild if we did --disable-rebuilds (EXTRA_DIST): add built headers * modules/*/*.[hc]: don't include pango.h, include specific headers
* move pango_shape and pango_reorder_items in here.Havoc Pennington2000-12-161-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-15 Havoc Pennington <hp@pobox.com> * pango/pango-glyph.h: move pango_shape and pango_reorder_items in here. * pango/pango-break.h: move most of pango.h in here, so that pango.h can be the only file that includes pango-enum-types.h, so that changing any header doesn't end up rebuilding all of pango due to a rebuild of pango-enum-types.h. * pango/makeenums.pl: script to generate pango-enum-types.[hc] * pango/Makefile.am (pango_headers): built pango-enum-types.h, pango-enum-types.c that do enum type registration; add pango-break.h; do some assorted rearranging to handle the built headers * pango/pango.h: moved most of it to pango-break.h * pango/break.c: include individual headers, not pango.h * pango/shape.c: ditto * pango/reorder-items.c: ditto * pango/querymodules.c: ditto * pango/pango-layout.c: ditto * pango/pango-indic.c: ditto * pango/mapping.c: ditto * pango/itemize.c: ditto * pango/fonts.c: ditto
* touch sysconfdir/pango/pango.modules even if there are no dynamic modules,Havoc Pennington2000-12-151-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-15 Havoc Pennington <hp@redhat.com> * modules/Makefile.am (install-data-local): touch sysconfdir/pango/pango.modules even if there are no dynamic modules, so pango won't spew warnings about pango.modules not existing, and to simplify RPM file lists * pango/pango-context.c (fallback_engine_shape): fix this to avoid incrementing i twice (fallback_shaper): fix initializer * pango/querymodules.c (query_module): don't call g_module_close() on a module that doesn't get opened successfully * pango/modules.c: do not include modules.h (init_modules): do not do the builtin modules here, they are done by pangox * pango/pangox.c (pango_x_get_context): register included modules here * pango/pangoxft-font.c: do not include modules.h * pango/Makefile.am (libpango_la_SOURCES): move modules.c, back in here (but not modules.h, which actually goes with module-defs.c)
* Use a fallback shaper if no engine is found for a range, the fallbackHavoc Pennington2000-12-151-0/+15
| | | | | | | | | | | | | | | | | 2000-12-14 Havoc Pennington <hp@redhat.com> * pango/pango-context.c (add_engines): Use a fallback shaper if no engine is found for a range, the fallback shaper shapes to glyphs of 0. This is just to let other code depend on the invariant that there's a shape engine for all characters. * tests/all-unicode.txt: Huge file containing all Unicode characters, for robustness testing. Not in EXTRA_DIST for now, not sure we should torture people that way... * pango/fonts.c (pango_font_find_shaper): remove the assert that we found a shaper, and instead let things fall back to the fallback shaper
* Add PANGO_XFT_IS_FONT to the public header.Owen Taylor2000-12-151-0/+5
| | | | | | | Thu Dec 14 20:34:18 2000 Owen Taylor <otaylor@redhat.com> * pango/pangoxft.h pango/pangoxft-font.c: (PANGO_TYPE_XFT_FONT): Add PANGO_XFT_IS_FONT to the public header.
* Fix macro breakage.Owen Taylor2000-12-151-0/+14
| | | | | | | | | | | | | | | | Thu Dec 14 19:00:46 2000 Owen Taylor <otaylor@redhat.com> * modules/indic/pango-indic-script.h: Fix macro breakage. * modules/basic/tables-big.i: Remove extra copy of basic_ranges. * modules/thai/thai.c: Fix various warnings. * configure.in Makefile.am pangoxft.pc.in pango-config.in modules/basic/Makefile.am modules/basic/basic-xft.c pango/Makefile.am pango/pangoxft-font.[ch] pango/pangoxft-fontmap.c pango/pangoxft.h pango/pangoxft-private.h: Initial support for rendering via Xft and the Xrender extension.
* add assertion that shaper != NULL to catch engine problems fasterHavoc Pennington2000-12-141-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-14 Havoc Pennington <hp@redhat.com> * pango/fonts.c (pango_font_find_shaper): add assertion that shaper != NULL to catch engine problems faster * pango/Makefile.am (libpangox_la_SOURCES): modules.[hc] and module-defs.c have to go in libpangox for now since the modules use the X stuff, and static linkage won't let you play games here * examples/Makefile.am (pango_viewer_LDADD): fix order of link * modules/indic/pango-indic-script.h (pango_indic_get_char): make this a macro, so it doesn't collide between modules * modules/*/Makefile.am: Fix to work if the module isn't included * examples/Makefile.am: don't query modules if we didn't build any * modules/indic/gurmukhi.c (MODULE_ENTRY): fix prefix * modules/indic/bengali.c (MODULE_ENTRY): fix prefix * modules/indic/gujarati.c (MODULE_ENTRY): fix prefix * modules/indic/devanagari.c (MODULE_ENTRY): fix prefix * modules/indic/myanmar.c (MODULE_ENTRY): uniquely prefix the functions * modules/Makefile.am (MODULES): handle case where there are no modules to query * configure.in: Fix up include_modules stuff to work with Indic * pango/glyphstring.c (pango_glyph_string_set_size): Just g_error() if the glyph string exceeds maximum integer size, instead of mysteriously crashing later.
* Update for newest FreeType2. (pango_ft2_font_finalize): gcc warns aboutTor Lillqvist2000-12-141-0/+7
| | | | | | | | | 2000-12-15 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.c (pango_ft2_ft_strerror): Update for newest FreeType2. (pango_ft2_font_finalize): gcc warns about empty format strings, so use just a space...
* Add some jamo and viramas and unicode para separators and \r\n and so on,Havoc Pennington2000-12-121-0/+6
| | | | | | | 2000-12-11 Havoc Pennington <hp@redhat.com> * tests/boundaries.utf8: Add some jamo and viramas and unicode para separators and \r\n and so on, crashes the text widget nicely
* #include <string.h>Elliot Lee2000-12-111-0/+3
| | | | #include <string.h>
* Add a tab into to Yiddish line to force correct segmentation around theOwen Taylor2000-12-111-0/+5
| | | | | | | Mon Dec 11 15:20:24 2000 Owen Taylor <otaylor@redhat.com> * examples/HELLO.utf8: Add a tab into to Yiddish line to force correct segmentation around the parentheses.
* delete lang engineHavoc Pennington2000-12-021-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-30 Havoc Pennington <hp@pobox.com> * modules/thai/thai.c: delete lang engine * modules/tamil/tamil.c: delete lang engine (tamil_engine_x_new): fix type tag for shape engine * modules/indic/myanmar.c: delete lang engine (pango_engine_x_new): fix type tag for shape engine * modules/indic/gurmukhi.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/gujarati.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/devanagari.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/pango-indic-script.h (SCRIPT_ENGINE_DEFINITION): delete lang engine * modules/indic/bengali.c: delete the lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/hangul/hangul.c: delete the lang engine (hangul_engine_x_new): fix type tag for shape engine * modules/basic/basic.c: delete the lang engine (basic_engine_x_new): fix type tag for shape engine * modules/basic/basic-win32.c: delete the lang engine (basic_engine_win32_new): this was a shape engine, use correct type tag * modules/basic/basic-ft2.c: delete the lang engine * modules/arabic/arabic.c: Delete the lang engine (arabic_engine_x_new): this is a shape engine, not a lang engine, fix type tag * pango/pango-layout.c (pango_layout_index_to_line_x): handle the fact that paragraph delimiters aren't in the layout lines (pango_layout_index_to_pos): update to handle paragraph delimiters * pango/break.c (pango_find_paragraph_boundary): New function to find paragraph boundaries * pango/pango-layout.c (get_items_log_attrs): don't separate calls to pango_break() when directional level changes * pango/pango-layout.h (struct _PangoLayoutLine): put start index of the line into the struct * pango/pango-layout.c (pango_layout_get_cursor_pos): Fixups to reflect the fact that paragraph separators are removed from the input text. * pango/pango-layout.c (can_break_at): don't special-case start of line and whitespace-following-alphabetic here, because pango_break() already handles that properly * tests/testboundaries.c, tests/Makefile.am, tests/runtests.sh: Add directory for test programs, and a script to run them all * configure.in: Create Makefile in tests * pango/break.c (pango_break): Try for a real implementation of the Unicode text boundary algorithms (pango_get_log_attrs): Allow length to be -1 * pango/pango-context.c (pango_itemize): use pango_item_new(), assert that items added to the list are sane. * pango/pango-layout.c (pango_layout_check_lines): Reimplement to honor the paragraph boundaries from pango_break() * pango/pango-layout.c (process_item): use pango_item_split() here * pango/pango-item.c (pango_item_split): New function to split an item into two items
* Make sure that we don't end up in an infinite loop due to zero-width tabs.Owen Taylor2000-12-011-0/+6
| | | | | | | | Fri Dec 1 11:49:50 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (get_tab_pos): Make sure that we don't end up in an infinite loop due to zero-width tabs. (Fix problem found by Hans Breuer)
* Use g_file_test().Tor Lillqvist2000-11-301-1/+6
| | | | | | | | | | 2000-12-01 Tor Lillqvist <tml@iki.fi> * pango/pango-utils.c (pango_get_sysconf_subdirectory): Use g_file_test(). * examples/viewer-win32.c (main): Disable double buffering on the layout widget only when building with GTK+ 1.3.2 or newer.
* Define PANGO_VERSION.Tor Lillqvist2000-11-301-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-30 Tor Lillqvist <tml@iki.fi> * pango/makefile.mingw.in (DEFINES): Define PANGO_VERSION. Changes by Hans Breuer: * pango/pango-layout.c (shape_tab): Add a FIXME comment. * pango/pango-markup.c (compare_xcolor_entries): Use g_strcasecmp. * pango/pango-utils.c (pango_get_sysconf_subdirectory): Use second fallback location if there is no pango subdir in the Windows directory. * pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage): Check if fopen succeeded. * pango/pangowin32-private.h (DEBUGGING): Turn off. * pango/pangowin32.c (pango_win32_unicode_classify): We can in fact get out of the loop. Return invalid value in that case. (subfont_has_glyph): Improve performance a bit. * pango/querymodules.c: Small change for MSVC build. * modules/basic/basic-win32.c (basic_engine_get_coverage): Performance improvement. * examples/viewer-win32.c (main): Disable double buffering on the layout widget.
* Some tiny changes to correspond to fribidi-0.15Owen Taylor2000-11-291-0/+10
| | | | | | | | | | | Wed Nov 29 11:08:52 2000 Owen Taylor <otaylor@redhat.com> * pango/mini-fribidi/fribidi.c pango/mini-fribidi/fribidi-tables.i: Some tiny changes to correspond to fribidi-0.15 * pango.pc.in pango-config.in pango/Makefile.am: Move headers into separate subdir, to avoid clashes with future versions of Pango.