summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Fix a harmless uninitialized memory read. (#109625, Rich Burridge)Owen Taylor2003-05-021-1/+0
| | | | | | | Fri May 2 14:21:20 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (update_run): Fix a harmless uninitialized memory read. (#109625, Rich Burridge)
* Fix a harmless uninitialized memory read. (#109625, Rich Burridge)Owen Taylor2003-05-021-5/+3
| | | | | | | Fri May 2 14:21:20 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (update_run): Fix a harmless uninitialized memory read. (#109625, Rich Burridge)
* Hash case insensitively (#106942, Morten Welinder)Owen Taylor2003-04-301-1/+19
| | | | | | | Wed Apr 30 16:46:52 2003 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_hash): Hash case insensitively (#106942, Morten Welinder)
* Add the fonconfig cflags/libs to FREETYPE_CFLAGS/LIBS. (#111326, NoahOwen Taylor2003-04-291-4/+3
| | | | | | | | | | Tue Apr 29 18:02:31 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Add the fonconfig cflags/libs to FREETYPE_CFLAGS/LIBS. (#111326, Noah Levitt) * {pango,tests,examples}/Makefile.am: Remove now unnecessary references to FONTCONFIG_CFLAGS/LIBS.
* More careful handling of face->charmap; if is NULL, try to set a unicodeOwen Taylor2003-04-161-2/+24
| | | | | | | | | Wed Apr 16 03:46:42 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (synthesize_class_def): More careful handling of face->charmap; if is NULL, try to set a unicode charmap, if that doesn't succeed, return. (Hopefully fixes #106550)
* When loading in Load_Chain{Sub,Pos}ClassRule, the limit we have onlyOwen Taylor2003-04-162-6/+8
| | | | | | | | | | Tue Apr 15 11:49:39 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxg{sub/pos}.c: When loading in Load_Chain{Sub,Pos}ClassRule, the limit we have only applies to the input ClassDef table. Fixes problem with Arial Unicode. Much help from Noah Levitt in tracing this down.
* Free the right string.Owen Taylor2003-04-161-1/+1
| | | | | | | Tue Apr 15 09:19:21 2003 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_set_family): Free the right string.
* Fix mispelled constant from last commit.Owen Taylor2003-04-151-1/+1
| | | | | | | Tue Apr 15 06:57:02 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c: Fix mispelled constant from last commit.
* Fix confusion between boolean and FT_Error return. (#108358, Noah Levitt)Owen Taylor2003-04-152-3/+5
| | | | | | | | | | Tue Apr 15 06:03:39 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgpos.c: Fix confusion between boolean and FT_Error return. (#108358, Noah Levitt) * pango/opentype/ftxopen.c (Get_Class1): index is allowed to be NULL. (#108358, Noah Levitt)
* Switch around the code so that pango_font_description_set_family (desc,Owen Taylor2003-04-151-4/+6
| | | | | | | | | | | Tue Apr 15 05:34:05 2003 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_set_family): Switch around the code so that pango_font_description_set_family (desc, pango_font_description_set_family (desc)) in the case where desc->static_family is TRUE. (#106964, Morten Welinder)
* Fix infinite loop in the case where the charmap contains a character >Owen Taylor2003-04-151-7/+7
| | | | | | | | Tue Apr 15 05:00:39 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/pango-ot-info.c (synthesize_class_def): Fix infinite loop in the case where the charmap contains a character > 65535. (#106550, Morten Welinder.)
* Fix off-by-one error. (#108620, Noah Levitt)Owen Taylor2003-04-151-1/+1
| | | | | | | Tue Apr 15 04:39:48 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-coverage.c (pango_coverage_set): Fix off-by-one error. (#108620, Noah Levitt)
* Return FALSE, not -1 in g_return_val_if_fail(). (#107666, MortenOwen Taylor2003-04-151-1/+1
| | | | | | | | Tue Apr 15 03:47:37 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_next): Return FALSE, not -1 in g_return_val_if_fail(). (#107666, Morten Welinder.)
* disable antialiasing if requested. Fixes bug #109370.Sven Neumann2003-04-031-13/+30
| | | | | | | | | | | 2003-04-03 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_font_get_face) (pango_ft2_font_render_glyph): disable antialiasing if requested. Fixes bug #109370. * pango/pangoft2.c (pango_ft2_render): fixed rendering of monochrome bitmaps.
* pango/pangoft2.c (pango_ft2_render_layout) pango/pangowin32.cSven Neumann2003-04-023-185/+58
| | | | | | | | | | 2003-04-02 Sven Neumann <sven@gimp.org> * pango/pangoft2.c (pango_ft2_render_layout) * pango/pangowin32.c (pango_win32_render_layout) * pango/pangox.c (pango_x_render_layout): use a PangoLayoutIter to iterate over the lines and let render_layout_line() do the actual rendering. Fixes bug #105292.
* pango/pangoft2-fontmap.c fixed typos in inline docs.Sven Neumann2003-03-282-2/+2
| | | | | | | 2003-03-28 Sven Neumann <sven@gimp.org> * pango/pangoft2-fontmap.c * pango/pangoxft-fontmap.c: fixed typos in inline docs.
* Add an --enable-debug configure argument defaulting to 'yes' for unstableOwen Taylor2003-02-1711-206/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Feb 17 13:06:39 2003 Owen Taylor <otaylor@redhat.com> * configure.in **/Makefile.am: Add an --enable-debug configure argument defaulting to 'yes' for unstable releases and 'minimum' for stable releases. For minimum, -DG_DISABLE_CAST_CHECKS. * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c: Add caching of fontsets (#104495, initial patch and review by Soeren Sandmann) * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c pango/pangoxft-fontmap.c pango/pangoft2-private.h pango/pangoxft-private.h: Remove cache of recently freed fonts; not necessary now that we cache fontsets. * pango/pangofc-fontmap.cI (pango_fc_pattern_set_free): Rename from pango_fc_font_set_free to reflect what it actually does. * pango/pangofc-fontmap.cI pango/pangoft-fontmap.c pango/pangoxft-fontmap.c: Combine clear-the-cache functions; we didn't need separate clear-the-font-cache and clear-the-pattern-cache functions.
* fix a typo in the @bitmap argument description. s/line/layoutChema Celorio2003-02-161-1/+1
| | | | | | | Sun Feb 16 09:10:12 2003 Chema Celorio <chema@celorio.com> * pango/pangoft2.c (pango_ft2_render_layout): fix a typo in the @bitmap argument description. s/line/layout
* Fix bug where language tag changes were not causing the font to be lookedOwen Taylor2003-02-121-4/+5
| | | | | | | | Wed Feb 12 17:09:00 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c: Fix bug where language tag changes were not causing the font to be looked up again. (bugzilla.redhat.com #84034)
* Up the FreeType version requirement to 2.0.9. (2.2.1 had a compilationOwen Taylor2003-02-121-4/+0
| | | | | | | | | | Wed Feb 12 16:59:23 2003 Owen Taylor <otaylor@redhat.com> * configure.in pango/opentype/fterrcompat.h README: Up the FreeType version requirement to 2.0.9. (2.2.1 had a compilation failure with older versions, this catches it more cleanly, and removes some unneeded checks. #105302, problem reported by Will Partain.)
* Guard against pango_layout_set_text (pango_layout_get_text (layout));Owen Taylor2003-02-121-4/+7
| | | | | | | | | Wed Feb 12 16:48:46 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Guard against pango_layout_set_text (pango_layout_get_text (layout)); (#105612, Morten Welinder)
* g_return_if_fail for index >= 0 was the wrong way.Tor Lillqvist2003-01-292-2/+5
| | | | | | | | | | | 2003-01-29 Tor Lillqvist <tml@iki.fi> * pango/pango-coverage.c (pango_coverage_get/set): g_return_if_fail for index >= 0 was the wrong way. * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out of loop if char is 0xFFFF. Some fonts have tables terminated like this.
* Fix an off-by-one error when checking if are off the end of the coverageOwen Taylor2003-01-281-2/+4
| | | | | | | | | | | Tue Jan 28 18:20:45 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-coverage.c (pango_coverage_set/get): Fix an off-by-one error when checking if are off the end of the coverage array. (#102284, Morten Welinder.) * pango/pango-coverage.c (pango_coverage_get/set): Add g_return_if_fail for index < 0.