summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't leak family_name. (#140772, John Ehresman)pango-1-2Tor Lillqvist2004-04-296-0/+16
| | | | | | | 2004-04-29 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak family_name. (#140772, John Ehresman)
* Use floating-point math in resolution calculation. (#141229, JohnTor Lillqvist2004-04-296-1/+31
| | | | | | | | 2004-04-29 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display): Use floating-point math in resolution calculation. (#141229, John Ehresman)
* Include config.h. (#121488, Theppitak Karoonboonyanan)Owen Taylor2004-01-276-0/+27
| | | | | | | Tue Jan 27 11:14:38 2004 Owen Taylor <otaylor@redhat.com> * modules/thai/thai-shaper.h: Include config.h. (#121488, Theppitak Karoonboonyanan)
* Suport CFF fonts as well. (#131202, Manjunath Sripadarao)Owen Taylor2004-01-266-1/+27
| | | | | | | Mon Jan 26 14:20:34 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (is_truetype): Suport CFF fonts as well. (#131202, Manjunath Sripadarao)
* Simplify.Tor Lillqvist2003-12-086-38/+77
| | | | | | | | | | | 2003-12-08 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c (convert_log_clusters_to_byte_offsets): Simplify. (itemize_shape_and_place): Fix problem with RTL scripts: If ScriptItemize() returns several items, must handle them in reverse order. (#128812, reported by Shoshannah Forbes)
* 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)
* merged fix for bug #123602 from HEAD branch (initialize fontmapSven Neumann2003-12-056-0/+28
| | | | | | | 2003-12-05 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c (pango_ft2_font_map_new): merged fix for bug #123602 from HEAD branch (initialize fontmap resolution).
* 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".
* 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/pangoft2.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 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.
* 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)
* Add two missing symbols. Thanks to ffxz.Tor Lillqvist2003-10-126-1/+27
| | | | | | 2003-10-12 Tor Lillqvist <tml@iki.fi> * pango/pango.def: Add two missing symbols. Thanks to ffxz.
* Only reset the word type to WordNone at a word end if it is not also aMatthias Clasen2003-09-246-4/+36
| | | | | | | | | 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)
* Fix a g_assert() with a side-effect. (Maybe #121742?)Owen Taylor2003-09-098-3/+65
| | | | | | | Tue Sep 9 12:21:02 2003 Owen Taylor <otaylor@redhat.com> * pango/pangofc-fontmap.cI (pango_fc_font_description_from_pattern): Fix a g_assert() with a side-effect. (Maybe #121742?)
* Fix tests so that can be run before "make install" has been. (#119831)Noah Levitt2003-09-028-2/+63
| | | | | | | | | 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)
* Add mprefixups.[ch] to xft_sources as well as ft2_sources.Owen Taylor2003-08-266-1/+28
| | | | | | | Tue Aug 26 16:38:22 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/Makefile.am (xft_sources): Add mprefixups.[ch] to xft_sources as well as ft2_sources.
* typo fixPANGO_1_2_4Owen Taylor2003-08-261-1/+1
|
* === Released 1.2.4 ===Owen Taylor2003-08-269-6/+77
| | | | | | | | | | | | Mon Aug 25 11:00:46 2003 Owen Taylor <otaylor@redhat.com> * === Released 1.2.4 === * configure.in: Version 1.2.4, interface age 4. * configure.in: chmod +x tests/runtests.sh. * NEWS: Updated.
* 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.
* 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 an index to the docs.Matthias Clasen2003-08-086-1/+24
|
* 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.
* New function. Uses the Uniscribe ScriptIsSimple() function to check ifTor Lillqvist2003-08-076-7/+115
| | | | | | | | | | | | | | | 2003-08-05 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c (text_is_simple): New function. Uses the Uniscribe ScriptIsSimple() function to check if Uniscribe shaping is needed for a piece of text. (basic_engine_shape): Use it, to avoid calling Uniscribe to shape non-complex text. Produces dramatic speedup according to tests by Hans Breuer. (init_uniscribe): No need for the PANGO_WIN32_NO_UNISCRIBE environment variable any longer.
* Remove traces of file move in HEADOwen Taylor2003-08-021-1138/+0
|
* Rewrite handling of IGNORE_SPECIAL_MARKS to be properly "ignore marks ofOwen Taylor2003-07-297-42/+111
| | | | | | | | | | | | | | | | | Tue Jul 29 09:58:13 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c (Check_Property): Rewrite handling of IGNORE_SPECIAL_MARKS to be properly "ignore marks of attachment type different than specified. (#118456, Kailash C. Chowksey) Sat Jul 26 09:41:22 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_LigatureSubst): Revert back out the FreeType patch preventing ligatures of not-originally adjacent glyphs; it doesn't work for all scripts. (#118472, Kailash C. Chowksey)
* pango/pangowin32-private.h Use a similar caching mechanism as the otherTor Lillqvist2003-07-287-34/+110
| | | | | | | | 2003-07-28 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-private.h * pango/pangowin32.c (pango_win32_font_get_metrics): Use a similar caching mechanism as the other backends. (#76328)
* Check for lookahead glyphs in the right place. (Patch from #116860)Owen Taylor2003-07-277-6/+51
| | | | | | | | | | | Sat Jul 26 22:30:59 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst{1,2,3}): Check for lookahead glyphs in the right place. (Patch from #116860) * pango/opentype/ftxgpos.c (Lookup_ChainContextPos{1,2,3}): Same fix here.
* Fix return value to only contain TTO_Err_Not_Covered if *no* lookupsOwen Taylor2003-07-276-45/+110
| | | | | | | | | Sat Jul 26 22:12:46 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Do_String_Lookup, TT_GSUB_Apply_String): Fix return value to only contain TTO_Err_Not_Covered if *no* lookups matched. Fix memory leaks on error in Apply_String().
* Fix problem where NULL mpreFixups wasn't getting returned properly.Owen Taylor2003-07-276-1/+31
| | | | | | | | Sat Jul 26 22:09:44 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.c (indic_ot_reorder): Fix problem where NULL mpreFixups wasn't getting returned properly.
* Fix confusion between boolean and FT_Error return. (GSUB equivalent of fixOwen Taylor2003-07-276-2/+33
| | | | | | | | Sat Jul 26 21:06:26 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Load_EmptyOrClassDefinition): Fix confusion between boolean and FT_Error return. (GSUB equivalent of fix for #108358
* Move allocation afer initial checks, fixing memory leak.Owen Taylor2003-07-267-10/+60
| | | | | | | | | | | | Sat Jul 26 10:52:20 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c (Lookup_ContextPos2): * pango/opentype/ftxgsub.c (Lookup_ContextSubst2): Move allocation afer initial checks, fixing memory leak. * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst2): Fix some more error return memory leaks that weren't fixed in the Qt changes.
* Fix various memory leaks from error returns that should have been jumps toOwen Taylor2003-07-267-6/+36
| | | | | | | | Sat Jul 26 10:43:20 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: Fix various memory leaks from error returns that should have been jumps to cleanup blocks. (From Qt, Lars Knoll)
* Fix additional places where TTO_Err_Not_Covered wasn't considered aOwen Taylor2003-07-266-4/+34
| | | | | | | | Sat Jul 26 10:30:24 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c: Fix additional places where TTO_Err_Not_Covered wasn't considered a successful return from Get_Class. (From Qt, Lars Knoll)
* If applying a ligature lookup makes adjacent two glyphs that were notOwen Taylor2003-07-266-8/+73
| | | | | | | | | | Sat Jul 26 09:41:22 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_LigatureSubst): If applying a ligature lookup makes adjacent two glyphs that were not originally adjacent, avoid making subsequent ligatures between those glyphs. (From FreeType, Werner Lemberg, 2001-08-22, 2001-08-23)
* Fix some FreeType1 variable declarations that snuck in from the lastOwen Taylor2003-07-267-4/+39
| | | | | | | | | Sat Jul 26 09:16:57 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c pango/opentype/ftxopen.c: Fix some FreeType1 variable declarations that snuck in from the last commits (Christophe Fergeau, 118363)
* OpenType-1.4 update: backtrack information is stored with the item closestOwen Taylor2003-07-267-15/+70
| | | | | | | | | Fri Jul 25 23:38:07 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c: OpenType-1.4 update: backtrack information is stored with the item closest to the input first (From FreeType, Werner Lemberg, 2002-09-26)
* Update of GPOS and GSUB support to OpenType 1.3 (From FreeType, WernerOwen Taylor2003-07-267-3/+100
| | | | | | | | | | | | | | | | Fri Jul 25 23:07:06 2003 Owen Taylor <otaylor@redhat.com> Update of GPOS and GSUB support to OpenType 1.3 (From FreeType, Werner Lemberg, 2001-08-08) * pango/opentype/ftxopen.h: Add RIGHT_TO_LEFT LookupFlag * pango/opentype/ftxgpos.c (GPOS_Instance): Add 'first' member to mark the beginning of a chain of cursive connections. * pango/opentype/ftxgpos.c (Do_String_Lookup): If the RIGHT_TO_FLAG flag is set, shift cursive chain up so last glyph is on the baseline.
* Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which allow lookupOwen Taylor2003-07-268-8/+69
| | | | | | | | | | Fri Jul 25 22:59:13 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftx{gpos,gsub}.h pango/opentype/ftxgdef.c: Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which allow lookup information to be stored at 32-bit offets via a double indirection. (From FreeType, Werner Lemberg, 2001-08-08)
* Fix a couple of places where TTO_Err_Not_Covered wasn't considered aOwen Taylor2003-07-266-2/+47
| | | | | | | | | | | Fri Jul 25 22:25:48 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_ContextSubst2, Lookup_ChainContextSubst2): Fix a couple of places where TTO_Err_Not_Covered wasn't considered a successful return from Get_Class -- it means use class index 0. (From FreeType, Werner Lemberg, 2001-08-06)
* Port pre-base-mantra fixup code from ICU, as needed for Tamil andOwen Taylor2003-07-2512-18/+274
| | | | | | | | | Fri Jul 25 12:07:21 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/mprefixups.[ch] modules/indic/indic-ot.[ch] modules/indic/indic-{xft,ft2}.c: Port pre-base-mantra fixup code from ICU, as needed for Tamil and Malayalam. (Based on patch from Sivaraj Doddannan, #111166)
* Port of some fixes from ICU.Owen Taylor2003-07-257-176/+226
| | | | | | | | | | | | | Fri Jul 25 11:06:14 2003 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.[ch]: Port of some fixes from ICU. "Fixed problems w/ backing off the front of a syllable if all consonants have post-base form... Fix tag list for base consonant so that it doesn't have 'pstf'"" Based on patch from Taneem Ahmed (#118297)
* Get rid of explicit tables detailing the members of structs, use theNoah Levitt2003-07-258-267/+81
| | | | | | | | | 2003-07-25 Noah Levitt <nlevitt@columbia.edu> * docs/tmpl/engines.sgml: * docs/tmpl/glyphs.sgml: * docs/tmpl/main.sgml: Get rid of explicit tables detailing the members of structs, use the automatic things instead. (#117857)
* removed redundant call to pango_layout_line_get_extents() (#116822).Sven Neumann2003-07-246-56/+114
| | | | | | | | | | 2003-07-25 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render_layout_line): removed redundant call to pango_layout_line_get_extents() (#116822). * pango/pangoft2.c (pango_ft2_render): fixed source bitmap offset for the monochrome case; some code cleanup (#116837).
* Remove leftover FRIBIDI_LIBS reference. (Pointed out by Sven Neumann)Owen Taylor2003-07-2412-7/+32
| | | | | | | Thu Jul 24 18:03:32 2003 Owen Taylor <otaylor@redhat.com> * modules/*/Makefile.am: Remove leftover FRIBIDI_LIBS reference. (Pointed out by Sven Neumann)
* Handle NULL item->analysis.font. (#114576, Morten Welinder)Owen Taylor2003-07-241-1/+1
| | | | | | | Thu Jul 24 17:06:38 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-item.c (pango_item_copy/free): Handle NULL item->analysis.font. (#114576, Morten Welinder)
* Handle NULL item->analysis.font. (#114576, Morten Welinder) :Owen Taylor2003-07-246-2/+29
| | | | | | | | Thu Jul 24 17:06:38 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-item.c (pango_item_copy/free): Handle NULL item->analysis.font. (#114576, Morten Welinder) : ----------------------------------------------------------------------
* Fix uses of g_assert() around statements with side effects. (#115498,Owen Taylor2003-07-246-5/+39
| | | | | | | | Thu Jul 24 17:04:21 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape): Fix uses of g_assert() around statements with side effects. (#115498, patch from David Cuthbert)
* Generate runtest.sh so we can use ECHO_C, ECHO_N, SHELL (#114944)Owen Taylor2003-07-248-54/+36
| | | | | | | | Thu Jul 24 16:40:12 2003 Owen Taylor <otaylor@redhat.com> * configure.in tests/runtests.sh.in: Generate runtest.sh so we can use ECHO_C, ECHO_N, SHELL (#114944)
* Add (*has_glyph) to ThaiFontInfo to avoid having to callOwen Taylor2003-07-248-1/+46
| | | | | | | | | Thu Jul 24 16:11:25 2003 Owen Taylor <otaylor@redhat.com> * modules/thai/thai-x.c modules/thai/thai-shaper.[ch]: Add (*has_glyph) to ThaiFontInfo to avoid having to call pango_x_has_glyph() from thai-shaper.c. (#114852, Tony Graham)