Fix severe security issues
[external/pango1.0.git] / ChangeLog.pre-1-6
1 Mon Sep 13 17:38:58 2004  Owen Taylor  <otaylor@redhat.com>
2
3         * === Released 1.6.0 ===
4
5         * configure.in: Update versions for 1.6.0 
6
7         * NEWS: Update.
8
9         * README: Minor tweak.
10
11         * pango/fonts.c pango/pango-context.c pango/pango-types.h
12         pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
13         pango/opentype/pango-ot-buffer.c: Add a bunch of missing
14         Since: 1.6.
15         
16 Mon Aug 16 14:17:56 2004  Owen Taylor  <otaylor@redhat.com>
17
18         * examples/renderdemo.c (fc_substitute_func): Fix reversed
19         auto-hint option.
20
21 2004-08-26  Tor Lillqvist  <tml@iki.fi>
22
23         * pango/pangoft2.def: Add pango_ot_buffer_set_zero_width_marks,
24         again.
25
26         * pango/Makefile.am: Don't use -lm on Windows.
27         (pangoinclude_HEADERS): Put them on one line, automake 1.8 (at
28         least on Windows) otherwise drops the backslashes but still
29         outputs separate lines.
30
31 2004-08-26  Dov Grobgeld  <dov.grobgeld@weizmann.ac.il>
32
33         * modules/hebrew/hebrew-fc.c (hebrew_engine_shape): Added 
34         open-type support for Hebrew.
35
36 2004-08-22  Tor Lillqvist  <tml@iki.fi>
37
38         * pango/pangowin32-fontmap.c (pango_win32_inner_enum_proc): Ignore
39         synthetic vertical writing versions of East Asian fonts. (#145322,
40         John Ehresman)
41
42 Mon Aug 16 13:58:04 2004  Owen Taylor  <otaylor@redhat.com>
43
44         * examples/renderdemo.[ch] examples/pangoft2topgm.c:
45         add a --hinting command line flag.
46
47 Mon Aug 16 13:42:38 2004  Owen Taylor  <otaylor@redhat.com>
48
49         * pango/pango-ot.h (struct _PangoOTGlyph): Sync with
50         change to OTL_GlyphItemRec.
51         (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129982,
52         Jatin Nansi)
53
54 Tue Aug 10 11:51:10 2004  Owen Taylor  <otaylor@redhat.com>
55
56         * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix 
57         bug where cluster was getting set to 0 for non-spacing
58         marks rather than to the cluster of the base character.
59         (#149126, Behdad Esfahbod)
60
61 2004-08-06  Hans Breuer  <hans@breuer.org>
62
63         * pango/pango.def pango/pangoft2.def pango/pangowin32.def
64           pango/makefile.msc : updated
65
66         * pango/pangofc-decoder.c : static the pango_fc_decoder_*init
67         implementations
68
69         * pango/pangowin32.c : remove the duplicated, empty implementation
70         of pango_win32_font_init(), also replace parent_class variable
71         with pango_win32_font_parent_class as defined by G_DEFINE_TYPE
72
73         * modules/basic/basic-win32.c : implement basic_engine_covers
74
75         * pango/testfonts.c : iterate three common font names as was
76         intended orginally and said in the comment for years
77
78 2004-08-06  Tor Lillqvist  <tml@iki.fi>
79
80         * pango/pangowin32-fontmap.c: Typedef PangoWin32FontMapClass.
81
82         (pango_win32_font_map_class_init): Match what G_DEFINE_TYPE
83         generates.
84
85 2004-08-05  Tor Lillqvist  <tml@iki.fi>
86
87         * pango/pangoft2.def: Add pango_ot_buffer_set_zero_width_marks.
88
89 Mon Aug  2 17:09:47 2004  Owen Taylor  <otaylor@redhat.com>
90
91         * === Released 1.5.2 ==
92
93         * configure.in: Version 1.5.2
94
95         * NEWS: Updates
96
97 Mon Aug  2 17:00:19 2004  Owen Taylor  <otaylor@redhat.com>
98
99         * modules/indic/indic-fc.c modules/indic/indic-ot.[ch]:
100         Add support for 'init' feature for Bengali. 
101         (#130966, Sayamindu Dasgupta)
102
103 Fri Jul 30 17:17:05 2004  Owen Taylor  <otaylor@redhat.com>
104
105         * pango/opentype/ftxgpos.[ch] pango/opentype/ftxgsub.[ch]
106         pango/opentype/ftxopen.[ch]: Finish extending properties
107         flags from FT_UShort => FT_UInt. (OTLBuffer was already
108         using an FT_UInt)
109
110 Fri Jul 30 14:05:25 2004  Owen Taylor  <otaylor@redhat.com>
111
112         Improve handling of decomposed two-part vowels 
113         (#121882, Jungshik Shin)
114
115         * modules/indic/indic-ot-class-tables.c (stateTable): 
116         allow a dependent vowel to be followed by another 
117         dependent vowel.
118
119         * modules/indic/indic-ot.c (indic_ot_reorder): Handle
120         multiple vowel matras.
121
122 Fri Jul 30 13:33:49 2004  Owen Taylor  <otaylor@redhat.com>
123
124         * modules/indic/indic-ot.c (indic_ot_reorder): Suppress
125         blwf on the first consonant in a syllable. (#118301,
126         Taneem Ahmed)
127
128 Thu Jul 29 16:10:06 2004  Owen Taylor  <otaylor@redhat.com>
129
130         Fix Malayalam double-consonant conjuncts: #121671, Rajkumar S
131
132         * modules/indic/indic-ot.[ch]: Add a new feature
133         set pstf_p and use it for post-base consonants, since
134         the existing nukt_p suppressed the pstf feature.
135         (#121671, Rajkumar S)
136
137         * modules/indic/indic-ot-class-tables.c (mlymCharClasses):
138         make U+D2F (MALAYALAM LETTER YA) _pb not _ct.
139
140         * modules/indic/indic-ot-class-tables.c (mlymCharClasses):
141         Classify U/UU/VOCALIC R as _dr not _db since they should
142         be ordered after post-base consonants.
143
144 Wed Jul 28 17:00:23 2004  Owen Taylor  <otaylor@redhat.com>
145
146         * modules/indic/mprefixups.c (indic_mprefixups_apply): 
147         Check glyphs[mpreLimit] not glyphs[mpreIndex]. (Found
148         by Chris Blizzard)
149
150 Wed Jul 28 09:49:29 2004  Owen Taylor  <otaylor@redhat.com>
151
152         * pango/pango-layout.c (pango_layout_set_ellipsize): Fix
153         API docs. (#148627, Keith Sharp)
154
155 Tue Jul 27 14:07:44 2004  Behdad Esfahbod  <pango@behdad.org>
156
157         * modules/arabic/arabic-fc.c: Don't substitute FARSI YEH
158         with ARABIC YEH if the font does not have any ARABIC YEH.
159
160 Tue Jul 27 12:38:05 2004  Owen Taylor  <otaylor@redhat.com>
161
162         * pango/opentype/ftxopen.[ch] pango/opentype/ftxgsub.c
163         pango/opentype/ftxpos.c: Save the order in which
164         features were added and use that when applying features.
165         (Patch from Soheil Hassas Yeganeh, #122330)
166
167 Tue Jul 27 09:11:40 2004  Behdad Esfahbod  <pango@behdad.org>
168
169         * pango/opentype/ftxgpos.c: Remove the unused parameter
170         from the IN_CURITEM() and IN_CURGLYPH macros.
171
172 Tue Jul 27 06:35:25 2004  Behdad Esfahbod  <pango@behdad.org>
173
174         * pango/opentype/otlbuffer.c (otl_buffer_copy_output_glyph):
175         Fix bug to copy glyph from in_string, not out_string.
176
177 Mon Jul 26 19:11:46 2004  Owen Taylor  <otaylor@redhat.com>
178
179         * pango/opentype/ftxgdef.c: Fix allocation and indexing
180         in NewGlyphClasses array. (#130661, Masatake YAMATO)
181
182 Mon Jul 26 15:55:03 2004  Owen Taylor  <otaylor@redhat.com>
183
184         * pango/pangoxft-font.c (get_glyph_extents_missing): 
185         mini_width/height are still (before render patch) in 
186         pixels, not Pango units.
187
188 Mon Jul 26 15:24:11 2004  Owen Taylor  <otaylor@redhat.com>
189
190         * pango/opentype/ftxgsub.c (ADD_Glyph): Remove the
191         unused parameter from the IN_CURITEM() and IN_CURGLYPH
192         macros.
193
194 Mon Jul 26 15:21:23 2004  Owen Taylor  <otaylor@redhat.com>
195
196         * pango/opentype/ftxgsub.c: Add missing macro to make the 
197         last change actually compile.
198
199 Mon Jul 26 15:16:07 2004  Owen Taylor  <otaylor@redhat.com>
200
201         * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst[123]):
202         Match backtrack context against the output glyphs not
203         the input glyphs (#145174, Aamir Wali)
204
205 Mon Jul 26 14:49:22 2004  Owen Taylor  <otaylor@redhat.com>
206
207         * ftxgdef.[ch] otlbuffer.[ch]: Make Check_Property() take a 
208         OTL_GlyphItem, add a gproperties field to OTLGlyphItem,
209         and use that to cache the properties for a glyph.
210
211         * ftxgsub.c ftxgdef.c: Adapt to Check_Property() changes.
212
213         * otlbuffer.[ch] ftxgsub.c: Add otl_buffer_copy_output_glyph()
214         to use when we are copying an unmodified glyph from input
215         to output that preserves the cached properties.
216
217 2004-07-23  Morten Welinder  <terra@gnome.org>
218
219         * examples/renderdemo.c (parse_ellipsis): Fix C99ism.  I am clearly
220         the last man stuck in the dark age of C.
221
222 Tue Jul 20 12:10:42 2004  Owen Taylor  <otaylor@redhat.com>
223
224         * pango/pango-script.c (pango_language_includes_script): 
225         return TRUE for PANGO_SCRIPT_COMMON and PANGO_SCRIPT_INHERITED.
226
227 Mon Jul 19 16:48:23 2004  Owen Taylor  <otaylor@redhat.com>
228
229         * === Released 1.5.1 ===
230
231         * configure.in: Pango 1.5.1
232
233         * NEWS: Updates
234
235 Mon Jul 19 17:09:11 2004  Owen Taylor  <otaylor@redhat.com>
236
237         * pango/opentype/disasm.c: Add support for 
238         ChainContextSubstFormat3.
239
240 Mon Jul 19 16:29:45 2004  Owen Taylor  <otaylor@redhat.com>
241
242         * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
243         Fix pervasive buffer overruns when skipping glyphs
244         when matching contexts. (#118592, Kailash C. Chowksey)
245
246 Fri Jul 16 10:29:40 2004  Owen Taylor  <otaylor@redhat.com>
247
248         * pango/pangofc-font.c pango/pangofc-private.h 
249         (pango_fc_font_get_raw_extents): Need to export this 
250         function as a symbol if not in the header file since 
251         it is used by PangoXft.
252
253 Fri Jul 16 07:43:04 2004  Owen Taylor  <otaylor@redhat.com>
254
255         #143601: Felipe Heidrich
256
257         * pango/pango-layout.c (pango_layout_line_x_to_index): 
258         Go into painful detail about the behavior for X positions
259         outside the line.
260
261         * pango/pango-layout.c (pango_layout_xy_to_index):
262         Add some more details about handling of positions
263         outside the layout, reference
264         pango_layout_line_x_to_index().
265
266 Thu Jul 15 10:48:01 2004  Owen Taylor  <otaylor@redhat.com>
267
268         * pango/pangofc-font.c (pango_fc_font_get_glyph): Replace
269         non-breaking-space with a normal space before looking it up.
270         (Inspired by http://bugzilla.ximian.com/show_bug.cgi?id=60549)
271
272 Wed Jul 14 17:47:38 2004  Owen Taylor  <otaylor@redhat.com>
273
274         * pango/pango-layout.[ch] pango/ellipsize.c pango/Makefile.am:
275         Add PangoEllipsizeMode, pango_layout_set_ellipsize(), implement.
276         (#59071)
277
278         * pango/pango-layout-private.h pango/pango-layout.c:
279         Move PangoLayout structure into a separate header file.
280
281         * pango/pango-glyph-item.[ch]: Add pango_glyph_item_free().
282
283         * pango/pango-glyph-item-private.h pango/pango-glyph-item.c:
284         Internally export the PangoGlyphItemIter functionality.
285
286         * examples/renderdemo.[ch]: Add --ellipsize option.
287
288 Wed Jul 14 17:42:49 2004  Owen Taylor  <otaylor@redhat.com>
289
290         * pango/pango-script.c (pango_language_includes_script): 
291         Fix problem when we only figured out latin script for 'en'
292         not for 'en-us'. Fix reversed arguments to bsearch.
293
294 Tue Jul 13 16:23:15 2004  Owen Taylor  <otaylor@redhat.com>
295
296         * pango/pango-types.h pango/pango-utils.c
297         docs/pango-sections.txt: Add a GType for PangoMatrix
298         (#145532, Torsten Schoenfeld)
299
300 Tue Jul 13 14:12:06 2004  Owen Taylor  <otaylor@redhat.com>
301
302         * pango/pangoft2-render.c (compare_points): Make
303         static. (#147512, Morten Welinder)
304
305 Tue Jul 13 10:07:44 2004  Owen Taylor  <otaylor@redhat.com>
306         
307         * pango/Makefile.am: Reverse order of pangoft2/pangoxft
308         in Makefile; apparently automake doesn't figure out
309         the correct installation order. (#146472)
310         
311 Tue Jul 13 10:02:53 2004  Owen Taylor  <otaylor@redhat.com>
312
313         * pango/pango-utils.c (pango_language_get_sample_string):
314         Make table constant. (#145515, Morten Welinder)
315
316 2004-07-12  Morten Welinder  <terra@gnome.org>
317
318         * pango/pangoxft-font.c (get_glyph_extents_xft): Fix C99ism.
319         (#147415, self.)
320
321 2004-07-12  Changwoo Ryu  <cwryu@debian.org>
322
323         * modules/hangul/hangul-fc.c (render_basic): Render U+00A0
324         (non-break-space) as a space.
325
326 Sat Jul 10 18:06:21 2004  Owen Taylor  <otaylor@redhat.com>
327
328         * examples/renderdemo.[ch] examples/Makefile.am
329         examples/pangoft2topgm.c: Split most of the guts
330         of pangoft2topgm.c into separate source files
331         to allow creation of new rendering demos for 
332         different backends.
333
334 Sat Jul 10 18:03:58 2004  Owen Taylor  <otaylor@redhat.com>
335
336         * pango/pangofc-fontmap.c (pango_fc_font_map_new_font): 
337         Const-ification fix.
338
339 Sat Jul 10 17:55:03 2004  Owen Taylor  <otaylor@redhat.com>
340
341         * pango/pango-types.h pango/pango-utils.c (pango_matrix_concat):
342         One more constification.
343
344 Sat Jul 10 17:45:05 2004  Owen Taylor  <otaylor@redhat.com>
345
346         * pango/pangoft2-private.h: Add _pango prefix for
347         _pango_ft2_font_get_cache_glyph_data and friends
348         defined only in private header file.
349
350 Sat Jul 10 17:33:38 2004  Owen Taylor  <otaylor@redhat.com>
351
352         * pango/pangoft2-private.h pango/pangoft2-render.c
353         pango/pango-context.[ch] pango/pangoft2.[ch] pango/pango-utils.
354         pango/pango-types.h pango/pangofc-fontmap.c: Make PangoMatrix
355         arguments const where appropriate.
356
357         * pango/pango-context.c pango/fonts.c pango/pangofc-font.c 
358         pangofc-fontmap.c pango/pangoft2.c pango/pangoft2-fontmap.c 
359         pango/pangoxft-font.c pango/pangoxft-fontmap.c 
360         pango/pangowin32-fontmap.c: Use G_DEFINE_TYPE comprehensively.
361
362         * pango/pangoft2-private.h pangoft2.c: Un-staticify
363         pango_ft2_font_get_type.
364
365 Sat Jul 10 16:55:46 2004  Owen Taylor  <otaylor@redhat.com>
366
367         * pango/pangofc-font.h (struct _PangoFcFont): 
368         s/hinted/is_hinted/ s/transform/is_transformed/.
369
370 Sat Jul 10 16:39:44 2004  Owen Taylor  <otaylor@redhat.com>
371
372         * pango/pangofc-font.[ch]: Add hinted/transform flags
373         to the font structure to allow efficient conditionalization
374         of behavior rather than repeatedly extracting the information
375         from the FcPattern.
376
377         * pango/pangofc-font.c pango/pangofc-private.h pango/pangoft2.c:
378         Move the glyph metrics computation into a 
379         _pango_fc_font_get_raw_extents() function that can be
380         shared with the Xft backend.
381
382         * pango/pangoxft.c: When a transform is in effect, don't
383         get glyph extents from Xft ... they are device space
384         and not useful, use _pango_fc_font_get_raw_extents() instead.
385
386 Fri Jul  9 15:23:39 2004  Manish Singh  <yosh@gimp.org>
387
388         * pango/pango-ot.h: Add declaration for pango_ot_buffer_set_rtl.
389
390 2004-07-08  Owen Taylor  <otaylor@redhat.com>
391
392         * pango/break.c: Add missing row for the WORD_JOINER
393         class. (#145833, Billy Biggs)
394
395 Thu Jul  8 15:25:29 2004  Owen Taylor  <otaylor@redhat.com>
396
397         * pango/pango-context.[ch]: Add pango_context_get_font_map()
398
399         * pango/pango-fonts.c pango/pango-fontset.c  pango/pango-context.c: 
400         Some s/PangoMetrics/PangoFontMetrics/ in docs.
401
402         * pango/pango-context.c: Fix problem with unsetting
403         the matrix for a context.
404
405         * pango/pango-types.h: Switch to a much more efficient
406         implementation of PANGO_SCALE.
407
408 2004-07-07  Morten Welinder  <terra@gnome.org>
409
410         * pango/pango-layout.c (process_item): Add letter spacing
411         correction to the last character, not the one just beyond the
412         table.  (#145517, self.)
413
414 Thu Jun 24 14:07:10 2004  Owen Taylor  <otaylor@redhat.com>
415
416         * === Released 1.5.0 ===
417
418         * NEWS: Updated
419
420 Thu Jun 24 13:35:03 2004  Owen Taylor  <otaylor@redhat.com>
421
422         * pango/pango-glyph-item.c (pango_glyph_item_apply_attrs): 
423         Fix double cluster increment.
424
425 Thu Jun 24 00:50:46 2004  Owen Taylor  <otaylor@redhat.com>
426
427         * pango/pango-layout.c (pango_layout_run_get_extents): Fix
428         bug with using wrong uline value.
429
430 Wed Jun 23 17:26:50 2004  Owen Taylor  <otaylor@redhat.com>
431
432         * tests/Makefile.am (pango.modules): Don't generate
433         all-unicode.txt when cross-compiling. (#135503,
434         J. Ali Harlow)
435
436 Wed Jun 23 16:51:51 2004  Owen Taylor  <otaylor@redhat.com>
437
438         * pango/pango-layout.[ch]: Add PANGO_TYPE_LAYOUT_ITER.
439         (#138408, Johan Dahlin)
440
441 Wed Jun 23 16:13:53 2004  Owen Taylor  <otaylor@redhat.com>
442
443         #143693, Sayamindu Dasgupta
444
445         * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h:
446         Allow setting for whether marks should be given zero width,
447         defaulting to FALSE.
448
449         * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn
450         on zero-width-marks setting.
451
452 Wed Jun 23 11:17:51 2004  Owen Taylor  <otaylor@redhat.com>
453
454         * pango/pango-attributes.[ch]: Add new letter_spacing
455         attribute.
456
457         * pango/pango-attributes.c (pango_attr_rise_new): Correct
458         description; rise is in Pango units, not em-relative.
459
460         * pango/pango-glyph-item.c: Break out iteration-over-clusters
461         from ApplyAttrsState into a separate GlyphItemIter.
462
463         * pango/pango-glyph-item.[ch]: New function 
464         pango_glyph_item_letter_space() to add add letter spacing
465         to a single glyph item.
466
467         * pango/pango-markup.c: Add a letter_spacing attribute.
468
469         * pango/pango-layout.c: Use G_DEFINE_TYPE().
470
471         * pango/pango-layout.c (pango_layout_get_item_properties):
472         Switch to use a structure rather than a pile of out
473         parameters.
474
475         * pango/pango-layout.c (pango_run_get_extents): Remove
476         the unused shape_set out parameter.
477
478         * pango/pangofc-decoder.[ch] pango/pangofc-fontmap.[ch]:
479         Doc fixes.
480
481         * pango/pango-types.h: Deprecate pango_get_mirror_char()
482         
483         * pango/pango-utils.c (pango_get_mirror_char): Add docs.
484
485         * docs/pango-sections.txt docs/pango-docs.sgml: Add 
486         PangoFcDecoder and letter spacing.
487         
488 Tue Jun 22 14:10:41 2004  Owen Taylor  <otaylor@redhat.com>
489
490         * pango/break.c: Handle new Unicode-4.0 WORD_JOINER
491         and NEXT_LINE classes. (#143436, Jeroen Zwartepoorte)
492
493         * pango/break.c (pango_default_break): Handle space
494         followed by a combining character as called for by
495         TR 14.
496
497         * tests/testboundaries.c (check_line_char): Fix up
498         for space+combining mark
499         
500         * pango/break.c (pango_default_break): Change fixme
501         for G_UNICODE_BREAK_SURROGATE to g_assert_not_reached().
502         
503 Tue Jun 22 10:39:32 2004  Owen Taylor  <otaylor@redhat.com>
504
505         * pango/pangoft2-render.c (_pango_ft2_draw_error_underline,
506         _pango_ft2_draw_rect): Allow %NULL for @matrix.
507         (#144775, Diego González)
508
509 Mon Jun 21 16:02:04 2004  Owen Taylor  <otaylor@redhat.com>
510
511         #143556, Noah Misch
512
513         * pango/Makefile.am: Add $(no_undefined) when building libpangox,
514         libpangoxft for cygwin builds.
515
516         * modules/basic/Makefile.am (pango_basic_x_la_LDFLAGS):
517         Add $(no_undefined) for basic-x module.
518
519         * pango/Makefile.am: Add $(GLIB_LIBS) for pangox, pangoxft,
520         for benefit of cygwin, AIX, etc.
521         
522 Mon Jun 21 15:26:44 2004  Owen Taylor  <otaylor@redhat.com>
523
524         * pango/pango-context.c (update_attr_iterator): Initialize
525         state->lang from context->language if not otherwise set. 
526         Without doing this, the default language tag was, not 
527         suprisingly, having no effect! (#137334, Frederic Zhang)
528
529         * pango/pango-attributes.c (pango_attr_iterator_get_font): 
530         Fix typo in doc comment.
531
532 Mon Jun 21 14:42:02 2004  Owen Taylor  <otaylor@redhat.com>
533
534         * docs/pango_markup.sgml: use x-large instead of 100
535         in the markup example. (#142355, Doug Quale).
536         Fix the 'size' documentation to say 1024ths rather
537         than 1000ths. Document using font_desc='12.5' instead.
538
539 Mon Jun 21 14:34:34 2004  Owen Taylor  <otaylor@redhat.com>
540
541         #142355, Sven Neumann
542
543         * pango/pangoft2.c (pango_ft2_font_get_face): Mention
544         pango_fc_font_lock/unlock face as the correct
545         replacements.
546
547         * pango/pangofc-font.h: Move lock/unlock_face outside
548         of the #ifdef PANGO_ENABLE_ENGINE.
549
550 Mon Jun 21 14:23:05 2004  Owen Taylor  <otaylor@redhat.com>
551
552         * pango/pango-layout.c (no_shape_filter_func)
553         pango/pango-script.c (get_pair_index): 
554         pango/modules.c (append_engines): Fix 
555         some missing statics. (#142237, Morten Welinder)
556
557         * pango/mini-fribidi/fribidi_types.c: Move
558         fribidi_type_name inside the #ifdef DEBUG.
559
560 Mon Jun 21 13:55:17 2004  Owen Taylor  <otaylor@redhat.com>
561
562         * pango/opentype/otlbuffer.c: Use the gcc-3.3 
563         strict-aliasing compatible macros from fterrcompat.h
564         (#140495, reported by Stanislav Brabec)
565
566 Mon Jun 21 11:47:41 2004  Owen Taylor  <otaylor@redhat.com>
567
568         * configure.in pango.pc.in: Missed commit: add 
569         -lm dependency to pkg-config files.
570
571         * docs/pango-sections.txt: Add PangoMatrix and rotated 
572         rendering functions
573
574 Mon Jun 21 11:41:18 2004  Owen Taylor  <otaylor@redhat.com>
575
576         * pango/pango-attributes.c (pango_attr_list_change): 
577         Fix leak when inserting an empty attributes. (#140771,
578         Morten Welinder)
579
580 Mon Jun 21 11:38:22 2004  Owen Taylor  <otaylor@redhat.com>
581
582         * pango/pango-context.c (pango_context_set_font_map): 
583         Handle setting the same object back. (#143523,
584         Morten Welinder)
585
586 Mon Jun 21 11:35:29 2004  Owen Taylor  <otaylor@redhat.com>
587
588         * pango/pangoft2-fontmap.c (pango_ft2_font_map_new):
589         Revert the last change, assert that initialization
590         succeeded.
591
592 Mon Jun 21 11:29:39 2004  Owen Taylor  <otaylor@redhat.com>
593  
594         * pango/pangoft2-fontmap.c (pango_ft2_font_map_new):
595         For cleanliness, unref the fontmap if we get an error
596         from FreeType. (#143524, Morten Welinder)
597         
598         * pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize): 
599         Deal with NULL ft2fontmap->library.
600  
601 2004-06-17  Christopher Blizzard  <blizzard@redhat.com>
602
603         * pango/pangofc-decoder.c (pango_fc_decoder_get_glyph,
604         pango_fc_decoder_get_charset): Changes to support extra arguments.
605
606         * pango/pangofc-decoder.h (struct _PangoFcDecoderClass): Add the
607         PangoFcDecoder * as the first argument to the callbacks for
608         get_glyph and get_charset.
609
610 Wed Jun  9 17:32:59 2004  Christopher Blizzard  <blizzard@redhat.com>
611
612         * pango/Makefile.am: Add export of pangofc-decoder.h.  Build
613         pangofc-decoder.c.
614
615         * pango/pangofc-decoder.h pango/pangofc-decoder.c: New files.
616         Virtual base class for any custom font decoders.
617
618         * pango/pangofc-font.c: Add new PangoFcFontPrivate structure.
619
620         * pango/pangofc-font.c (pango_fc_font_class_init): Attach new
621         private structure using g_type_class_add_private().
622
623         * pango/pangofc-font.c (pango_fc_font_finalize): Make sure to
624         unset any decoders that are attached to the font.
625
626         * pango/pangofc-font.c (pango_fc_font_get_coverage): When
627         determining coverage, use a custom decoder if available.
628
629         * pango/pangofc-font.c (pango_fc_font_has_char): When determining
630         if a font has a character, use a custom decoder if available.
631
632         * pango/pangofc-font.c (pango_fc_font_get_glyph): When doing
633         single character to glyph convertions, use a custom decoder if
634         available.
635
636         * pango/pangofc-font.c (_pango_fc_font_get_decoder): New
637         function.  Get the custom decoder for the given font.
638
639         * pango/pangofc-font.c (_pango_fc_font_set_decoder): New
640         function.  Set a custom decoder for the given font.
641
642         * pango/pangofc-fontmap.c: Add structure PangoFcFindFuncInfo to
643         keep track of callbacks to create custom decoders.  Modify
644         PangoFcFontMapPrivate by adding a list of PangoFcFontFuncInfo
645         callbacks that have been registered.
646
647         * pango/pangofc-fontmap.c (pango_fc_font_map_add_find_func): New
648         function.  Add callbacks to the fontmap that will create custom
649         decoders when pango creates new fonts.
650
651         * pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Clear out
652         any findfuncs that have been registered and notify them about
653         destruction.
654
655         * pango/pangofc-fontmap.c (pango_fc_font_map_new_font): When
656         creating new fonts, call back to any registered find functions so
657         they can create custom decoders for those fonts.  Attach those
658         custom decoders to the newly created fonts.
659
660         * pango/pangofc-fontmap.c (_pango_fc_font_map_get_coverage):
661         Change the argument to take a PangoFcFont instead of an FcPattern.
662         Call _pango_fc_font_map_fc_to_coverage instead of doing the
663         conversion inline.
664
665         * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): New
666         function.  Convert an FcCharSet to a PangoCoverage object.
667
668         * pango/pangofc-fontmap.h: New declarations for
669         pango_fc_font_map_add_decoder_find_func and
670         PangoFcDecoderFindFunc.
671
672         * pango/pangofc-private.h: New declarations for
673         _pango_fc_font_map_fc_to_coverage, _pango_fc_font_get_decoder and
674         _pango_fc_font_set_decoder.
675
676 Mon Jun  7 2004  Theppitak Karoonboonyanan  <thep@linux.thai.net>
677
678         * modules/thai/Makefile.am modules/thai/thai-shaper.c
679         (thai_engine_shape) +modules/thai/thai-ot.c +modules/thai/thai-ot.h:
680         Add OpenType support in Thai module. (#141541)
681
682 Wed Jun  2 10:07:06 2004  Owen Taylor  <otaylor@redhat.com>
683
684         * pango/pango-types.h (PANGO_MATRIX_INIT): Remove 
685         stray semi-colon. (#143516, Morten Welinder)
686
687 Mon May 31 07:39:01 2004  Owen Taylor  <otaylor@redhat.com>
688
689         * pango/pango-utils.c pango/pango-types.h (pango_matrix_concat): 
690         Fix 'new' as parameter name (C++ compatibility issue).
691         (#143430, David Hawthorne)
692
693 Fri May 28 11:39:39 2004  Owen Taylor  <otaylor@redhat.com>
694
695         * pango/pango-types.h pango/pango-utils.c: Add PangoMatrix
696         type for affine transforms.
697         
698         * configure.in pango.pc.in pango/Makefile.am: Add a -lm
699         dependency for PangoMatrix operations.
700
701         * pango/pango-context.[ch]: Add pango_context_set/get_matrix().
702
703         * pango/pangoft2-render.c pango/pangoft2-private.h: Add
704         code for drawing antialiased transformed rectangles and
705         squiggly error underlines.
706
707         * pango/pangoft2.[ch]: Add pango_ft2_render_transformed(),
708         pango_ft2_render_layout_subpixel(), 
709         pango_ft2_render_layout_line_subpixel(), implement transformed
710         rendering.
711
712         * pango/pangofc-font.c: Pass any transformation matrix on to
713         fontconfig when creating the pattern for a PangoFcFont.
714
715 Fri May 28 2004  Theppitak Karoonboonyanan  <thep@linux.thai.net>
716
717         * pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset
718         according to different conventions between PangoGlyphString and OTL
719         (#142544)
720
721 Thu May 27 17:54:24 2004  Owen Taylor  <otaylor@redhat.com>
722
723         * pango/opentype/otlbuffer.c: Revert error return changes
724         from last commit.
725
726 Thu May 27 16:57:30 2004  Owen Taylor  <otaylor@redhat.com>
727
728         * pango/opentype/otlbuffer.c: Free buffer->positions,
729         clean up error returns that were returning uninitialized
730         values. (#139239, Behdad Esfahbod)
731
732 Thu May 27 15:42:20 2004  Owen Taylor  <otaylor@redhat.com>
733
734         * pango/pangox-fontmap.c pango/pangox.c: Add some missing
735         statics. (#142299, Morten Welinder)
736
737 Thu May 27 15:32:03 2004  Owen Taylor  <otaylor@redhat.com>
738
739         * pango/pango-font.h pango/fonts.c: Add underline and
740         strikethrough position and thickness metrics.
741
742         * pango/pangofc-font.c: Implement underline and strikethrough
743         position and thickness metrics.
744
745         * pango/pango-fontset.c (pango_fontset_real_get_metrics):
746         Initialize metrics from the metrics of the first font
747         in the fontset.
748
749 Thu May 27 15:08:32 2004  Owen Taylor  <otaylor@redhat.com>
750
751         * configure.in: Increment version to 1.5 for devel branch.
752
753 2004-05-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>
754
755         * pango/break.c (pango_break):
756         Fix incorrect casts to get the class object of lang engine. (#141931)
757
758 2004-04-29  Jody Goldberg <jody@gnome.org>
759
760         * pango/pango-layout.c (get_alignment) : only invert if the layout and
761           the context really disagree, not if they are WEAK_LTR vs LTR
762
763 2004-03-11  Jody Goldberg <jody@gnome.org>
764
765         * pango/pango-attributes.h : Add a comment clarifying that
766           PangoAttribute::end_index is _exclusive_.  The range is [start..end)
767           Additionally clarify that that the indicies are in _bytes_ not
768           characters.
769
770 2004-04-29  Tor Lillqvist  <tml@iki.fi>
771
772         * pango/pangowin32-fontmap.c (pango_win32_font_map_for_display):
773         Use floating-point math in resolution calculation. (#141229, John
774         Ehresman)
775
776         * pango/pangowin32-fontmap.c (pango_win32_insert_font): Don't leak
777         family_name. (#140772, John Ehresman)
778
779 2004-04-20  Theppitak Karoonboonyanan  <thep@linux.thai.net>
780
781         * modules/thai/thai-shaper.c (get_adjusted_glyphs_list):
782         * modules/thai/thai-fc.c (tis620_2):
783         Use dottedcircle as the base for individual combining characters.
784
785 2004-04-18  Changwoo Ryu  <cwryu@debian.org>
786
787         * modules/hangul/hangul-defs.h (IS_JAMO): 
788         * modules/hangul/hangul-fc.c (hangul_engine_shape, render_basic):
789         handle non-Hangul unicode chars, fixes #129741, #137347.
790
791 2004-04-05  Anders Carlsson  <andersca@gnome.org>
792
793         * examples/argcontext.c (arg_context_parse): 
794         Handle '--' correctly.
795
796 Local Variables:
797 coding: utf-8
798 End:
799 vim: encoding=utf-8: