summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Don't leak family_name. (#140772, John Ehresman)pango-1-2Tor Lillqvist2004-04-291-0/+1
| | | | | | | 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-291-1/+1
| | | | | | | | 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)
* Suport CFF fonts as well. (#131202, Manjunath Sripadarao)Owen Taylor2004-01-261-1/+2
| | | | | | | 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)
* Fix problems when building outside srcdir for Win32. (#122167, JeffTor Lillqvist2003-12-071-9/+9
| | | | | | | 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-051-0/+3
| | | | | | | 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-251-2/+2
| | | | | | | 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-0112-40/+36
| | | | | | | | | | | | | | 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-311-4/+4
| | | | | | | | | | | | | 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.
* Add two missing symbols. Thanks to ffxz.Tor Lillqvist2003-10-121-1/+2
| | | | | | 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-241-4/+1
| | | | | | | | | 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-091-1/+3
| | | | | | | 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?)
* pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) Fix problems whereOwen Taylor2003-08-252-8/+6
| | | | | | | | | 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-251-1/+2
| | | | | | | 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.
* Move DPI substitution before FcDefaultSubstitute so it actually works.Owen Taylor2003-08-081-1/+1
| | | | | | | | 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.
* 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-292-37/+31
| | | | | | | | | | | | | | | | | 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-282-34/+80
| | | | | | | | 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-272-6/+6
| | | | | | | | | | | 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-271-45/+75
| | | | | | | | | 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 confusion between boolean and FT_Error return. (GSUB equivalent of fixOwen Taylor2003-07-271-2/+3
| | | | | | | | 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-262-10/+10
| | | | | | | | | | | | 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-262-6/+6
| | | | | | | | 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-261-4/+4
| | | | | | | | 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-261-3/+28
| | | | | | | | | | 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-262-4/+4
| | | | | | | | | 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-262-15/+35
| | | | | | | | | 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-262-3/+30
| | | | | | | | | | | | | | | | 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-263-8/+29
| | | | | | | | | | 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-261-2/+2
| | | | | | | | | | | 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)
* removed redundant call to pango_layout_line_get_extents() (#116822).Sven Neumann2003-07-241-56/+74
| | | | | | | | | | 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).
* 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-241-2/+4
| | | | | | | | 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-241-5/+9
| | | | | | | | 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)
* Remove vestiges of support for external fribidi library.Owen Taylor2003-07-241-12/+3
| | | | | | | Thu Jul 24 15:37:16 2003 Owen Taylor <otaylor@redhat.com> * configure.in pango/Makefile.am pango.pc.in: Remove vestiges of support for external fribidi library.
* Fix up right-to-left case. (Based on patch from Damon Chaplin, #117325)Owen Taylor2003-07-241-4/+7
| | | | | | | | Thu Jul 24 15:02:56 2003 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_get_logical_widths): Fix up right-to-left case. (Based on patch from Damon Chaplin, #117325)
* Increment past the ';' for a list with multiple elements. (#117180, JohnOwen Taylor2003-07-241-1/+2
| | | | | | | | Thu Jul 24 14:35:48 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_language_matches): Increment past the ';' for a list with multiple elements. (#117180, John Finlay)
* broken pipe...retry.Matthias Clasen2003-06-253-49/+49
|
* Merge from HEAD:Tor Lillqvist2003-06-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | 2003-06-15 Tor Lillqvist <tml@iki.fi> Merge from HEAD: * acconfig.h: Add HAVE_X. * configure.in: Set HAVE_X. * modules/indic/Makefile.am: Use -no-undefined on Windows. * modules/thai/thai-shaper.h: Don't include pangox.h unless HAVE_X. Also leave out the PangoXSubfont field unless HAVE_X. * modules/thai/thai-shaper.c * modules/thai/thai-x.c: Include config.h for HAVE_X. * modules/thai/thai-shaper.c (get_glyphs_list): Bypass THAI_FONT_XTIS case unless HAVE_X. * pango/pangoft2.def: Add some missing entries.
* Updates.Tor Lillqvist2003-06-131-1/+2
| | | | | | | | | | | | 2003-06-13 Tor Lillqvist <tml@iki.fi> * README.win32: Updates. * pango-zip.sh.in (DLLDIR): libtool 1.5 installs DLLs in the bin directory, so look there, too. Include the gtk-doc directory. * pango/pangoft2.def: Add pango_ft2_font_map_new and pango_ot_info_get. Remove pango_ot_info_new.
* Fix bug in determining when we cross line boundaries. (#103421, MatthiasOwen Taylor2003-06-051-29/+34
| | | | | | | | Thu Jun 5 14:53:40 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_move_cursor_visually): Fix bug in determining when we cross line boundaries. (#103421, Matthias Clasen)
* Improve handling of empty ink rectangles; rework for simplicity.Owen Taylor2003-06-041-49/+55
| | | | | | | | Wed Jun 4 14:32:47 2003 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_extents_range): Improve handling of empty ink rectangles; rework for simplicity.
* Don't put statements with side-effects inside g_assert()! (#114137, JeffOwen Taylor2003-06-021-3/+3
| | | | | | | | Mon Jun 2 12:10:11 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): Don't put statements with side-effects inside g_assert()! (#114137, Jeff Waugh)
* === Released 1.2.2 ===PANGO_1_2_2Owen Taylor2003-05-301-2/+2
| | | | | | | | | Thu May 29 20:05:45 2003 Owen Taylor <otaylor@redhat.com> * === Released 1.2.2 === * pango/pango-glyph-item.c: Fix a stupid bug in the shortcircuit case.
* When applying attribute to a glyph item, handle attributes that splitOwen Taylor2003-05-291-29/+226
| | | | | | | | | | Thu May 29 18:37:58 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): When applying attribute to a glyph item, handle attributes that split clusters by giving the cluster all the attributes that apply to it. (Previously caused a crash, #104976 Taneem Ahmed, Sunil Mohan Adapa)
* added support for rise, strikethru and shape attributes. (#109900).Sven Neumann2003-05-281-56/+82
| | | | | | | 2003-05-28 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render): added support for rise, strikethru and shape attributes. (#109900).
* Limit the size of the buffers we alloca(). (#104238)Owen Taylor2003-05-271-1/+10
| | | | | | | Tue May 27 18:37:44 2003 Owen Taylor <otaylor@redhat.com> * pango/mini-fribidi/fribidi.c (fribidi_analyse_string): Limit the size of the buffers we alloca(). (#104238)
* Patch from Morten Welinder to collect characters into runs of the sameOwen Taylor2003-05-271-14/+47
| | | | | | | | | Tue May 27 16:06:34 2003 Owen Taylor <otaylor@redhat.com> * pango/pangox.c (pango_x_render): Patch from Morten Welinder to collect characters into runs of the same font with natural offsets before drawing them. (#106892, Morten Welinder)
* Get the fontnmap for the right screen (#113452, Morten Welinder)Owen Taylor2003-05-271-2/+3
| | | | | | | | Tue May 27 15:01:24 2003 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_metrics): Get the fontnmap for the right screen (#113452, Morten Welinder)
* Use g_object_new() rather than g_type_create_instance() (Patch fromOwen Taylor2003-05-275-5/+5
| | | | | | | | | | | | Tue May 27 12:32:43 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (pango_context_new) pango/pango-layout.c (pango_context_new) pango/pango-win32.c (pango_win32_font_map_for_display) pango/pangox-fontmap.c (pango_x_font_map_for_display) pango/pangox.c (pango_x_font_new): Use g_object_new() rather than g_type_create_instance() (Patch from Benjamin Otte, #112786)
* Fix some incorrect edge cases for RTL text. (#102952, Padraig O'Briain)Owen Taylor2003-05-021-14/+44
| | | | | | | | Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com> * pango/mapping.c (pango_glyph_string_x_to_index): Fix some incorrect edge cases for RTL text. (#102952, Padraig O'Briain)