summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* === Released 1.3.1 ===PANGO_1_3_1Owen Taylor2003-12-087-23/+67
| | | | | | | | | | | | | Mon Dec 8 12:57:03 2003 Owen Taylor <otaylor@redhat.com> * === Released 1.3.1 === * NEWS: Further updates for 1.3.1 * pango/pango-script.c (pango_script_iter_next): Put in a hopefully-correct fix for a problem with invalid values of start_sp causing out-of-bounds writes. (#125928, Morten Welinder)
* Fix problems when building outside srcdir for Win32. (#122167, JeffTor Lillqvist2003-12-076-9/+34
| | | | | | | 2003-12-07 Tor Lillqvist <tml@iki.fi> * pango/Makefile.am: Fix problems when building outside srcdir for Win32. (#122167, Jeff Bonggren)
* initialize the fontmap's resolution to some sane default values. Fixes bugSven Neumann2003-12-056-2/+36
| | | | | | | 2003-12-05 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c: initialize the fontmap's resolution to some sane default values. Fixes bug #123602.
* Honor U+2028 LINE SEPARATOR. (#85745)Noah Levitt2003-12-047-7/+53
| | | | | | | 2003-12-04 Noah Levitt <nlevitt@columbia.edu> * pango/pango-context.c: * pango/pango-layout.c: Honor U+2028 LINE SEPARATOR. (#85745)
* Add --indent=n option.Noah Levitt2003-11-259-9/+56
| | | | | | | | | 2003-11-25 Noah Levitt <nlevitt@columbia.edu> * examples/pangoft2topgm.c: Add --indent=n option. * pango/pango-layout.[ch]: Indent the first line of every paragraph, not just the first line in the layout. (#66626)
* Italian is "it"; "iw" is deprecated for Hebrew, should be "he".Noah Levitt2003-11-256-2/+27
| | | | | | | 2003-11-25 Noah Levitt <nlevitt@columbia.edu> * pango-utils.c (lang_texts[]): Italian is "it"; "iw" is deprecated for Hebrew, should be "he".
* oops typoManish Singh2003-11-205-5/+5
|
* #include <fontconfig/fcfreetype.h> for FreeTypeCharIndex().Manish Singh2003-11-206-0/+26
| | | | | | | 2003-11-20 Manish Singh <yosh@gimp.org> * pango/pangoft2-private.h: #include <fontconfig/fcfreetype.h> for FreeTypeCharIndex().
* reverted the patch for bug #123602 since I only applied it accidentally. ISven Neumann2003-11-207-70/+75
| | | | | | | | | | | 2003-11-20 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c: reverted the patch for bug #123602 since I only applied it accidentally. I still believe the patch should go in though. * pango/pangoft2.c: really applied the fix for #101856 as described below.
* Update to latest fribidi. (#68435)Noah Levitt2003-11-2015-1186/+7699
| | | | | | | | | | | | | | | | 2003-11-20 Noah Levitt <nlevitt@columbia.edu> * pango/pango-utils.c: * pango/mini-fribidi/Makefile.am: * pango/mini-fribidi/README: * pango/mini-fribidi/fribidi.c: * pango/mini-fribidi/fribidi.patch: * pango/mini-fribidi/fribidi_char_type.c: * pango/mini-fribidi/fribidi_tab_char_type_2.i: * pango/mini-fribidi/fribidi_types.c: * pango/mini-fribidi/fribidi_types.h: * pango/mini-fribidi/fribidi_types.i: Update to latest fribidi. (#68435)
* Draw 6-digit hex boxes for > U+FFFF. (#101081)Noah Levitt2003-11-186-19/+57
| | | | | | | 2003-11-18 Noah Levitt <nlevitt@columbia.edu> * pango/pangxft-font.c (pango_xft_real_render): Draw 6-digit hex boxes for > U+FFFF. (#101081)
* Fix _SCALE semantics. Fixes bug 121543; patch from Owen.Morten Welinder2003-11-186-4/+34
| | | | | | | 2003-11-18 Morten Welinder <terra@gnome.org> * pango/pango-attributes.c (pango_attr_iterator_get_font): Fix _SCALE semantics. Fixes bug 121543; patch from Owen.
* Fixed my ChangeLog entry (sorry, didn't save before committing).Sven Neumann2003-11-185-10/+10
|
* removed the set_unicode_charmap() call. MadeSven Neumann2003-11-186-2/+51
| | | | | | | | | | 2003-11-18 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c: removed the set_unicode_charmap() call. Made pango_ft2_font_real_get_glyph() use FcFreeTypeCharIndex() rather than FT_Get_Char_Index(). Made pango_ft2_font_real_has_char() use FcCharSetHasChar(). This allows to use PangoFT2 with all font encodings supported by fontconfig and fixes bug #101856.
* === Released 1.3.1 ===Owen Taylor2003-11-155-0/+20
| | | | | | Sat Nov 15 16:03:30 2003 Owen Taylor <otaylor@redhat.com> * === Released 1.3.1 ===
* Version 1.3.1, interface age 1.Owen Taylor2003-11-157-7/+43
| | | | | | | | Wed Nov 12 16:11:47 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Version 1.3.1, interface age 1. * NEWS: Updates for 1.3.1
* Make parent_class variable static.Padraig O'Briain2003-11-126-1/+21
| | | | | | 2003-11-12 Padraig O'Briain <padraig.obriain@sun.com> * pangoo/modules.c: Make parent_class variable static.
* Switch over to recommended Freetype system of include ft2build.h thenOwen Taylor2003-11-0118-41/+96
| | | | | | | | | | | | | | Sat Nov 1 09:32:15 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h pango/pangoft2.c pango/opentype/pango-ot-info.c pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: Switch over to recommended Freetype system of include ft2build.h then #include FT_FREETYPE_H. Fixes ftmodule.h problem with current Freetype CVS. (#125548)
* Fix some leftover references to INCLUDE_XFT_MODULES, INCLUDED_FC_MODULES.Owen Taylor2003-10-317-10/+50
| | | | | | | | | | | Fri Oct 31 13:01:25 2003 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (libpangox_1_0_la_LDFLAGS): Fix some leftover references to INCLUDE_XFT_MODULES, INCLUDED_FC_MODULES. (#125588, Martin Kretzschmar) * pango/pangox-fontmap.c (pango_x_face_get_coverage): Fix some code that was never quite finished.
* Fix one problem with iteration by chars (Part of #89541, MarianoOwen Taylor2003-10-316-4/+59
| | | | | | | | | | | | | Fri Oct 31 12:32:38 2003 Owen Taylor <otaylor@redhat.com> Fix one problem with iteration by chars (Part of #89541, Mariano Suárez-Alvarez) * Pango/pango-layout.c (cluster_end_index): Fix to be item relative, like iter->cluster_index. * pango/pango-layout.c (pango_layout_iter_next_char): Adapt.
* === Released 1.3.0 ===PANGO_1_3_0Owen Taylor2003-10-2415-13/+260
| | | | | | | | | | | | | | | | | | Fri Oct 24 00:09:17 2003 Owen Taylor <otaylor@redhat.com> * === Released 1.3.0 === * pango/module-defs-fc.c.win32 pango/module-defs-fc.c.win32: Add the -fc version, remove the -ft2 version. Not sure this file is actually needed any more. * pango/Makefile.am (libpango_1_0_la_SOURCES): Add pango-impl-utils.h, pango-script-lang-table.h. * docs/Makefile.am (dist-hook-local): Distribute generated manpage. * tests/Makefile.am (CLEANFILES): Add pango.modules
* Initialize state->lang. (#124047, Morten Welinder)Owen Taylor2003-10-156-0/+27
| | | | | | | Wed Oct 15 17:18:37 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (itemize_state_init): Initialize state->lang. (#124047, Morten Welinder)
* Remove an unused variable. (#122680, Kjartan Maraas)Owen Taylor2003-10-146-1/+25
| | | | | | | Tue Oct 14 19:00:17 2003 Owen Taylor <otaylor@redhat.com> * modules/hebrew/hebrew-xft.c (hebrew_engine_shape): Remove an unused variable. (#122680, Kjartan Maraas)
* Fix a c99-ism, include stdlib.h for bsearch. (#123616, Kaushal Kumar)Owen Taylor2003-10-016-2/+35
| | | | | | | | Wed Oct 1 12:40:38 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c (pango_script_get_sample_language): Fix a c99-ism, include stdlib.h for bsearch. (#123616, Kaushal Kumar)
* Replace get_coverage by covers in the doc comment.Matthias Clasen2003-09-2912-5/+113
| | | | | | | | | | | | | | | | | | | | 2003-09-30 Matthias Clasen <maclas@gmx.de> * pango/pango-engine.h (struct _PangoEngineShapeClass): Replace get_coverage by covers in the doc comment. * pango/pango-script.c (pango_language_includes_script) (pango_script_get_sample_language): * pango/pango-fontset.c (pango_fontset_foreach): * pango/pango-fontmap.c (pango_font_map_get_shape_engine_type): * pango/modules.c (pango_map_get_engines): * pango/pango-fontset.h (PangoFontsetForEachFunc): Fix typos and add "Since: 1.4" tags. * docs/pango-sections.txt: Add PangoFontsetForeachFunc, pango_fontset_foreach(), pango_font_map_get_shape_engine_type(), PangoScriptForLang, pango_script_get_sample_language() and pango_language_includes_script(), remove pango_map_get_entry().
* Handle non-hebrew characters.Owen Taylor2003-09-246-18/+46
| | | | | | | Wed Sep 24 18:29:34 2003 Owen Taylor <otaylor@redhat.com> * modules/hebrew/hebrew-shaper.c (hebrew_shaper_get_next_cluster): Handle non-hebrew characters.
* Only reset the word type to WordNone at a word end if it is not also aMatthias Clasen2003-09-246-4/+41
| | | | | | | | | 2003-09-25 Matthias Clasen <maclas@gmx.de> * pango/break.c (pango_default_break): Only reset the word type to WordNone at a word end if it is not also a word start. Otherwise both 't' and 'e' are classified as word start in '123test'. (#122754, Hidetoshi Tajima)
* Don't break runs when we hit neutral characters.Owen Taylor2003-09-236-10/+35
| | | | | | | Tue Sep 23 19:43:05 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (itemize_state_add_character): Don't break runs when we hit neutral characters.
* Modules now declare a list of scripts that they cover instead of a list ofOwen Taylor2003-09-2340-898/+1925
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Sep 23 18:03:57 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engines.[ch] pango/pango-engines-private.h: Modules now declare a list of scripts that they cover instead of a list of code point ranges. Also, there is now a ->covers() virtual function that allows a module to decide live whether the font covers a particular codepoint; remove old get_coverage() method. * pango/pango-fontset.[ch]: Add a foreach() function to iterate over all the fonts in a fontset (with a true return stopping iteration). * pango/pango-context.c: Complete rewrite using script-run information to improve language tags. Switch to an approach where we handle one run at a time rather than computing information for each character individually then later breaking the result into runs. * pango/pango-fontset.[ch]: Switch over to using pango-impl-utils.h. * modules/basic/basic-x.c pango/pangox-fontmap.c: Adapt to the change from get_coverage => covers. * pango/pango-modules.h pango/modules.c: Switch PangoMap over to being based on script rather than being based on codepoint. Remove the no longer needed pango_map_get_entry(). * pango/modules.c: Handle new script-based modules. * pango/pango-fc-fontmap.c pango/pango-win32-fontmap.c pango/pang-fontmap.[ch]: Add a shape_engine_type field to PangoFontmapClass, pango_font_map_get_shape_engine_type(); this allows generic code to find a shaper for a particular fontmap. * pango/pango-script.[ch]: Add pango_script_get_sample_language(), pango_language_includes_script(); functions for determining the relationship between scripts and language. * tools/gen-script-for-lang.c: Modify to spit out a useful table. * pango/pango-script-lang-table.h: Version of table generated from current fontconfig data. * pango/pangox.c: Remove complicated code to compute coverages; no longer useful now that we just have the basic shaper as a legacy thing. * modules/*/*.c: Adapt to identifying shape engines by language range. * modules/thai/thai-fc.c modules/thai/thai-shaper.[ch]: Remove now unused "has_glyph" function and XTIS support. * modules/thai/thai-fc.c: Handle non-Thai characters as well, since the Thai module now gets spaces, punctuation, and so forth.
* Add property dependencies on mini-fribidi and opentype convenienceOwen Taylor2003-09-151-1/+2
| | | | | | | Mon Sep 15 17:07:58 2003 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am: Add property dependencies on mini-fribidi and opentype convenience libraries.
* Fix gcc-3.3 versions of macros to have the right return value.Owen Taylor2003-09-156-18/+76
| | | | | | | Mon Sep 15 17:16:59 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/fterrcompat.h: Fix gcc-3.3 versions of macros to have the right return value.
* Fix a g_assert() with a side-effect. (Maybe #121742?)Owen Taylor2003-09-156-1/+28
| | | | | | | Tue Sep 9 12:21:02 2003 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.c (pango_fc_font_description_from_pattern): Fix a g_assert() with a side-effect. (Maybe #121742?)
* Borrow argument parsing code from GDK.Owen Taylor2003-09-1511-237/+765
| | | | | | | | | | | | | Mon Sep 15 15:48:25 2003 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am examples/argcontext.c examples/argcontext.h: Borrow argument parsing code from GDK. * examples/pangoft2topgm.c: Use argcontext.[ch]. Add options --header to display options in a header in the image, --text to pass the text on the command line, --width to set a wrap width. Add autoconversion to non-PGM output formats via 'convert' for --output="foo.png" etc.
* Document these funcions as backends-only, and explain how to obtainMatthias Clasen2003-09-116-0/+44
| | | | | | | | 2003-09-12 Matthias Clasen <maclas@gmx.de> * pango/pango-context.c (pango_context_set_font_map) (pango_context_new): Document these funcions as backends-only, and explain how to obtain initialized contexts. (#121881, Martin Pool)
* Remove reference to now-gone make-table.sh (#121393, Josh Beam)Owen Taylor2003-09-096-1/+25
| | | | | | | Tue Sep 9 12:17:07 2003 Owen Taylor <otaylor@redhat.com> * tools/Makefile.am (EXTRA_DIST): Remove reference to now-gone make-table.sh (#121393, Josh Beam)
* Fix tests so that can be run before "make install" has been. (#119831)Noah Levitt2003-09-028-2/+62
| | | | | | | | | 2003-09-02 Noah Levitt <nlevitt@columbia.edu> * tests/.cvsignore: * tests/Makefile.am: * tests/pangorc: Fix tests so that can be run before "make install" has been. (#119831)
* pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) Fix problems whereOwen Taylor2003-08-257-8/+41
| | | | | | | | | Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3): Fix problems where the coverage wasn't being checked for the first input glyph. (#118639, Kailash C. Chowksey)
* add testfonts.c to EXTRA_DIST until bug #104151 is sorted out.Owen Taylor2003-08-256-1/+27
| | | | | | | Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (EXTRA_DIST): add testfonts.c to EXTRA_DIST until bug #104151 is sorted out.
* Add a dependency on pango-querymodules... Really needs to depend on theOwen Taylor2003-08-251-2/+2
| | | | | | | | | Fri Aug 22 17:29:42 2003 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am (pango.modules): Add a dependency on pango-querymodules... Really needs to depend on the modules too, but this at least will reduce the chances of it not getting rebuild when necessary.
* Remove a stray ; (#120528, Mehran Mehr)Owen Taylor2003-08-246-1/+26
| | | | | | | Sun Aug 24 12:35:25 2003 Owen Taylor <otaylor@redhat.com> * pango/querymodules.c: Remove a stray ; (#120528, Mehran Mehr)
* Add some macro definitions for gcc-3.3 that suppress the bogusOwen Taylor2003-08-2213-28/+210
| | | | | | | | | | | | | | | | | | | | | | Fri Aug 22 18:09:52 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/fterrcompat.h: Add some macro definitions for gcc-3.3 that suppress the bogus strict-aliasing warnings. * pango/pango-utils.c (read_config_file): Use g_hash_table_new_full() to simplify code and fix gcc-3.3 warnings. * pango/pangox-fontmap.c (pango_x_real_get_coverage_win) * pango/querymodules.c (query_module): Suppress gcc-3.3 warnings. * pango/modules.c (pango_find_map): Fix warning from missing declaration of pango_module_get_type(). * pango/pango-context.c/pango-engine.c: Fix name confusion for pango_get_fallback_shaper().
* Remove ABSTRACT from g_type_register_static() callSoeren Sandmann2003-08-206-2/+26
| | | | | | | Thu Aug 21 00:29:46 2003 Soeren Sandmann <sandmann@daimi.au.dk> * pango/pangofc-fontmap.c (pango_fc_face_get_type): Remove ABSTRACT from g_type_register_static() call
* Bump version to 1.3.0.Noah Levitt2003-08-206-2/+22
| | | | | | 2003-08-20 Noah Levitt <nlevitt@columbia.edu> * configure.in: Bump version to 1.3.0.
* get the cflags for gmodule-2.0 as well as gthread-2.0. (#119953, BenediktOwen Taylor2003-08-156-1/+26
| | | | | | | Fri Aug 15 16:34:14 2003 Owen Taylor <otaylor@redhat.com> * configure.in: get the cflags for gmodule-2.0 as well as gthread-2.0. (#119953, Benedikt Spranger)
* Add backspace_deletes_character to PangoLogAttr. (#114483)Noah Levitt2003-08-148-0/+72
| | | | | | | | | 2003-08-14 Noah Levitt <nlevitt@columbia.edu> * docs/tmpl/main.sgml: * pango/break.c: * pango/pango-break.h: Add backspace_deletes_character to PangoLogAttr. (#114483)
* Call g_type_init() (#119830, Noah Levitt)Owen Taylor2003-08-146-0/+28
| | | | | | | Thu Aug 14 10:41:21 2003 Owen Taylor <otaylor@redhat.com> * pango/modules.c (init_modules): Call g_type_init() (#119830, Noah Levitt)
* Reformat my entries to 80 columns.Matthias Clasen2003-08-115-10/+15
|
* Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG fromMatthias Clasen2003-08-106-6/+42
| | | | | * acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG from gtk-doc to enable configuring without xmlcatalog in PATH. (#119115)
* Move DPI substitution before FcDefaultSubstitute so it actually works.Owen Taylor2003-08-086-1/+31
| | | | | | | | Fri Aug 8 12:59:42 2003 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontmap.c (pango_ft2_font_map_default_substitute): Move DPI substitution before FcDefaultSubstitute so it actually works.
* Replace --family/--scale options with a single --fontOwen Taylor2003-08-087-46/+81
| | | | | | | Fri Aug 8 11:45:15 2003 Owen Taylor <otaylor@redhat.com> * examples/pangoft2topgm.c: Replace --family/--scale options with a single --font