summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge from HEAD.merged-HEAD-1pango-1-4Theppitak Karoonboonyanan2004-10-168-213/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-16 Theppitak Karoonboonyanan <thep@linux.thai.net> Merge from HEAD. * modules/thai/thai-ot.[ch] (thai_ot_get_ruleset), modules/thai/thai-fc.c (thai_get_font_info): Prefer OpenType to PUA substitutions. * modules/thai/thai-shaper.c (groups, group1_map, group2_map): Remove unused data for XTIS. * modules/thai/thai-shaper.[ch] (enum ThaiFontSet, get_glyphs_list), modules/thai/thai-fc.c (thai_get_font_info, thai_make_glyph): Remove THAI_FONT_ISO10646 font set. * modules/thai/thai-fc.c (tis620_1): Fix the PUA glyph table. * modules/thai/thai-shaper.h (thai_{get,make}_glyph_{tis,uni}), modules/thai/thai-shaper.c (get_adjusted_glyphs_list), modules/thai/thai-fc.c (thai_{get,make}_glyph_{tis,uni}, tis620_2): Explicitly handle dangling upper/lower marks with dottedcircle and fails gracefully if the glyph is not available. * modules/thai/thai-shaper.[ch] (thai_get_glyph_tis, thai_make_glyph_tis): Use guchar instead of gchar as argument type. Make *_tis functions wrappers to *_uni functions.
* Oops, wrong bug number.Tor Lillqvist2004-09-154-4/+4
|
* Ignore fonts in SYMBOL_CHARSET. They don't have any Unicode mapping table.Tor Lillqvist2004-09-155-0/+24
| | | | | | | | 2004-09-15 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_insert_font): Ignore fonts in SYMBOL_CHARSET. They don't have any Unicode mapping table. (#152473)
* Escape also backslashes. (#152607, Kazuki Iwamoto)Tor Lillqvist2004-09-155-1/+24
| | | | | | | 2004-09-15 Tor Lillqvist <tml@iki.fi> * pango/querymodules.c (string_needs_escape, escape_string): Escape also backslashes. (#152607, Kazuki Iwamoto)
* Ignore synthetic vertical writing versions of East Asian fonts. (#145322,Tor Lillqvist2004-08-225-1/+29
| | | | | | | | 2004-08-22 Tor Lillqvist <tml@iki.fi> * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore synthetic vertical writing versions of East Asian fonts. (#145322, John Ehresman)
* Fix bug where cluster was getting set to 0 for non-spacing marks ratherOwen Taylor2004-08-105-1/+29
| | | | | | | | | Tue Aug 10 11:51:10 2004 Owen Taylor <otaylor@redhat.com> * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix bug where cluster was getting set to 0 for non-spacing marks rather than to the cluster of the base character. (#149126, Behdad Esfahbod)
* Add pango_ot_buffer_set_zero_width_marks.Tor Lillqvist2004-08-055-0/+17
| | | | | | 2004-08-05 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.def: Add pango_ot_buffer_set_zero_width_marks.
* === Released 1.4.1 ===PANGO_1_4_1Owen Taylor2004-08-027-1/+63
| | | | | | | | | | Mon Aug 2 15:29:00 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.4.1 === * configure.in: Version 1.4.1. * NEWS: Update.
* Improve handling of decomposed two-part vowels (#121882, Jungshik Shin)Owen Taylor2004-07-306-6/+63
| | | | | | | | | | | | | | Fri Jul 30 14:05:25 2004 Owen Taylor <otaylor@redhat.com> Improve handling of decomposed two-part vowels (#121882, Jungshik Shin) * modules/indic/indic-ot-class-tables.c (stateTable): allow a dependent vowel to be followed by another dependent vowel. * modules/indic/indic-ot.c (indic_ot_reorder): Handle multiple vowel matras.
* Suppress blwf on the first consonant in a syllable. (#118301, TaneemOwen Taylor2004-07-305-1/+28
| | | | | | | | Fri Jul 30 13:33:49 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/indic-ot.c (indic_ot_reorder): Suppress blwf on the first consonant in a syllable. (#118301, Taneem Ahmed)
* Fix Malayalam double-consonant conjuncts: #121671, Rajkumar SOwen Taylor2004-07-297-4/+68
| | | | | | | | | | | | | | | | | | Thu Jul 29 16:10:06 2004 Owen Taylor <otaylor@redhat.com> Fix Malayalam double-consonant conjuncts: #121671, Rajkumar S * modules/indic/indic-ot.[ch]: Add a new feature set pstf_p and use it for post-base consonants, since the existing nukt_p suppressed the pstf feature. (#121671, Rajkumar S) * modules/indic/indic-ot-class-tables.c (mlymCharClasses): make U+D2F (MALAYALAM LETTER YA) _pb not _ct. * modules/indic/indic-ot-class-tables.c (mlymCharClasses): Classify U/UU/VOCALIC R as _dr not _db since they should be ordered after post-base consonants.
* Check glyphs[mpreLimit] not glyphs[mpreIndex]. (Found by Chris Blizzard)Owen Taylor2004-07-285-1/+25
| | | | | | | | Wed Jul 28 17:00:23 2004 Owen Taylor <otaylor@redhat.com> * modules/indic/mprefixups.c (indic_mprefixups_apply): Check glyphs[mpreLimit] not glyphs[mpreIndex]. (Found by Chris Blizzard)
* Don't substitute FARSI YEH with ARABIC YEH if the font does not have anyBehdad Esfahbod2004-07-275-242/+259
| | | | | * modules/arabic/arabic-fc.c: Don't substitute FARSI YEH with ARABIC YEH if the font does not have any ARABIC YEH.
* Save the order in which features were added and use that when applyingOwen Taylor2004-07-278-33/+86
| | | | | | | | | Tue Jul 27 12:38:05 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxopen.[ch] pango/opentype/ftxgsub.c pango/opentype/ftxpos.c: Save the order in which features were added and use that when applying features. (Patch from Soheil Hassas Yeganeh, #122330)
* Fix allocation and indexing in NewGlyphClasses array. (#130661, MasatakeOwen Taylor2004-07-265-7/+27
| | | | | | | Mon Jul 26 19:11:46 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Fix allocation and indexing in NewGlyphClasses array. (#130661, Masatake YAMATO)
* Add missing macro to make the last change actually compile.Owen Taylor2004-07-265-0/+21
| | | | | | | Mon Jul 26 15:21:23 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c: Add missing macro to make the last change actually compile.
* Match backtrack context against the output glyphs not the input glyphsOwen Taylor2004-07-265-12/+36
| | | | | | | | Mon Jul 26 15:16:07 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst[123]): Match backtrack context against the output glyphs not the input glyphs (#145174, Aamir Wali)
* Fix pervasive buffer overruns when skipping glyphs when matching contexts.Owen Taylor2004-07-196-351/+308
| | | | | | | | Mon Jul 19 16:29:45 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c: Fix pervasive buffer overruns when skipping glyphs when matching contexts. (#118592, Kailash C. Chowksey)
* #143601: Felipe HeidrichOwen Taylor2004-07-165-7/+68
| | | | | | | | | | | | | | | Fri Jul 16 07:43:04 2004 Owen Taylor <otaylor@redhat.com> #143601: Felipe Heidrich * pango/pango-layout.c (pango_layout_line_x_to_index): Go into painful detail about the behavior for X positions outside the line. * pango/pango-layout.c (pango_layout_xy_to_index): Add some more details about handling of positions outside the layout, reference pango_layout_line_x_to_index().
* Fix problem when we only figured out latin script for 'en' not forOwen Taylor2004-07-145-5/+52
| | | | | | | | Wed Jul 14 17:42:49 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-script.c (pango_language_includes_script): Fix problem when we only figured out latin script for 'en' not for 'en-us'. Fix reversed arguments to bsearch.
* Reverse order of pangoft2/pangoxft in Makefile; apparently automakeOwen Taylor2004-07-135-17/+41
| | | | | | | | Tue Jul 13 10:07:44 2004 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am: Reverse order of pangoft2/pangoxft in Makefile; apparently automake doesn't figure out the correct installation order. (#146472)
* Make table constant. (#145515, Morten Welinder)Owen Taylor2004-07-135-1/+21
| | | | | | | Tue Jul 13 10:02:53 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_language_get_sample_string): Make table constant. (#145515, Morten Welinder)
* Render U+00A0 (non-break-space) as a space.Changwoo Ryu2004-07-115-0/+24
| | | | | * modules/hangul/hangul-fc.c (render_basic): Render U+00A0 (non-break-space) as a space.
* Add declaration for pango_ot_buffer_set_rtl.Manish Singh2004-07-095-0/+18
| | | | | | Fri Jul 9 15:23:39 2004 Manish Singh <yosh@gimp.org> * pango/pango-ot.h: Add declaration for pango_ot_buffer_set_rtl.
* Add missing row for the WORD_JOINER class. (#145833, Billy Biggs)Owen Taylor2004-07-085-1/+31
| | | | | | | 2004-07-08 Owen Taylor <otaylor@redhat.com> * pango/break.c: Add missing row for the WORD_JOINER class. (#145833, Billy Biggs)
* Don't generate all-unicode.txt when cross-compiling. (#135503, J. AliOwen Taylor2004-06-235-1/+25
| | | | | | | | Wed Jun 23 17:26:50 2004 Owen Taylor <otaylor@redhat.com> * tests/Makefile.am (pango.modules): Don't generate all-unicode.txt when cross-compiling. (#135503, J. Ali Harlow)
* #143693, Sayamindu DasguptaOwen Taylor2004-06-2310-7/+75
| | | | | | | | | | | | | Wed Jun 23 16:13:53 2004 Owen Taylor <otaylor@redhat.com> #143693, Sayamindu Dasgupta * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h: Allow setting for whether marks should be given zero width, defaulting to FALSE. * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn on zero-width-marks setting.
* Handle new Unicode-4.0 WORD_JOINER and NEXT_LINE classes. (#143436, JeroenOwen Taylor2004-06-226-35/+136
| | | | | | | | | | | | | | | | | Tue Jun 22 14:10:41 2004 Owen Taylor <otaylor@redhat.com> * pango/break.c: Handle new Unicode-4.0 WORD_JOINER and NEXT_LINE classes. (#143436, Jeroen Zwartepoorte) * pango/break.c (pango_default_break): Handle space followed by a combining character as called for by TR 14. * tests/testboundaries.c (check_line_char): Fix up for space+combining mark * pango/break.c (pango_default_break): Change fixme for G_UNICODE_BREAK_SURROGATE to g_assert_not_reached().
* #143556, Noah MischOwen Taylor2004-06-216-5/+57
| | | | | | | | | | | | | | | Mon Jun 21 16:02:04 2004 Owen Taylor <otaylor@redhat.com> #143556, Noah Misch * pango/Makefile.am: Add $(no_undefined) when building libpangox, libpangoxft for cygwin builds. * modules/basic/Makefile.am (pango_basic_x_la_LDFLAGS): Add $(no_undefined) for basic-x module. * pango/Makefile.am: Add $(GLIB_LIBS) for pangox, pangoxft, for benefit of cygwin, AIX, etc.
* Initialize state->lang from context->language if not otherwise set.Owen Taylor2004-06-216-1/+44
| | | | | | | | | | | | Mon Jun 21 15:26:44 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (update_attr_iterator): Initialize state->lang from context->language if not otherwise set. Without doing this, the default language tag was, not suprisingly, having no effect! (#137334, Frederic Zhang) * pango/pango-attributes.c (pango_attr_iterator_get_font): Fix typo in doc comment.
* use x-large instead of 100 in the markup example. (#142355, Doug Quale).Owen Taylor2004-06-215-2/+35
| | | | | | | | | Mon Jun 21 14:42:02 2004 Owen Taylor <otaylor@redhat.com> * docs/pango_markup.sgml: use x-large instead of 100 in the markup example. (#142355, Doug Quale). Fix the 'size' documentation to say 1024ths rather than 1000ths. Document using font_desc='12.5' instead.
* Temporarily undeprecate pango_ft2_font_get_face, will be deprecated inOwen Taylor2004-06-216-3/+33
| | | | | | | | | Mon Jun 21 14:31:40 2004 Owen Taylor <otaylor@redhat.com> * pango/pangoft2.[ch] (pango_ft2_font_get_face): Temporarily undeprecate pango_ft2_font_get_face, will be deprecated in favour of pango_fc_font_lock_face() in 1.6. (#142355, Sven Neumann)
* pango/modules.c (append_engines): Fix some missing statics. (#142237,Owen Taylor2004-06-218-5/+45
| | | | | | | | | | | | Mon Jun 21 14:23:05 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (no_shape_filter_func) pango/pango-script.c (get_pair_index): pango/modules.c (append_engines): Fix some missing statics. (#142237, Morten Welinder) * pango/mini-fribidi/fribidi_types.c: Move fribidi_type_name inside the #ifdef DEBUG.
* Use the gcc-3.3 strict-aliasing compatible macros from fterrcompat.hOwen Taylor2004-06-215-8/+38
| | | | | | | | Mon Jun 21 13:55:17 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Use the gcc-3.3 strict-aliasing compatible macros from fterrcompat.h (#140495, reported by Stanislav Brabec)
* Fix leak when inserting an empty attributes. (#140771, Morten Welinder)Owen Taylor2004-06-215-1/+28
| | | | | | | | Mon Jun 21 11:41:18 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.c (pango_attr_list_change): Fix leak when inserting an empty attributes. (#140771, Morten Welinder)
* Handle setting the same object back. (#143523, Morten Welinder)Owen Taylor2004-06-215-3/+27
| | | | | | | | Mon Jun 21 11:38:22 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (pango_context_set_font_map): Handle setting the same object back. (#143523, Morten Welinder)
* Revert the last change, assert that initialization succeeded.Owen Taylor2004-06-215-8/+26
| | | | | | | | Mon Jun 21 11:35:29 2004 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontmap.c (pango_ft2_font_map_new): Revert the last change, assert that initialization succeeded.
* For cleanliness, unref the fontmap if we get an error from FreeType.Owen Taylor2004-06-215-1/+39
| | | | | | | | | | | Mon Jun 21 11:29:39 2004 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontmap.c (pango_ft2_font_map_new): For cleanliness, unref the fontmap if we get an error from FreeType. (#143524, Morten Welinder) * pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize): Deal with NULL ft2fontmap->library.
* Add OpenType support in Thai module. (#141541)Theppitak Karoonboonyanan2004-06-078-1/+208
|
* Negate y offset according to different conventions betweenTheppitak Karoonboonyanan2004-05-285-1/+25
| | | | | | * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset according to different conventions between PangoGlyphString and OTL (#142544)
* Backport to 1.4.xJody Goldberg2004-05-287-6/+73
| | | | | | | | | | | | | | 2004-04-29 Jody Goldberg <jody@gnome.org> * pango/pango-layout.c (get_alignment) : only invert if the layout and the context really disagree, not if they are WEAK_LTR vs LTR 2004-03-11 Jody Goldberg <jody@gnome.org> * pango/pango-attributes.h : Add a comment clarifying that PangoAttribute::end_index is _exclusive_. The range is [start..end) Additionally clarify that that the indicies are in _bytes_ not characters.
* Revert error return changes from last commit.Owen Taylor2004-05-275-10/+26
| | | | | | | Thu May 27 17:54:24 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Revert error return changes from last commit.
* Free buffer->positions, clean up error returns that were returningOwen Taylor2004-05-275-8/+37
| | | | | | | | Thu May 27 16:57:30 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/otlbuffer.c: Free buffer->positions, clean up error returns that were returning uninitialized values. (#139239, Behdad Esfahbod)
* Add some missing statics. (#142299, Morten Welinder)Owen Taylor2004-05-277-366/+25
| | | | | | | Thu May 27 15:42:20 2004 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontmap.c pango/pangox.c: Add some missing statics. (#142299, Morten Welinder)
* Move aside ChangeLog for pre-1.4pango-1-4-branchpointOwen Taylor2004-05-275-7059/+0
|
* Fix incorrect casts to get the class object of lang engine. (#141931)Theppitak Karoonboonyanan2004-05-066-2/+27
|
* Don't leak family_name. (#140772, John Ehresman)Tor 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)
* Use dottedcircle as the base for individual combining characters.Theppitak Karoonboonyanan2004-04-207-3/+33
|
* handle non-Hangul unicode chars, fixes #129741, #137347.Changwoo Ryu2004-04-177-5/+57
| | | | | | | | 2004-04-18 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h (IS_JAMO): * modules/hangul/hangul-fc.c (hangul_engine_shape, render_basic): handle non-Hangul unicode chars, fixes #129741, #137347.