1 Tue Mar 16 11:24:46 2004 Owen Taylor <otaylor@redhat.com>
3 * === Released 1.4.0 ===
5 * configure.in: Version 1.4.0, interface ago 0. Require
10 * README: Some updates; include details about the FreeType
11 license of the OpenType code.
13 Thu Mar 11 17:28:06 2004 Manish Singh <yosh@gimp.org>
15 * pango/pangofc-fontmap.c: Convert PangoStretch to and from FC_WIDTH,
16 so we can actually get fontconfig to match on condensed and expanded
17 versions of fonts, and have the info survive a pango_fc_face_describe
18 roundtrip. Fixes #131561.
20 * pango/pangox-fontmap.c: Remove unused function
21 free_coverages_foreach.
23 Tue Mar 9 09:21:07 2004 Owen Taylor <otaylor@redhat.com>
25 * === Released 1.3.6 ===
27 * configure.in: version 1.3.6, interface age 1
31 2004-03-05 Tor Lillqvist <tml@iki.fi>
34 * pango/pangoft2.def: Add missing entries. (#136339, J. Ali Harlow)
36 Fri Mar 5 14:56:57 2004 Owen Taylor <otaylor@redhat.com>
38 * modules/indic/indic-ot-class-tables.c (kndaCharClasses): Change
39 U+0CC3/U+0CC4/U+0CD5 to _lm (length mark) so that they get ordered
40 after the below base forms. (#118108, Kailash C. Chowksey)
42 2004-03-04 Tor Lillqvist <tml@iki.fi>
44 * pango/module-defs-win32.c.win32: Clarify comment.
46 2004-03-03 Hans Breuer <hans@breuer.org>
48 * pango/module-defs-win32.c.win32 : if PANGO_MODULE_PREFIX is
49 defined include the basic backend shaper (should have been
50 commited at 2003-12-12, too)
52 * pango/makefile.msc : generate correct type for PangoFontMask
53 (bug #135892, John Ehresman)
54 * pango/opentype/makefile.msc : updated
56 * pango/pango.def pango/pangoft2.def : more updatd externals
58 Wed Mar 3 16:00:10 2004 Owen Taylor <otaylor@redhat.com>
60 * configure.in: Strip out the "export-dynamic" libtool
61 option from library link lines. (#124687, James Henstridge)
63 2004-03-03 Tor Lillqvist <tml@iki.fi>
65 * NEWS: Correct spelling of my name.
67 * pango/Makefile.am (libpango_1_0_la_DEPENDENCIES): Add
68 pango-win32res.lo. (135581, J. Ali Harlow)
70 * configure.in: Move check for native Win32 (mingw) a bit
71 earlier. If Win32, disable static builds (like GLib does).
74 * pango/pangoft2.def: Add some missing symbols. (#135945, Cedric
75 Gustin; #135980, J. Ali Harlow)
77 * pango/pangowin32-fontmap.c (pango_win32_family_get_name): Can be
80 Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com>
82 * === Released 1.3.5 ===
84 * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0.
88 * modules/arabic/arabic-fc.c (arabic_engine_shape):
89 Fix a crash from left-over handling of clusters
90 for non-spacing marks.
92 Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org>
95 - exit with $? instead of 1 in case of failure
96 - exit with $? if ./configure failed
97 (that's so autogen.sh && make lines work)
98 - removed --enable-gtk-doc option
99 - added $AUTOGEN_CONFIGURE_ARGS
101 Fri Feb 27 11:23:21 2004 Owen Taylor <otaylor@redhat.com>
103 Patch from Dov Grobgeld to add auto-direction to PangoLayout
106 * examples/pangofttopgm.c: Add --no-auto-dir argument.
108 * pango-layout.[ch]: Add pango_layout_set_auto_dir()
109 defaulting to TRUE; resolve paragraph direction within
110 a layout by propagating base direction downwards
111 from paragraph to paragraph.
113 * pango-context.[ch]: Add pango_itemize_with_base_dir()
114 which overrides the base direction from the PangoContext.
116 Mon Mar 1 10:01:58 2004 Owen Taylor <otaylor@redhat.com>
118 * docs/tmpl/text-attributes.sgml: Document %PANGO_UNDERLINE_ERROR.
120 * pango/pangofc-fontmap.c: Pango*Fc*FontmapPrivate. Make compile.
122 2004-03-01 Murray Cumming <murrayc@murrayc.com>
124 * pango/pango-attributes.h: Removed trailing commas from the
125 enums - which causes warnings that break warnings-as-errors builds.
127 Mon Mar 1 09:43:38 2004 Owen Taylor <otaylor@redhat.com>
129 * pango/pangofc-fontmap.c (pango_fc_font_map_finalize):
130 Remove the INSTANCE_PRIVATE_DATA_WORKS #ifdefs,
131 since it does work now.
133 Sun Feb 29 15:54:51 2004 Owen Taylor <otaylor@redhat.com>
135 * pango/pangowin32.c pango/pangox.c pango/pangoft2.c:
136 Fix up off-by-one for right bound when drawing
137 PANGO_UNDERLINE_ERROR.
139 Sun Feb 29 15:31:09 2004 Owen Taylor <otaylor@redhat.com>
141 Patch from Nicolas Setton, #114237
143 * pango/pango-attributes.h pango/pango-markup.c: Add a
144 new underline type, PANGO_UNDERLINE_ERROR.
146 * pango/pangowin32.c pango/pangox.c pango/pangoft2.c:
147 Implement drawing of PANGO_UNDERLINE_ERROR.
149 * pango/pango-layout.c (pango_layout_run_get_extents):
150 Handle PANGO_UNDERLINE_ERROR.
152 2003-02-29 Noah Levitt <nlevitt@columbia.edu>
154 * docs/pango_markup.sgml:
155 * docs/tmpl/text-attributes.sgml:
156 * pango/pango-attributes.c:
157 * pango/pango-attributes.h:
158 * pango/pango-context.c:
159 * pango/pango-markup.c: New attribute to turn font fallback on or off.
162 Sun Feb 29 10:54:55 2004 Owen Taylor <otaylor@redhat.com>
164 * modules/arabic/arabic-ot.c (arabic): Add joining
165 classes for new Unicode-4.0 characters U+06EE, U+06EF, U+06FF.
166 (Patch by Roozbeh Pournader from #117282)
168 Sun Feb 29 09:25:13 2004 Owen Taylor <otaylor@redhat.com>
170 Rework opentype interfaces and other changes to make GPOS
171 work for Arabic. (Most of #117282, #121060)
173 * pango/opentype/otlbuffer.[ch]: OTL_Buffer that
174 acts as a replacement for the separate GSUB and
175 GPOS string structures and hides many of the internal
178 * pango/opentype/ftxgsub.[ch] pango/opentype/ftxgpos.[ch]:
181 * pango/opentype/ftxgpos.c: Redo handling of cursive
182 chains so that it actually works.
184 * pango/pango-ot.h pango/opentype/pango-ot-buffer.c:
185 Pango wrapper around OTL_Buffer.
187 * pango/pango-ot.h pango/pango-ot-ruleset.c pango/pango-ot-buffer.c:
188 Split pango_ot_ruleset_shape() into pango_ot_ruleset_substitute(),
189 pango_ot_ruleset_position(), make them act on
190 PangoOTBuffer, add a separate pango_ot_buffer_output()
191 which does the default positioning and writes to a
194 * modules/arabic/arabic-fc.c modules/indic/indic-fc.c
195 modules/indic/mprefixups.[ch]: Adapt to new OpenType
196 interfaces; add GPOS features for Arabic.
198 * pango/opentype/pango-ot-info.c: Don't derive class information
199 from Unicode properties for Arabic presentation forms,
200 let the shaping process derive the properties.
202 2004-02-28 Hans Breuer <hans@breuer.org>
204 * pango/modules/basic/basic-win32.c : use uniscribe_scripts instead of
205 uniscribe_ranges (does show only with HAVE_USP10_H, which I don't)
206 patch from J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135504
208 2004-02-28 Hans Breuer <hans@breuer.org>
210 * pango/pango.def : updated externals including
211 patch from J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135518
213 * pango/pangowin32-fontmap.c : implement list_sizes() and
214 is_monospace() members
216 Fri Feb 27 14:26:34 2004 Owen Taylor <otaylor@redhat.com>
218 * modules/indic/indic-ot-class-tables.c (bengCharClasses):
219 Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F)
220 as consonants which gives better behavior when they
221 are combined with halant, though it isn't exactly right.
222 (#118299, Sayamindu Dasgupta)
224 Fri Feb 27 11:24:50 2004 Owen Taylor <otaylor@redhat.com>
226 * pango/mini-fribidi/fribidi.c (pango_log2vis_get_embedding_levels):
227 Handle PANGO_DIRECTION_NEUTRAL.
229 Fri Feb 27 09:30:10 2004 Owen Taylor <otaylor@redhat.com>
231 Add some new enum and values and utilities for supporting
232 automatically determined base direction. (#70451, based
233 on changes by Dov Grobgeld)
235 * pango/pango-types.h docs/tmpl/main.sgml: Add
236 PANGO_DIRECTION_WEAK_RTL/LTR, extend the docs for
239 * pango/pango-types.h pango/pango-utils.h: Move
240 pango_get_mirror_char() to pango-types.h.
242 * pango/mini-fribidi/fribidi.c (pango_log2vis_get_embedding_levels):
243 Handle new values of PangoDirection, handle
244 PANGO_DIRECTION_TTB_LTR/RTL as aliases for PANGO_DIRECTION_RTL/LTR.
246 * pango/mini-fribidi/fribidi.c pango/pango-types.h: Add
247 pango_unichar_direction().
249 * pango/pango-utils.c pango/pango-types.h: Add
250 pango_find_base_dir()
252 2003-02-26 Noah Levitt <nlevitt@columbia.edu>
254 * pango/pangofc-fontmap.c: Use g_array_sort correctly.
256 Tue Feb 24 14:29:26 2004 Owen Taylor <otaylor@redhat.com>
258 * === Released 1.3.3 ===
260 * configure.in: Version 1.3.3, interface age 3.
264 2003-02-23 Noah Levitt <nlevitt@columbia.edu>
266 * pango/pangowin32-fontmap.c:
267 * pango/pangofc-fontmap.c:
268 * pango/pango-font.h:
269 * pango/fonts.c: New API pango_font_family_is_monospace. (#108728)
271 2003-02-23 Noah Levitt <nlevitt@columbia.edu>
273 * pango/fonts.c (pango_font_face_list_sizes):
274 * pango/pangofc-fontmap.c (pango_fc_face_list_sizes): Handle
275 NULL for sizes and n_sizes.
277 2003-02-22 Noah Levitt <nlevitt@columbia.edu>
279 * pango/pangofc-fontmap.c (pango_fc_face_list_sizes): Handle
280 possibility of FcPatternGetDouble(FC_DPI) failing.
282 2003-02-22 Noah Levitt <nlevitt@columbia.edu>
284 * pango/pango-font.h:
285 * pango/pangofc-fontmap.c:
286 * pango/pangowin32-fontmap.c:
287 * pango/fonts.c (pango_font_face_list_sizes): New API for
288 getting available sizes for a bitmap font face. (#99235)
290 Sat Feb 21 11:31:16 2004 Owen Taylor <otaylor@redhat.com>
292 * pango/pango-layout.c (pango_layout_set_justify): Add
293 a docs note about non-implementedness. (#64538)
295 Sat Feb 21 09:49:23 2004 Owen Taylor <otaylor@redhat.com>
297 * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
298 Sign convention for y offsets is opposite between
299 PangoGlyphString and FT code. (#132591)
301 2003-02-19 Noah Levitt <nlevitt@columbia.edu>
303 * pango/pangofc-font.c (pango_fc_font_get_metrics):
304 * pango/pangowin32.c (pango_win32_font_get_metrics): Make
305 approximate_digit_width the width of the widest digit, rather than the
308 Thu Feb 19 10:44:17 2004 Owen Taylor <otaylor@redhat.com>
310 * pango/pango-context.c (compute_derived_language):
311 Use 'xx' as the language for cases where we
312 the language tag mismatches the script but we don't
313 have a good language tag for the script.
316 Tue Feb 17 23:15:13 2004 Laszlo Peter <laca@sun.com>
318 * pango-uninstalled.pc.in: use @PANGO_API_VERSION@
319 * pangoft2-uninstalled.pc.in: use @PANGO_API_VERSION@
320 * pangox-uninstalled.pc.in: use @PANGO_API_VERSION@
321 * pangoxft-uninstalled.pc.in: use @PANGO_API_VERSION@
323 Mon Jan 26 10:30:06 2004 Owen Taylor <otaylor@redhat.com>
325 * pango/modules/thai/thai-shaper.c: Reapply the patch
326 from #124175 that somehow got reverted.
328 Fri Feb 13 10:54:18 2004 Owen Taylor <otaylor@redhat.com>
330 Memory leak fixes from Masatake YAMATO, #130652
332 * pango/opentype/ftxgdef.c (TT_Done_GDEF_Table):
333 Free the gdef table as well as the contained data.
335 * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
336 Set gcd->loaded, so that the contents get freed later.
338 Fri Feb 13 10:19:16 2004 Owen Taylor <otaylor@redhat.com>
340 * configure.in: Skip the xslt and stylesheet checks
341 unless --enable-man is specified. (#134133,
342 Julio M. Merino Vidal)
344 Tue Feb 10 19:03:44 2004 Manish Singh <yosh@gimp.org>
346 * pango/pango-context.c (itemize_state_init): initialize font_desc
349 Tue Feb 10 14:33:54 2004 Owen Taylor <otaylor@redhat.com>
351 * pango/pango-markup.c: Handle 'tag' being NULL
352 in a bunch of places. (#122844, Noah Levitt)
354 Tue Feb 10 14:28:41 2004 Owen Taylor <otaylor@redhat.com>
356 * pango/pango-context.c (update_attr_iterator): Fix
357 a leak of a font descriptor. (#131909, Kjartan Maraas,
360 Tue Feb 10 14:13:04 2004 Owen Taylor <otaylor@redhat.com>
362 * pango/pango-tabs.c (pango_tab_array_resize): Fix
363 the amount of memory being allocated. (#132994,
366 Mon Feb 9 09:52:24 2004 Owen Taylor <otaylor@redhat.com>
368 * pango/pango-attributes.c (pango_attr_iterator_next): Fix
369 infinite loop introduced with last change. (#133749,
370 reported by Mariano Suárez-Alvarez)
372 Thu Feb 5 16:30:46 2004 Owen Taylor <otaylor@redhat.com>
374 Fix problem with empty markup tags (#128102, Christian Persch)
376 * pango/pango-context.c (itemize_state_process_run): Assert
377 that the run is non-empty.
379 * pango/pango-attributes.c (pango_attr_list_change):
380 Just ignore empty attributes.
382 * pango/pango-attributes.c (pango_attr_iterator_next):
383 Skip empty attributes.
385 Thu Feb 5 15:28:44 2004 Owen Taylor <otaylor@redhat.com>
387 * pango/pango-layout.c (pango_layout_set_font_description):
388 Accept NULL for desc as documented. (#133001, Torsten Schoenfeld)
390 Thu Feb 5 15:21:49 2004 Owen Taylor <otaylor@redhat.com>
392 * pango/pango-layout.c (pango_layout_check_lines):
393 Redo the last commit once again.
395 Thu Feb 5 15:16:04 2004 Owen Taylor <otaylor@redhat.com>
397 * pango/pango-layout.c (pango_layout_check_lines): Fix
398 stupid cut-and-pasto from last commit.
400 Thu Feb 5 15:09:58 2004 Owen Taylor <otaylor@redhat.com>
402 * pango/pango-layout.c (pango_layout_check_lines):
403 Set is_paragraph_start here too. (#131356,
406 Wed Jan 28 17:47:52 2004 Owen Taylor <otaylor@redhat.com>
408 * configure.in: Require GLib-2.3.1. (#132695,
411 Mon Jan 26 14:20:34 2004 Owen Taylor <otaylor@redhat.com>
413 * pango/opentype/pango-ot-info.c (is_truetype): Support
414 CFF fonts as well. (#131202, Manjunath Sripadarao)
416 Mon Jan 26 10:30:06 2004 Owen Taylor <otaylor@redhat.com>
418 * pango/modules/thai/thai-shaper.c: Fix up glyph addition
419 code so that it works properly with the typical
420 TrueType fonts that have 0 width for combining
421 characters. (#124175, Theppitak Karoonboonyanan)
423 Fri Jan 23 16:05:31 2004 Owen Taylor <otaylor@redhat.com>
425 * pango/pango-markup.c (open_tag_free): Fix some
426 more problems with NULL attribute lists.
428 Thu Jan 22 12:36:10 2004 Owen Taylor <otaylor@redhat.com>
430 * === Released 1.3.2 ===
432 * configure.in: Version 1.3.2, interface age 2.
436 Wed Jan 21 00:50:56 2004 Matthias Clasen <maclas@gmx.de>
438 * NEWS: Updates for 1.3.2.
440 2004-01-06 Roozbeh Pournader <roozbeh@sharif.edu>
442 * modules/arabic/arabic-ot.c: Corrected a mistake between ZWJ and
445 Fri Dec 19 22:20:18 2003 Matthias Clasen <maclas@gmx.de>
447 * docs/tmpl/layout.sgml: Document all members of PangoLayoutLine.
449 Thu Dec 18 01:20:31 2003 Matthias Clasen <maclas@gmx.de>
451 * pango/pango-attributes.c (pango_attr_size_new): Correct the
452 documentation. (#128431, Ross Burton)
454 2003-12-13 Hans Breuer <hans@breuer.org>
456 * pango/pango.def pangoft2.def : moved pango_fc_*
457 to the latter where they live on *nix too.
459 * pango/makefile.msc : make it build again (including
462 * pango/module-defs-fc.c.win32 : if PANGO_MODULE_PREFIX is defined
463 include the basic backend shaper
465 * pango/pangowin32.c (pango_win32_render_layout) :
466 initialize iter before first usage to avoid immediate crashing
468 * pango/opentype/makefile.msc
469 pango/modules/makefile.msc : finally build with mscv, too.
470 [completely untested cause I'm not able to type, write or read
471 any of these languages]
473 * modules/modules.def : follow module function renaming/changes
475 * modules/basic/basic-win32.c : register the right engine, i.e.
478 2003-12-08 Tor Lillqvist <tml@iki.fi>
480 * modules/basic/basic-win32.c (convert_log_clusters_to_byte_offsets):
483 (itemize_shape_and_place): Fix problem with RTL scripts: If
484 ScriptItemize() returns several items, must handle them in reverse
485 order. (#128812, reported by Shoshannah Forbes)
487 Mon Dec 8 12:57:03 2003 Owen Taylor <otaylor@redhat.com>
489 * === Released 1.3.1 ===
491 * NEWS: Further updates for 1.3.1
493 * pango/pango-script.c (pango_script_iter_next): Put in
494 a hopefully-correct fix for a problem with invalid values of
495 start_sp causing out-of-bounds writes. (#125928,
498 2003-12-07 Tor Lillqvist <tml@iki.fi>
500 * pango/Makefile.am: Fix problems when building outside srcdir for
501 Win32. (#122167, Jeff Bonggren)
503 2003-12-05 Sven Neumann <sven@gimp.org>
505 * pango/pangoft2-fontmap.c: initialize the fontmap's resolution
506 to some sane default values. Fixes bug #123602.
508 2003-12-04 Noah Levitt <nlevitt@columbia.edu>
510 * pango/pango-context.c:
511 * pango/pango-layout.c: Honor U+2028 LINE SEPARATOR. (#85745)
513 2003-11-25 Noah Levitt <nlevitt@columbia.edu>
515 * examples/pangoft2topgm.c: Add --indent=n option.
517 * pango/pango-layout.[ch]: Indent the first line of every paragraph,
518 not just the first line in the layout. (#66626)
520 2003-11-25 Noah Levitt <nlevitt@columbia.edu>
522 * pango-utils.c (lang_texts[]): Italian is "it"; "iw" is deprecated
523 for Hebrew, should be "he".
525 2003-11-20 Manish Singh <yosh@gimp.org>
527 * pango/pangoft2-private.h: #include <fontconfig/fcfreetype.h> for
528 FcFreeTypeCharIndex().
530 2003-11-20 Sven Neumann <sven@gimp.org>
532 * pango/pangoft2-fontmap.c: reverted the patch for bug #123602
533 since I only applied it accidentally. I still believe the patch
536 * pango/pangoft2.c: really applied the fix for #101856 as
539 2003-11-20 Noah Levitt <nlevitt@columbia.edu>
541 * pango/pango-utils.c:
542 * pango/mini-fribidi/Makefile.am:
543 * pango/mini-fribidi/README:
544 * pango/mini-fribidi/fribidi.c:
545 * pango/mini-fribidi/fribidi.patch:
546 * pango/mini-fribidi/fribidi_char_type.c:
547 * pango/mini-fribidi/fribidi_tab_char_type_2.i:
548 * pango/mini-fribidi/fribidi_types.c:
549 * pango/mini-fribidi/fribidi_types.h:
550 * pango/mini-fribidi/fribidi_types.i: Update to latest fribidi.
553 2003-11-18 Noah Levitt <nlevitt@columbia.edu>
555 * pango/pangxft-font.c (pango_xft_real_render): Draw 6-digit hex boxes
556 for > U+FFFF. (#101081)
558 2003-11-18 Morten Welinder <terra@gnome.org>
560 * pango/pango-attributes.c (pango_attr_iterator_get_font): Fix
561 _SCALE semantics. Fixes bug 121543; patch from Owen.
563 2003-11-18 Sven Neumann <sven@gimp.org>
565 * pango/pangoft2.c: removed the set_unicode_charmap() call. Made
566 pango_ft2_font_real_get_glyph() use FcFreeTypeCharIndex() rather
567 than FT_Get_Char_Index(). Made pango_ft2_font_real_has_char() use
568 FcCharSetHasChar(). This allows to use PangoFT2 with all font
569 encodings supported by fontconfig and fixes bug #101856.
571 Wed Nov 12 16:11:47 2003 Owen Taylor <otaylor@redhat.com>
573 * configure.in: Version 1.3.1, interface age 1.
575 * NEWS: Updates for 1.3.1
577 2003-11-12 Padraig O'Briain <padraig.obriain@sun.com>
579 * pango/modules.c: Make parent_class variable static.
581 Sat Nov 1 09:32:15 2003 Owen Taylor <otaylor@redhat.com>
583 * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h
584 pango/pangoft2.c pango/opentype/pango-ot-info.c
585 pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c
586 pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c
587 pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
588 Switch over to recommended Freetype system of
589 include ft2build.h then #include FT_FREETYPE_H.
590 Fixes ftmodule.h problem with current Freetype CVS.
593 Fri Oct 31 13:01:25 2003 Owen Taylor <otaylor@redhat.com>
595 * pango/Makefile.am (libpangox_1_0_la_LDFLAGS): Fix some
596 leftover references to INCLUDE_XFT_MODULES,
597 INCLUDED_FC_MODULES. (#125588, Martin Kretzschmar)
599 * pango/pangox-fontmap.c (pango_x_face_get_coverage):
600 Fix some code that was never quite finished.
602 Fri Oct 31 12:32:38 2003 Owen Taylor <otaylor@redhat.com>
604 Fix one problem with iteration by chars (Part of
605 #89541, Mariano Suárez-Alvarez)
607 * Pango/pango-layout.c (cluster_end_index): Fix to
608 be item relative, like iter->cluster_index.
610 * pango/pango-layout.c (pango_layout_iter_next_char):
613 Fri Oct 24 00:09:17 2003 Owen Taylor <otaylor@redhat.com>
615 * === Released 1.3.0 ===
617 * pango/module-defs-fc.c.win32 pango/module-defs-fc.c.win32:
618 Add the -fc version, remove the -ft2 version. Not sure this
619 file is actually needed any more.
621 * pango/Makefile.am (libpango_1_0_la_SOURCES): Add
622 pango-impl-utils.h, pango-script-lang-table.h.
624 * docs/Makefile.am (dist-hook-local): Distribute generated
627 * tests/Makefile.am (CLEANFILES): Add pango.modules
629 Wed Oct 15 17:18:37 2003 Owen Taylor <otaylor@redhat.com>
631 * pango/pango-context.c (itemize_state_init): Initialize
632 state->lang. (#124047, Morten Welinder)
634 Tue Oct 14 19:00:17 2003 Owen Taylor <otaylor@redhat.com>
636 * modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
637 Remove an unused variable. (#122680, Kjartan Maraas)
639 Wed Oct 1 12:40:38 2003 Owen Taylor <otaylor@redhat.com>
641 * pango/pango-script.c (pango_script_get_sample_language):
642 Fix a c99-ism, include stdlib.h for bsearch.
643 (#123616, Kaushal Kumar)
645 2003-09-30 Matthias Clasen <maclas@gmx.de>
647 * pango/pango-engine.h (struct _PangoEngineShapeClass): Replace
648 get_coverage by covers in the doc comment.
650 * pango/pango-script.c (pango_language_includes_script)
651 (pango_script_get_sample_language):
652 * pango/pango-fontset.c (pango_fontset_foreach):
653 * pango/pango-fontmap.c (pango_font_map_get_shape_engine_type):
654 * pango/modules.c (pango_map_get_engines):
655 * pango/pango-fontset.h (PangoFontsetForEachFunc): Fix typos and
656 add "Since: 1.4" tags.
658 * docs/pango-sections.txt: Add PangoFontsetForeachFunc,
659 pango_fontset_foreach(), pango_font_map_get_shape_engine_type(),
660 PangoScriptForLang, pango_script_get_sample_language() and
661 pango_language_includes_script(), remove pango_map_get_entry().
663 Wed Sep 24 18:29:34 2003 Owen Taylor <otaylor@redhat.com>
665 * modules/hebrew/hebrew-shaper.c (hebrew_shaper_get_next_cluster):
666 Handle non-hebrew characters.
668 2003-09-25 Matthias Clasen <maclas@gmx.de>
670 * pango/break.c (pango_default_break): Only reset the word
671 type to WordNone at a word end if it is not also a word
672 start. Otherwise both 't' and 'e' are classified as word
673 start in '123test'. (#122754, Hidetoshi Tajima)
675 Tue Sep 23 19:43:05 2003 Owen Taylor <otaylor@redhat.com>
677 * pango/pango-context.c (itemize_state_add_character): Don't
678 break runs when we hit neutral characters.
680 Tue Sep 23 18:03:57 2003 Owen Taylor <otaylor@redhat.com>
682 * pango/pango-engines.[ch] pango/pango-engines-private.h:
683 Modules now declare a list of scripts that they cover instead of a
684 list of code point ranges. Also, there is now a ->covers() virtual
685 function that allows a module to decide live whether the font
686 covers a particular codepoint; remove old get_coverage() method.
688 * pango/pango-fontset.[ch]: Add a foreach() function to
689 iterate over all the fonts in a fontset (with a true
690 return stopping iteration).
692 * pango/pango-context.c: Complete rewrite using script-run
693 information to improve language tags. Switch to an approach
694 where we handle one run at a time rather than computing
695 information for each character individually then later
696 breaking the result into runs.
698 * pango/pango-fontset.[ch]: Switch over to using
701 * modules/basic/basic-x.c pango/pangox-fontmap.c: Adapt to
702 the change from get_coverage => covers.
704 * pango/pango-modules.h pango/modules.c: Switch PangoMap
705 over to being based on script rather than being based
706 on codepoint. Remove the no longer needed pango_map_get_entry().
708 * pango/modules.c: Handle new script-based modules.
710 * pango/pango-fc-fontmap.c pango/pango-win32-fontmap.c
711 pango/pang-fontmap.[ch]: Add a shape_engine_type field
712 to PangoFontmapClass, pango_font_map_get_shape_engine_type();
713 this allows generic code to find a shaper for a particular
716 * pango/pango-script.[ch]: Add pango_script_get_sample_language(),
717 pango_language_includes_script(); functions for determining
718 the relationship between scripts and language.
720 * tools/gen-script-for-lang.c: Modify to spit out a
723 * pango/pango-script-lang-table.h: Version of table
724 generated from current fontconfig data.
726 * pango/pangox.c: Remove complicated code to compute
727 coverages; no longer useful now that we just have
728 the basic shaper as a legacy thing.
730 * modules/*/*.c: Adapt to identifying shape engines
733 * modules/thai/thai-fc.c modules/thai/thai-shaper.[ch]:
734 Remove now unused "has_glyph" function and XTIS support.
736 * modules/thai/thai-fc.c: Handle non-Thai characters
737 as well, since the Thai module now gets spaces,
738 punctuation, and so forth.
740 Mon Sep 15 17:16:59 2003 Owen Taylor <otaylor@redhat.com>
742 * pango/opentype/fterrcompat.h: Fix gcc-3.3 versions of
743 macros to have the right return value.
745 Mon Sep 15 17:07:58 2003 Owen Taylor <otaylor@redhat.com>
747 * pango/Makefile.am: Add property dependencies on mini-fribidi
748 and opentype convenience libraries.
750 Tue Sep 9 12:21:02 2003 Owen Taylor <otaylor@redhat.com>
752 * pango/pangofc-fontmap.c (pango_fc_font_description_from_pattern):
753 Fix a g_assert() with a side-effect. (Maybe #121742?)
755 Mon Sep 15 15:48:25 2003 Owen Taylor <otaylor@redhat.com>
757 * examples/Makefile.am examples/argcontext.c examples/argcontext.h:
758 Borrow argument parsing code from GDK.
760 * examples/pangoft2topgm.c: Use argcontext.[ch]. Add options
761 --header to display options in a header in the image, --text
762 to pass the text on the command line, --width to set a
763 wrap width. Add autoconversion to non-PGM output formats
764 via 'convert' for --output="foo.png" etc.
766 2003-09-12 Matthias Clasen <maclas@gmx.de>
768 * pango/pango-context.c (pango_context_set_font_map)
769 (pango_context_new): Document these funcions as backends-only, and
770 explain how to obtain initialized contexts. (#121881, Martin Pool)
772 Tue Sep 9 12:17:07 2003 Owen Taylor <otaylor@redhat.com>
774 * tools/Makefile.am (EXTRA_DIST): Remove reference
775 to now-gone make-table.sh (#121393, Josh Beam)
777 2003-09-02 Noah Levitt <nlevitt@columbia.edu>
781 * tests/pangorc: Fix tests so that can be run before "make install"
784 Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com>
786 * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
787 * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
788 Fix problems where the coverage wasn't being checked
789 for the first input glyph. (#118639, Kailash C. Chowksey)
791 Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com>
793 * pango/Makefile.am (EXTRA_DIST): add testfonts.c to
794 EXTRA_DIST until bug #104151 is sorted out.
796 Sun Aug 24 12:35:25 2003 Owen Taylor <otaylor@redhat.com>
798 * pango/querymodules.c: Remove a stray ; (#120528,
801 Fri Aug 22 18:09:52 2003 Owen Taylor <otaylor@redhat.com>
803 * pango/opentype/fterrcompat.h: Add some macro definitions
804 for gcc-3.3 that suppress the bogus strict-aliasing
807 * pango/pango-utils.c (read_config_file): Use
808 g_hash_table_new_full() to simplify code and fix
811 * pango/pangox-fontmap.c (pango_x_real_get_coverage_win)
812 * pango/querymodules.c (query_module): Suppress gcc-3.3
815 * pango/modules.c (pango_find_map): Fix warning from
816 missing declaration of pango_module_get_type().
818 * pango/pango-context.c/pango-engine.c: Fix name confusion
819 for pango_get_fallback_shaper().
821 Fri Aug 22 17:29:42 2003 Owen Taylor <otaylor@redhat.com>
823 * examples/Makefile.am (pango.modules): Add a dependency
824 on pango-querymodules... Really needs to depend on the
825 modules too, but this at least will reduce the chances
826 of it not getting rebuild when necessary.
828 Thu Aug 21 00:29:46 2003 Soeren Sandmann <sandmann@daimi.au.dk>
830 * pango/pangofc-fontmap.c (pango_fc_face_get_type): Remove
831 ABSTRACT from g_type_register_static() call
833 2003-08-20 Noah Levitt <nlevitt@columbia.edu>
835 * configure.in: Bump version to 1.3.0.
837 Fri Aug 15 16:34:14 2003 Owen Taylor <otaylor@redhat.com>
839 * configure.in: get the cflags for gmodule-2.0 as
840 well as gthread-2.0. (#119953, Benedikt Spranger)
842 2003-08-14 Noah Levitt <nlevitt@columbia.edu>
844 * docs/tmpl/main.sgml:
846 * pango/pango-break.h: Add backspace_deletes_character to
847 PangoLogAttr. (#114483)
849 Thu Aug 14 10:41:21 2003 Owen Taylor <otaylor@redhat.com>
851 * pango/modules.c (init_modules): Call g_type_init()
852 (#119830, Noah Levitt)
854 2003-08-11 Matthias Clasen <maclas@gmx.de>
856 * acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and
857 JH_PATH_XML_CATALOG from gtk-doc to enable configuring without
858 xmlcatalog in PATH. (#119115)
860 Fri Aug 8 12:59:42 2003 Owen Taylor <otaylor@redhat.com>
862 * pango/pangoft2-fontmap.c (pango_ft2_font_map_default_substitute):
863 Move DPI substitution before FcDefaultSubstitute so
866 Fri Aug 8 11:45:15 2003 Owen Taylor <otaylor@redhat.com>
868 * examples/pangoft2topgm.c: Replace --family/--scale
869 options with a single --font
871 Fri Aug 8 11:33:24 2003 Owen Taylor <otaylor@redhat.com>
873 * examples/pangoft2topgm.c: Add option to run 'display'
874 on the output as well as/instead of specifying output
877 Fri Aug 8 10:33:31 2003 Owen Taylor <otaylor@redhat.com>
879 * pango/pangoft2.h: Deprecate pango_ft2_get_context(),
880 pango_ft2_font_map_for_display(), pango_ft2_shutdown_display();
883 * pango/pangoft2-fontmap.c (pango_ft2_shutdown_display):
884 Add docs about deprecations.
886 * examples/Makefile.am (INCLUDES): Add -DPANGO_DISABLE_DEPRECATED
888 * examples/pangoft2topgm.c: Fix deprecated usages; add
889 --dpi and --markup options. Improve error handling.
891 Fri Aug 8 10:03:03 2003 Owen Taylor <otaylor@redhat.com>
893 * examples/pangoft2topgm.c: Get rid of a bunch of
894 leftovers from the conversion from viewer; add
895 --waterfall to create a waterfall output at different
896 sizes, and --margin to set the margin.
898 2003-08-05 Tor Lillqvist <tml@iki.fi>
900 * modules/basic/basic-win32.c (text_is_simple): New function. Uses
901 the Uniscribe ScriptIsSimple() function to check if Uniscribe
902 shaping is needed for a piece of text.
904 (basic_engine_shape): Use it, to avoid calling Uniscribe to shape
905 non-complex text. Produces dramatic speedup according to tests by
908 (init_uniscribe): No need for the PANGO_WIN32_NO_UNISCRIBE
909 environment variable any longer.
911 Mon Aug 4 01:12:35 2003 Soeren Sandmann <sandmann@daimi.au.dk>
913 * tools/gen-script-for-lang.c (get_script_name): Fix C99 variable
916 Sun Aug 3 18:37:46 2003 Owen Taylor <otaylor@redhat.com>
918 * pango/pangofc-font.c (get_face_metrics): Fix sign
921 * pango/pango-engine-private.h: fix include (Noah Levitt)
923 Sat Aug 2 23:19:16 2003 Owen Taylor <otaylor@redhat.com>
925 * pango/pango-engine.[ch] modules/*/*-{fc,win32,x}.c
926 pango/modules.c pango/break.c pango/pango-context.c
927 pango/pango-layout.c pango/pango-modules.h
928 pango/querymodules.c pango/shape.c: Make
929 PangoEngine{,Lang,Shape} GObjects, and use a
930 GTypeModule-based module-loading system closely based
931 on the one used for GtkIMContext and GtkThemeEngine.
933 * pango/pango-impl-utils.h: OK, I'm tired of typing
934 in get_type() functions.
936 * pango/pango-script.[ch] pango/pango-script-table.h
937 tests/testscript.c tools/gen-script-table.pl: Add port
938 of script-range code from ICU in preparation for future
941 * tools/gen-script-for-lang.c: Utility program to determine
942 the script for each fontconfig .orth file.
944 * docs/tmpl/{scripts.sgml,pango-engine-lang.sgml,
945 pango-engine-shape.sgml} docs/pango-sections.txt docs/pango-docs.sgml:
946 Redo to go along with the above changes.
948 * configure.in: chmod +x tests/runtests.sh
950 2003-08-03 Noah Levitt <nlevitt@columbia.edu>
952 * pango/Makefile.am (libpangoxft_1_0_la_DEPENDENCIES): Really make
953 pangoxft depend on pangoft2. (#119024)
955 Sat Aug 2 14:33:28 2003 Owen Taylor <otaylor@redhat.com>
957 * pango/Makefile.am (libpangoxft_1_0_la_LIBADD): Make
958 pangoxft depend on pangoft2.
960 * pango/pangofc-fontmap.[ch]: Make pangofc-fontmap.cI
961 into a real base class.
963 * pango/pangofc-font.[ch]: Move some of the pangoxft/
964 pangoft2 implementation here.
966 * pango/pangoft2.c pango/pangoft2-fontmap.c
967 pango/pangoft2-private.h pango/pangoxft-font.c
968 pango/pangoxft2-fontmap.c pango/pangoxft-private.h: Adapt
971 * modules/*/Makefile.am Modules/*/*/*-fc.c: Don't build
972 separate FT2 and Xft shapers, just build one Fc shaper.
974 * docs/pango-sections.txt docs/pango-docs.sgml
975 docs/tmpl/pangofc-font{,map}.sgml: Basic docs for
978 * configure.in: Up pango_module_version to 1.4.0.
980 Sat Aug 2 14:18:20 2003 Owen Taylor <otaylor@redhat.com>
982 * modules/hangul/Makefile.am (EXTRA_DIST): Remove some
985 Sat Aug 2 14:10:31 2003 Owen Taylor <otaylor@redhat.com>
987 * pango/Makefile.am pango/pango-intset.[ch] pango/pango-indic.[ch]:
990 * pango/pangox.c (pango_x_apply_ligatures): Make a noop,
991 remove associated code.
993 * pango/pangox-fontmap.c pango/pangox.[ch]: Deprecate everything.
995 Sat Aug 2 13:17:45 2003 Owen Taylor <otaylor@redhat.com>
998 modules/arabic/{Makefile.am arconv.[ch],langboxfont.[ch],
999 mulefont.[ch],naqshfont.[ch],arabic-x.c}
1000 modules/hangul/{Makefile.am,hangul-x.c,tables-johabfont.i,
1002 modules/hebrew/{Makefile.am,hebrew-x.c}
1003 modules/indic/{Makefile.am,*-x.c}
1005 modules/thai/{Makefile.am,thai-x.c}:
1006 Remove old X font shapers.
1008 Sat Aug 2 16:40:19 2003 Soeren Sandmann <sandmann@daimi.au.dk>
1010 Add API to kern a complete glyph string. Remove API to kern
1011 individual glyph pairs.
1013 * modules/basic/basic-fc.c (basic_engine_shape): use
1014 pango_fc_font_kern_glyphs() instead of pango_fc_font_get_kerning().
1016 * pango/pangoft2.c (pango_ft2_font_real_kern_glyphs): add this
1017 function, remove pango_ft2_font_real_get_kerning().
1019 * pango/pangoxft-font.c (pango_xft_font_real_kern_glyphs): add
1020 this function, remove pango_xft_font_real_get_kerning().
1022 * pango/pangofc-font.c (pango_fc_font_kern_glyphs): new
1023 function. Remove pango_fc_font_get_kerning().
1025 * pango/pangofc-font.h: remove pango_fc_font_get_kerning(), add
1026 pango_fc_font_kern_glyphs().
1028 Tue Jul 29 09:58:13 2003 Owen Taylor <otaylor@redhat.com>
1030 * pango/opentype/ftxgdef.c (Check_Property): Rewrite
1031 handling of IGNORE_SPECIAL_MARKS to be properly
1032 "ignore marks of attachment type different than
1033 specified. (#118456, Kailash C. Chowksey)
1035 Sat Jul 26 09:41:22 2003 Owen Taylor <otaylor@redhat.com>
1037 * pango/opentype/ftxgsub.c (Lookup_LigatureSubst):
1038 Revert back out the FreeType patch preventing
1039 ligatures of not-originally adjacent glyphs;
1040 it doesn't work for all scripts. (#118472,
1041 Kailash C. Chowksey)
1043 Sat Jul 26 22:30:59 2003 Owen Taylor <otaylor@redhat.com>
1045 * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst{1,2,3}):
1046 Check for lookahead glyphs in the right place. (Patch
1047 from Kailash C. Chowksey, #116860)
1049 * pango/opentype/ftxgpos.c (Lookup_ChainContextPos{1,2,3}):
1052 Sat Jul 26 22:12:46 2003 Owen Taylor <otaylor@redhat.com>
1054 * pango/opentype/ftxgsub.c (Do_String_Lookup,
1055 TT_GSUB_Apply_String): Fix return value to only
1056 contain TTO_Err_Not_Covered if *no* lookups
1057 matched. Fix memory leaks on error in Apply_String().
1059 Sat Jul 26 22:09:44 2003 Owen Taylor <otaylor@redhat.com>
1061 * modules/indic/indic-ot.c (indic_ot_reorder):
1062 Fix problem where NULL mpreFixups wasn't getting
1065 Sat Jul 26 21:06:26 2003 Owen Taylor <otaylor@redhat.com>
1067 * pango/opentype/ftxgsub.c (Load_EmptyOrClassDefinition):
1068 Fix confusion between boolean and FT_Error return.
1069 (GSUB equivalent of fix for #108358)
1071 Sat Jul 26 10:52:20 2003 Owen Taylor <otaylor@redhat.com>
1073 * pango/opentype/ftxgpos.c (Lookup_ContextPos2):
1074 * pango/opentype/ftxgsub.c (Lookup_ContextSubst2): Move
1075 allocation afer initial checks, fixing memory leak.
1077 * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst2):
1078 Fix some more error return memory leaks that weren't
1079 fixed in the Qt changes.
1081 Sat Jul 26 10:43:20 2003 Owen Taylor <otaylor@redhat.com>
1083 * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
1084 Fix various memory leaks from error returns that should
1085 have been jumps to cleanup blocks. (From Qt, Lars Knoll)
1087 Sat Jul 26 10:30:24 2003 Owen Taylor <otaylor@redhat.com>
1089 * pango/opentype/ftxgpos.c: Fix additional places where
1090 TTO_Err_Not_Covered wasn't considered a successful return
1091 from Get_Class. (From Qt, Lars Knoll)
1093 Sat Jul 26 09:41:22 2003 Owen Taylor <otaylor@redhat.com>
1095 * pango/opentype/ftxgsub.c (Lookup_LigatureSubst):
1096 If applying a ligature lookup makes adjacent two glyphs
1097 that were not originally adjacent, avoid making
1098 subsequent ligatures between those glyphs.
1099 (From FreeType, Werner Lemberg, 2001-08-22, 2001-08-23)
1101 Sat Jul 26 09:16:57 2003 Owen Taylor <otaylor@redhat.com>
1103 * pango/opentype/ftxgpos.c pango/opentype/ftxopen.c:
1104 Fix some FreeType1 variable declarations that snuck
1105 in from the last commits (Christophe Fergeau,
1108 Fri Jul 25 23:38:07 2003 Owen Taylor <otaylor@redhat.com>
1110 * pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c:
1111 OpenType-1.4 update: backtrack information is stored with the
1112 item closest to the input first (From FreeType,
1113 Werner Lemberg, 2002-09-26)
1115 Fri Jul 25 23:07:06 2003 Owen Taylor <otaylor@redhat.com>
1117 Update of GPOS and GSUB support to OpenType 1.3
1118 (From FreeType, Werner Lemberg, 2001-08-08)
1120 * pango/opentype/ftxopen.h: Add RIGHT_TO_LEFT LookupFlag
1122 * pango/opentype/ftxgpos.c (GPOS_Instance): Add 'first'
1123 member to mark the beginning of a chain of cursive connections.
1125 * pango/opentype/ftxgpos.c (Do_String_Lookup): If the
1126 RIGHT_TO_FLAG flag is set, shift cursive chain up so
1127 last glyph is on the baseline.
1129 Fri Jul 25 22:59:13 2003 Owen Taylor <otaylor@redhat.com>
1131 * pango/opentype/ftx{gpos,gsub}.h pango/opentype/ftxgdef.c:
1132 Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which
1133 allow lookup information to be stored at 32-bit offets
1134 via a double indirection. (From FreeType, Werner Lemberg,
1137 Fri Jul 25 22:25:48 2003 Owen Taylor <otaylor@redhat.com>
1139 * pango/opentype/ftxgsub.c (Lookup_ContextSubst2,
1140 Lookup_ChainContextSubst2): Fix a couple of
1141 places where TTO_Err_Not_Covered wasn't considered
1142 a successful return from Get_Class -- it means
1143 use class index 0. (From FreeType, Werner Lemberg,
1146 Fri Jul 25 20:12:00 2003 Owen Taylor <otaylor@redhat.com>
1148 Improvements to OpenType-dumping code, based on
1149 changes in Qt by Lars Knoll.
1151 * pango/opentype/ottest.c: Tweak the debugging output,
1152 suppress some warnings.
1154 * pango/opentype/disasm.c: Add support for
1155 GSUB Context/Chain GPOS MarkBase lookups, improve
1156 output in various ways.
1158 Fri Jul 25 12:07:21 2003 Owen Taylor <otaylor@redhat.com>
1160 * modules/indic/mprefixups.[ch] modules/indic/indic-ot.[ch]
1161 modules/indic/indic-fc.c: Port pre-base-mantra
1162 fixup code from ICU, as needed for Tamil and Malayalam.
1163 (Based on patch from Sivaraj Doddannan, #111166)
1165 Fri Jul 25 11:06:14 2003 Owen Taylor <otaylor@redhat.com>
1167 * modules/indic/indic-ot.[ch]: Port of some fixes from
1170 "Fixed problems w/ backing off the front of a syllable if
1171 all consonants have post-base form... Fix tag list for base
1172 consonant so that it doesn't have 'pstf'""
1174 Based on patch from Taneem Ahmed (#118297)
1176 2003-07-25 Noah Levitt <nlevitt@columbia.edu>
1178 * docs/tmpl/engines.sgml:
1179 * docs/tmpl/glyphs.sgml:
1180 * docs/tmpl/main.sgml: Get rid of explicit tables detailing the
1181 members of structs, use the automatic things instead. (#117857)
1183 2003-07-25 Sven Neumann <sven@gimp.org>
1185 * pango/pangoft2.c (pango_ft2_render_layout_line): removed
1186 redundant call to pango_layout_line_get_extents() (#116822).
1188 * pango/pangoft2.c (pango_ft2_render): fixed source bitmap offset
1189 for the monochrome case; some code cleanup (#116837).
1191 Thu Jul 24 18:03:32 2003 Owen Taylor <otaylor@redhat.com>
1193 * modules/*/Makefile.am: Remove leftover FRIBIDI_LIBS
1194 reference. (Pointed out by Sven Neumann)
1196 Thu Jul 24 17:06:38 2003 Owen Taylor <otaylor@redhat.com>
1198 * pango/pango-item.c (pango_item_copy/free): Handle
1199 NULL item->analysis.font. (#114576, Morten Welinder)
1201 Thu Jul 24 17:04:21 2003 Owen Taylor <otaylor@redhat.com>
1203 * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
1204 Fix uses of g_assert() around statements with side effects.
1205 (#115498, patch from David Cuthbert)
1207 Thu Jul 24 16:40:12 2003 Owen Taylor <otaylor@redhat.com>
1209 * configure.in tests/runtests.sh.in: Generate
1210 runtest.sh so we can use ECHO_C, ECHO_N, SHELL
1213 Thu Jul 24 15:55:31 2003 Owen Taylor <otaylor@redhat.com>
1215 * configure.in: Clean up checks for usp10.h
1217 * configure.in: Remove configure option for XftConfig
1220 * acconfig.h: Remove, not needed with autoconf-2.5x.
1221 (#114916, Tony Graham)
1223 Thu Jul 24 15:37:16 2003 Owen Taylor <otaylor@redhat.com>
1225 * configure.in pango/Makefile.am pango.pc.in: Remove
1226 vestiges of support for external fribidi library.
1228 Thu Jul 24 15:09:22 2003 Owen Taylor <otaylor@redhat.com>
1230 * configure.in examples/Makefile.am examples/viewer-qt.{cc,h}:
1231 Remove Qt-based example; it was only testing the obsolete
1232 pango-x backend, and was causing more problems for people
1233 trying to configure Pango then it was worth.
1235 * examples/viewer.c: Remove obsolete test case from CVS.
1237 Thu Jul 24 15:02:56 2003 Owen Taylor <otaylor@redhat.com>
1239 * pango/glyphstring.c (pango_glyph_string_get_logical_widths):
1240 Fix up right-to-left case. (Based on patch from
1241 Damon Chaplin, #117325)
1243 Thu Jul 24 14:35:48 2003 Owen Taylor <otaylor@redhat.com>
1245 * pango/pango-utils.c (pango_language_matches): Increment
1246 past the ';' for a list with multiple elements. (#117180,
1249 2003-07-20 Hans Breuer <hans@breuer.org>
1251 * pango/makefile.msc : updated to generate libtool
1252 compatible dll names, define the right PANGO_MODULE_PREFIX,
1253 pangoft2 still not build with msvc
1255 * module/basic-win32.c : some #ifdef's for missing
1256 LANG_* constants to make it compile with msvc50
1258 * pango/pango.def : updated externals
1260 2003-06-25 Matthias Clasen <maclas@gmx.de>
1263 * pango/pango-layout.c:
1264 * pango/pango-tabs.c:
1265 * pango/pango-attributes.c:
1266 * docs/tmpl/layout.sgml:
1267 * docs/tmpl/text-attributes.sgml: Doc markup and typo fixes.
1269 2003-06-17 Matthias Clasen <maclas@gmx.de>
1271 * docs/Makefile.am: Add rule to regenerate man pages from
1273 (man_MANS): Add pango-querymodules.1.
1274 (content_files): Add pangoe-querymodules.xml.
1276 * docs/pango-querymodules.xml: New refentry.
1278 * docs/pango-querymodules.1: Man page generated from the .xml source.
1280 * docs/pango-docs.sgml: Include pango-querymodules.xml.
1282 * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
1283 macros to check for XML catalog contents and path, borrowed from
1286 * configure.in: New option --enable-man to enable regeneration of
1287 man pages from Docbook, if the necessary tools are found.
1289 * docs/pango-docs.sgml: Add an autogenerated index.
1291 2003-06-13 Tor Lillqvist <tml@iki.fi>
1293 * pango-zip.sh.in (DLLDIR): libtool 1.5 installs DLLs in the bin
1294 directory, so look there, too. Include the gtk-doc directory.
1296 Thu Jun 5 14:53:40 2003 Owen Taylor <otaylor@redhat.com>
1298 * pango/pango-layout.c (pango_layout_move_cursor_visually):
1299 Fix bug in determining when we cross line boundaries.
1300 (#103421, Matthias Clasen)
1302 Wed Jun 4 14:32:47 2003 Owen Taylor <otaylor@redhat.com>
1304 * pango/glyphstring.c (pango_glyph_string_extents_range):
1305 Improve handling of empty ink rectangles; rework for
1306 simplicity. (#103662)
1308 2003-06-04 Tor Lillqvist <tml@iki.fi>
1310 * modules/thai/thai-x.c: Need config.h here, too, for
1311 HAVE_X. Thanks to Patrick Welche.
1313 Mon Jun 2 10:43:15 PDT 2003 Keith Packard <keithp@keithp.com
1315 * pango/pangoxft-font.c (pango_xft_font_real_get_kerning):
1316 was returning with FT_Face locked. (#114226)
1318 Mon Jun 2 12:10:11 2003 Owen Taylor <otaylor@redhat.com>
1320 * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs):
1321 Don't put statements with side-effects inside g_assert()!
1322 (#114137, Jeff Waugh)
1324 2003-05-30 Tor Lillqvist <tml@iki.fi>
1326 * pango/pangoft2.def: Add pango_ft2_font_map_set_default_substitute.
1328 Thu May 29 20:05:45 2003 Owen Taylor <otaylor@redhat.com>
1330 * pango/pango-glyph-item.c: Fix a stupid bug in the
1333 Thu May 29 18:49:00 2003 Owen Taylor <otaylor@redhat.com>
1335 * modules/indic/indic-fc.c: Use the correct tags at
1336 the GPOS stage, taking into account changes during
1337 the GSUB stage. (#112433)
1339 Thu May 29 18:37:58 2003 Owen Taylor <otaylor@redhat.com>
1341 * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs):
1342 When applying attribute to a glyph item, handle attributes
1343 that split clusters by giving the cluster all the attributes
1344 that apply to it. (Previously caused a crash, #104976
1345 Taneem Ahmed, Sunil Mohan Adapa)
1347 2003-05-29 Tor Lillqvist <tml@iki.fi>
1349 * acconfig.h: Add HAVE_X.
1351 * configure.in: Set HAVE_X.
1353 * modules/thai/thai-shaper.h: Don't include pangox.h unless
1354 HAVE_X. Also leave out the PangoXSubfont field unless HAVE_X.
1356 * modules/hangul/Makefile.am
1357 * modules/indic/Makefile.am
1358 * modules/thai/Makefile.am: Use -no-undefined on Windows.
1360 * modules/thai/thai-shaper.c: Include config.h for HAVE_X.
1362 * README.win32: Some minor edits.
1364 * pango/pango.def: Add pango_fc_* entries.
1366 * pango/pangoft2.def: Add some missing entries.
1368 Wed May 28 17:43:16 2003 Owen Taylor <otaylor@redhat.com>
1370 (#107630, Federic Zhang)
1372 * tools/compress-table.pl (convert): Make read the
1375 * tools/make-table.pl: Remove.
1377 2003-05-28 Sven Neumann <sven@gimp.org>
1379 * pango/pangoft2.c (pango_ft2_render): added support for rise,
1380 strikethru and shape attributes. (#109900).
1382 Tue May 27 18:37:44 2003 Owen Taylor <otaylor@redhat.com>
1384 * pango/mini-fribidi/fribidi.c (fribidi_analyse_string):
1385 Limit the size of the buffers we alloca(). (#104328)
1387 Tue May 27 16:51:32 2003 Owen Taylor <otaylor@redhat.com>
1389 * configure.in: Clean up so that tests for Xft/FreeType
1390 are only run when we find fontconfig. (#112027,
1393 * README: Rewrite the text about fontconfig dependencies
1394 to be clearer and not to have stale links to
1395 http://keithp.com/fonts/. (#112027, Tim Mooney)
1397 Tue May 27 16:06:34 2003 Owen Taylor <otaylor@redhat.com>
1399 * pango/pangox.c (pango_x_render): Patch from Morten
1400 Welinder to collect characters into runs of the
1401 same font with natural offsets before drawing them.
1402 (#106892, Morten Welinder)
1404 Tue May 27 15:01:24 2003 Owen Taylor <otaylor@redhat.com>
1406 * pango/pangoxft-font.c (pango_xft_font_get_metrics):
1407 Get the fontnmap for the right screen (#113452,
1410 Tue May 27 12:36:50 2003 Owen Taylor <otaylor@redhat.com>
1412 * configure.in: Fix typo for FreeType dependencies
1413 in the enable_explicit_deps case. (#113333, James Su)
1415 Tue May 27 12:32:43 2003 Owen Taylor <otaylor@redhat.com>
1417 * pango/pango-context.c (pango_context_new)
1418 pango/pango-layout.c (pango_context_new)
1419 pango/pango-win32.c (pango_win32_font_map_for_display)
1420 pango/pangox-fontmap.c (pango_x_font_map_for_display)
1421 pango/pangox.c (pango_x_font_new): Use g_object_new()
1422 rather than g_type_create_instance() (Patch from
1423 Benjamin Otte, #112786)
1425 Tue May 27 12:19:53 2003 Owen Taylor <otaylor@redhat.com>
1427 * examples/pangoft2topgm.c (main): Add code to check
1428 for "./pangorc" so that it works uninstalled.
1430 Fri May 2 17:20:23 2003 Owen Taylor <otaylor@redhat.com>
1432 * pango/mapping.c (pango_glyph_string_x_to_index):
1433 Fix some incorrect edge cases for RTL text.
1434 (#102952, Padraig O'Briain)
1436 Fri May 2 14:21:20 2003 Owen Taylor <otaylor@redhat.com>
1438 * pango/pango-layout.c (update_run): Fix a harmless
1439 uninitialized memory read. (#109625, Rich Burridge)
1441 Wed Apr 30 16:46:52 2003 Owen Taylor <otaylor@redhat.com>
1443 * pango/fonts.c (pango_font_description_hash): Hash
1444 case insensitively (#106942, Morten Welinder)
1446 Tue Apr 29 18:02:31 2003 Owen Taylor <otaylor@redhat.com>
1448 * configure.in: Add the fonconfig cflags/libs to
1449 FREETYPE_CFLAGS/LIBS. (#111326, Noah Levitt)
1451 * {pango,tests,examples}/Makefile.am: Remove now
1452 unnecessary references to FONTCONFIG_CFLAGS/LIBS.
1454 Thu Apr 24 19:12:05 2003 Owen Taylor <otaylor@redhat.com>
1456 * autogen.sh (have_libtool): Accept libtool-1.5. (#111482)
1458 2003-04-23 Matthias Clasen <maclas@gmx.de>
1460 * docs/tmpl/glyphs.sgml: Remove outdated information about PangoGlyph.
1462 Wed Apr 16 03:46:42 2003 Owen Taylor <otaylor@redhat.com>
1464 * pango/opentype/pango-ot-info.c (synthesize_class_def):
1465 More careful handling of face->charmap; if is NULL,
1466 try to set a unicode charmap, if that doesn't succeed,
1467 return. (Hopefully fixes #106550)
1469 Tue Apr 15 11:49:39 2003 Owen Taylor <otaylor@redhat.com>
1471 * pango/opentype/ftxg{sub/pos}.c: When loading
1472 in Load_Chain{Sub,Pos}ClassRule, the limit we
1473 have only applies to the input ClassDef table.
1474 Fixes problem with Arial Unicode. Much help from
1475 Noah Levitt in tracing this down.
1477 Tue Apr 15 09:19:21 2003 Owen Taylor <otaylor@redhat.com>
1479 * pango/fonts.c (pango_font_description_set_family):
1480 Free the right string.
1482 Tue Apr 15 07:03:19 2003 Owen Taylor <otaylor@redhat.com>
1484 * pango/pangofc-font.h: Always include freetype.h
1485 even when not ENABLE_ENGINE | ENABLE_BACKEND.
1487 Tue Apr 15 06:57:02 2003 Owen Taylor <otaylor@redhat.com>
1489 * pango/opentype/ftxgpos.c: Fix mispelled constant
1492 Tue Apr 15 06:03:39 2003 Owen Taylor <otaylor@redhat.com>
1494 * pango/opentype/ftxgpos.c: Fix confusion between
1495 boolean and FT_Error return. (#108358, Noah Levitt)
1497 * pango/opentype/ftxopen.c (Get_Class1): index is
1498 allowed to be NULL. (#108358, Noah Levitt)
1500 Tue Apr 15 05:47:35 2003 Owen Taylor <otaylor@redhat.com>
1502 * configure.in: Don't look for Xft unless we found
1505 Tue Apr 15 05:34:05 2003 Owen Taylor <otaylor@redhat.com>
1507 * pango/fonts.c (pango_font_description_set_family):
1508 Switch around the code so that
1509 pango_font_description_set_family (desc,
1510 pango_font_description_set_family (desc))
1511 in the case where desc->static_family is TRUE.
1512 (#106964, Morten Welinder)
1514 Tue Apr 15 05:13:56 2003 Owen Taylor <otaylor@redhat.com>
1516 * configure.in: Avoid complex quoting mess that
1517 didn't work with all shells. (#108001)
1519 Tue Apr 15 05:00:39 2003 Owen Taylor <otaylor@redhat.com>
1521 * pango/opentype/pango-ot-info.c (synthesize_class_def):
1522 Fix infinite loop in the case where the charmap contains
1523 a character > 65535. (#106550, Morten Welinder.)
1525 Tue Apr 15 04:53:56 2003 Owen Taylor <otaylor@redhat.com>
1527 * modules/indic/indic-ot.h (enum): Cast some enumeration
1528 members that are bigger than signed integers to (int) to fix
1529 warning on AIX. (#107924)
1531 Tue Apr 15 04:39:48 2003 Owen Taylor <otaylor@redhat.com>
1533 * pango/pango-coverage.c (pango_coverage_set): Fix
1534 off-by-one error. (#108620, Noah Levitt)
1536 Tue Apr 15 03:54:01 2003 Owen Taylor <otaylor@redhat.com>
1538 * modules/hangul/hangul-{x,fc}.c: Fix out-of-bounds read
1539 where the value wasn't actually used. (#106744, Morten Welinder)
1541 Tue Apr 15 03:47:37 2003 Owen Taylor <otaylor@redhat.com>
1543 * pango/pango-attributes.c (pango_attr_iterator_next): Return
1544 FALSE, not -1 in g_return_val_if_fail(). (#107666, Morten
1547 Tue Apr 15 00:07:21 2003 Owen Taylor <otaylor@redhat.com>
1549 * pango/pangoft2.[ch]: Fix some stupid type registration/
1550 class size problems from last commit.
1552 Mon Apr 14 06:02:34 2003 Owen Taylor <otaylor@redhat.com>
1554 * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}:
1556 * modules/*/*-{xft,x,win32.c} pango/pango-engine.h
1557 modules/*/Makefile.am: Switch over the way that
1558 module entry points work, taking advantage of the
1559 new automake capability for per-target CFLAGS for
1562 * pango/pangofc-font.[ch] pango/pangoxft-font.c
1563 pango/pangoft2.c: Add a base class for
1564 PangoXft and PangoFT2 font classes so code can
1565 be shared between FT2 and Xft backends.
1567 * configure.in modules/*/Makefile.am
1568 modules/{arabic,basic,hangul,hebrew,indic,thai}: Move
1569 *-xft.c to *-fc.c and share between Xft and FT2 backends;
1570 adds FT2 backend capabilities for hangul/indic/thai.
1572 * pango/pangoxft.h pango/pangoft2.h: Deprecate
1573 APIs that moved into PangoFcFont
1575 * modules/basic/basic-fc.c (set_glyph): Add kerning
1576 handling from FT2 backend.
1578 2003-04-03 Sven Neumann <sven@gimp.org>
1580 * pango/pangoft2.c (pango_ft2_font_get_face)
1581 (pango_ft2_font_render_glyph): disable antialiasing if requested.
1584 * pango/pangoft2.c (pango_ft2_render): fixed rendering of
1587 2003-04-02 Sven Neumann <sven@gimp.org>
1589 * pango/pangoft2.c (pango_ft2_render_layout)
1590 * pango/pangowin32.c (pango_win32_render_layout)
1591 * pango/pangox.c (pango_x_render_layout): use a PangoLayoutIter to
1592 iterate over the lines and let render_layout_line() do the actual
1593 rendering. Fixes bug #105292.
1595 2003-03-28 Sven Neumann <sven@gimp.org>
1597 * pango/pangoft2-fontmap.c
1598 * pango/pangoxft-fontmap.c: fixed typos in inline docs.
1600 2003-03-09 James Henstridge <james@daa.com.au>
1602 * autogen.sh: make similar changes to the ones on glib head (call
1605 * configure.in: move some calculations into M4 macros, rather than
1606 calculating them when configure runs.
1607 Use AC_HELP_STRING where appropriate.
1608 Replace gtk-doc checks with a call to GTK_DOC_CHECK.
1609 Replace AC_OUTPUT_COMMANDS() call with a number of calls to
1610 AC_CONFIG_COMMANDS (once per created file).
1611 Get rid of the "chmod +x pango-config" bit, because there is no
1612 pango-config anymore.
1614 * Makefile.am: get rid of custom distcheck rule, and set
1615 DISTCHECK_CONFIGURE_FLAGS, which is equivalent.
1616 Use += to select which .pc files to install.
1618 * pango/Makefile.am: Add rules to rebuild module-defs* files, and
1619 remove them on clean.
1620 Reorder so that rules related to each individual library are next
1622 Use BUILT_SOURCES for built sources.
1624 * pango/opentype/Makefile.am: don't use STRIP_BEGIN/STRIP_END.
1626 * modules/*/Makefile.am: simplify module makefiles through use of
1627 +=, and regularise them a bit (fixed a few bugs in the process).
1629 * docs/Makefile.am: remove common rules, and instead include
1632 * examples/Makefile.am: add pango.modules to CLEANFILES.
1634 * tests/Makefile.am: remove temporary files on clean.
1636 Mon Feb 17 13:06:39 2003 Owen Taylor <otaylor@redhat.com>
1638 * configure.in **/Makefile.am: Add an --enable-debug
1639 configure argument defaulting to 'yes' for unstable
1640 releases and 'minimum' for stable releases.
1641 For minimum, -DG_DISABLE_CAST_CHECKS.
1643 * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c
1644 pango/pangoxft-fontmap.c: Add caching of fontsets
1645 (#104495, initial patch and review by Soeren Sandmann)
1647 * pango/pangofc-fontmap.cI pango/pangoft2-fontmap.c
1648 pango/pangoxft-fontmap.c pango/pangoft2-private.h
1649 pango/pangoxft-private.h: Remove cache of recently freed
1650 fonts; not necessary now that we cache fontsets.
1652 * pango/pangofc-fontmap.cI (pango_fc_pattern_set_free):
1653 Rename from pango_fc_font_set_free to reflect
1654 what it actually does.
1656 * pango/pangofc-fontmap.cI pango/pangoft-fontmap.c
1657 pango/pangoxft-fontmap.c: Combine clear-the-cache
1658 functions; we didn't need separate clear-the-font-cache
1659 and clear-the-pattern-cache functions.
1661 Sun Feb 16 09:10:12 2003 Chema Celorio <chema@celorio.com>
1663 * pango/pangoft2.c (pango_ft2_render_layout): fix a typo
1664 in the @bitmap argument description. s/line/layout
1666 Wed Feb 12 17:20:15 2003 Owen Taylor <otaylor@redhat.com>
1668 * configure.in: Simplify 'test x$have_x != xfalse'
1671 Wed Feb 12 17:17:12 2003 Owen Taylor <otaylor@redhat.com>
1673 * configure.in: If --without-x is specified, don't
1674 try to build Xft backend either. (#105210, patch
1677 Wed Feb 12 17:09:00 2003 Owen Taylor <otaylor@redhat.com>
1679 * pango/pango-context.c: Fix bug where language
1680 tag changes were not causing the font to be
1681 looked up again. (bugzilla.redhat.com #84034)
1683 Wed Feb 12 16:59:23 2003 Owen Taylor <otaylor@redhat.com>
1685 * configure.in pango/opentype/fterrcompat.h README:
1686 Up the FreeType version requirement to 2.0.9.
1687 (2.2.1 had a compilation failure with older versions,
1688 this catches it more cleanly, and removes some unneeded
1689 checks. #105302, problem reported by Will Partain.)
1691 Wed Feb 12 16:48:46 2003 Owen Taylor <otaylor@redhat.com>
1693 * pango/pango-layout.c (pango_layout_set_text):
1695 pango_layout_set_text (pango_layout_get_text (layout));
1696 (#105612, Morten Welinder)
1698 Wed Feb 12 16:44:05 2003 Owen Taylor <otaylor@redhat.com>
1700 * examples/viewer-qt.cc: Remove call to
1701 QApplication::setStyle (new QCDEStyle())... didn't
1702 make sense and caused problems if CDEStyle wasn't
1703 compiled into Qt. (#105264, Andrey Panov)
1705 Wed Feb 12 16:41:03 2003 Owen Taylor <otaylor@redhat.com>
1707 * modules/hangul/Makefile.am (libpango_hangul_x_la_SOURCES):
1708 Fix typo where xft_sources was used again. (#105219,
1711 Thu Jan 30 16:41:46 2003 Owen Taylor <otaylor@redhat.com>
1713 * Makefile.am (EXTRA_DIST): Remove spec.spec.in from
1714 EXTRA_DIST, and from dist rules. (#102231)
1716 * configure.in: Don't generate pango.spec.
1718 Tue Jan 28 18:20:45 2003 Owen Taylor <otaylor@redhat.com>
1720 * pango/pango-coverage.c (pango_coverage_set/get): Fix
1721 an off-by-one error when checking if are off the end
1722 of the coverage array. (#102284, Morten Welinder.)
1724 * pango/pango-coverage.c (pango_coverage_get/set): Add
1725 g_return_if_fail for index >= 0.
1727 2003-01-29 Tor Lillqvist <tml@iki.fi>
1729 * pango/pangowin32.c (pango_win32_font_calc_coverage): Break out
1730 of loop if char is 0xFFFF. Some fonts have tables terminated like
1733 Tue Jan 28 15:18:24 2003 Owen Taylor <otaylor@redhat.com>
1735 * autogen.sh (have_automake): Fix version in complaint
1736 message about automake. (#104366, Rich Burridge)
1738 2003-01-20 Sven Neumann <sven@gimp.org>
1740 * configure.in: fixed configure output which was wrong in case
1741 freetype is available but fontconfig isn't (bug #103917).
1743 2003-01-17 Padraig O'Briain <padraig.obriain@sun.com>
1745 * pango/fonts.c (pango_font_description_from_string): Avoid crash
1746 with string such as " 12" (bug #103674)
1748 Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com>
1750 * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table
1751 to create an empty GDEF table.
1753 * pango/opentype/pango-ot-info.c: If the font doesn't
1754 have a class definition table, synthesize one using
1755 the charmap and the unicode properties of characters
1756 in the charmap. (Needed to make things work with various
1757 old Arabic fonts, such as the KACST fonts)
1762 vim: encoding=utf-8: