Git init
[external/pango1.0.git] / ChangeLog.pre-1-14
1 2006-08-08  Behdad Esfahbod  <behdad@gnome.org>
2
3         * === Released 1.14.0 ===
4
5         * configure.in: Version 1.14.0
6         * configure.in: Require cairo-1.2.2 for the bugfixes it has
7
8         * NEWS: Updated.
9
10 2006-08-01  Behdad Esfahbod  <behdad@gnome.org>
11
12         * examples/renderdemo.c (parse_options): Don't ignore all trailing
13         whitespace in input text.  Only chop one newline.
14
15         * examples/viewer-main.c (main): setlocale(LC_ALL, "") to get GOption
16         work for UTF-8 text on the command line.
17
18 2006-07-31  Behdad Esfahbod  <behdad@gnome.org>
19
20         * === Released 1.13.5 ===
21
22         * configure.in: Version 1.13.5
23
24         * NEWS: Updated.
25
26 2006-07-31  Behdad Esfahbod  <behdad@gnome.org>
27
28         Bug 121672 – Ra (vattu) not rendered properly in Malayalam
29         Patch from LingNing Zhang
30
31         * modules/indic/indic-ot.c (shiftCharsLeft3), (indic_ot_reorder):
32         Reorder combinations of some three chars!
33
34 2006-07-31  Behdad Esfahbod  <behdad@gnome.org>
35
36         Bug 335811 – Some conjugates of Malayalam are wrong.
37         Patch from LingNing Zhang
38
39         * modules/indic/indic-ot-class-tables.c: Update consonant tags to
40         fix conjugates.
41
42 2006-07-25  Behdad Esfahbod  <behdad@gnome.org>
43
44         * modules/basic/basic-fc.c: Add Cuneiform and Phoenician in the list
45         of supported scripts by this backend.  Phoenician is a simple RTL
46         script.
47
48         * pango/pango-script.c (pango_script_get_sample_language): Add
49         language code "nqo" for script N'Ko.
50
51 2006-07-24  Behdad Esfahbod  <behdad@gnome.org>
52
53         * === Released 1.13.4 ===
54
55         * configure.in: Version 1.13.4
56
57         * NEWS: Updated.
58
59 2006-07-24  Behdad Esfahbod  <behdad@gnome.org>
60
61         Bug 336282 – Update to Unicode Character Database 5.0.0
62
63         * pango/mini-fribidi/fribidi_tab_char_type_2.i: Update to UCD 5.0.0.
64
65         * pango/mini-fribidi/README: Note the about update.
66
67         * pango/pango-script.h: Add new values for PangoScript.
68
69         * pango/pango-script.c (pango_script_for_unichar_bsearch): Default
70         to PANGO_SCRIPT_UNKNOWN.
71
72         * pango/pango-script.c (pango_script_get_sample_language): Add empty
73         entries for new script values.
74
75         * tools/gen-script-table.pl: Default to PANGO_SCRIPT_UNKNOWN as is
76         now the default value of Scripts.txt in UCD 5.0.0.
77
78         * pango/pango-script-table.h: Regenerated against UCD 5.0.0.
79
80         * docs/tmpl/scripts.sgml: Document new script types.
81
82         * tools/gen-script-for-lang.c (scripts_for_line): Ignore data at the
83         end of lines as many .orth files in fontconfig now list the character
84         name there.
85
86         * pango/pango-script-lang-table.h: Regenerate against newer
87         fontconfig 2.3.9x.
88
89 2006-07-24  Behdad Esfahbod  <behdad@gnome.org>
90
91         Bug 347073 – Allow empty GPOS table
92
93         * pango/opentype/harfbuzz-open.c (_HB_OPEN_Load_ScriptList): Don't
94         err on empty GPOS/GSUB tables.
95
96 2006-07-19  Behdad Esfahbod  <behdad@gnome.org>
97
98         * pango/pango-layout.c (pango_layout_get_extents): Improve docs.
99
100 2006-07-17  Richard Hult  <richard@imendio.com>
101
102         Bug 347021 – atsui crash when a matching font cannot be found.
103         Patch from Brian Tarricone.
104
105         * pango/pangoatsui-fontmap.c (pango_atsui_font_map_load_font):
106         Bail out if best desc or best face isn't found.
107
108 2006-07-10  Behdad Esfahbod  <behdad@gnome.org>
109
110         * === Released 1.13.3 ===
111
112         * configure.in: Version 1.13.3
113
114         * NEWS: Updated.
115
116 2006-07-10  Behdad Esfahbod  <behdad@gnome.org>
117
118         Bug 330603 – pango_scan_int invokes undefined behaviour
119
120         * pango/pango-utils.c (pango_scan_int): Use strtol.
121
122 2006-07-10  Behdad Esfahbod  <behdad@gnome.org>
123
124         Bug 315599 – PangoAttribute remains in wrong context.
125
126         * pango/pangocairo-render.c (_pango_cairo_do_glyph_string): Rever my
127         commit that removed Owen's fix from last year!
128
129 2006-07-10  Behdad Esfahbod  <behdad@gnome.org>
130
131         Bug 163677 – pango_attr_list_splice: inconsistent docs
132         Patch from Morten Welinder
133
134         * pango/pango-attributes.c (pango_attr_list_splice): Improve docs.
135
136 2006-07-10  Behdad Esfahbod  <behdad@gnome.org>
137
138         Bug 345070 – [ml_IN] not render for combination with ZWJ
139         Patch from LingNing Zhang
140
141         * modules/indic/indic-ot-class-tables.c: Process ZWJ for Malayalam.
142
143 2006-07-08  Behdad Esfahbod  <behdad@gnome.org>
144
145         Bug 345274 – list of new symbols for each version is missing in docs
146         Patch from Priit Laes
147
148         * docs/pango-docs.sgml: Generate index of deprecated, and new symbols
149         per version.
150
151 2006-07-08  Behdad Esfahbod  <behdad@gnome.org>
152
153         Bug 346297 – autogen doesn't work with automake-1.6
154         Patch from Priit Laes
155
156         * autogen.sh, configure.in: Require automake 1.7.
157
158 2006-07-08  Behdad Esfahbod  <behdad@gnome.org>
159
160         * pango/glyphstring.c (pango_glyph_string_get_width):
161         * pango/pango-glyph.h:
162         * pango/pango-layout.c (pango_layout_line_index_to_x),
163         (pango_layout_line_x_to_index), (pango_layout_line_get_x_ranges):
164         * pango/pango-renderer.c (pango_renderer_draw_layout_line):  Fix silly
165         error in implementation of pango_glyph_string_get_width(), and also
166         remove unused font parameter from its signature.
167
168 2006-07-08  Behdad Esfahbod  <behdad@gnome.org>
169
170         * configure.in: Remove obsolete checks for varargs that were
171         preivously used by the OpenType code, but are not needed with
172         HarfBuzz anymore.
173
174 2006-07-08  Behdad Esfahbod  <behdad@gnome.org>
175
176         Part of Bug 135683 – Cache glyphstring extents
177
178         * pango/pango-layout.c (pango_layout_line_index_to_x),
179         (pango_layout_line_x_to_index), (pango_layout_line_get_x_ranges):
180         Use pango_glyph_string_get_width in most places in PangoLayout.
181
182 2006-07-08  Behdad Esfahbod  <behdad@gnome.org>
183
184         Part of Bug 135683 – Cache glyphstring extents
185
186         * docs/pango-sections.txt:
187         * docs/tmpl/glyphs.sgml:
188         * pango/pango.def:
189         * pango/pango-glyph.h:
190         * pango/glyphstring.c (pango_glyph_string_get_width): New function.
191         Much faster than calling pango_glyph_string_extents and using
192         logical_rect.width.
193
194         * pango/pango-renderer.c (add_underline), (add_strikethrough),
195         (pango_renderer_draw_layout_line): Use the new function for
196         optimization.
197
198 2006-07-07  Behdad Esfahbod  <behdad@gnome.org>
199
200         Bug 344766 – Memory leak in get_ruleset() in modules/basic/basic-fc.c
201
202         * pango/pango-ot-private.h: Rename PANGO_OT_IS_RULESET is
203         PANGO_IS_OT_RULESET.
204
205         * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
206         (pango_ot_ruleset_new), (pango_ot_ruleset_add_feature),
207         (pango_ot_ruleset_substitute), (pango_ot_ruleset_position):
208         Use weak pointers to reference ruleset->info, to avoid circular
209         dependency.
210
211 2006-07-07  Behdad Esfahbod  <behdad@gnome.org>
212
213         * pango/pango-matrix.c: New file.
214         * pango/pango-utils.c: Move all pango_matrix_* stuff into a separate
215         file.
216
217 2006-06-22  Behdad Esfahbod  <behdad@gnome.org>
218
219         Bug 345600 – cvs build error in pango/opentype/Makefile
220
221         * pango/opentype/Makefile.am: Rename variable SOURCES to MAINSOURCES.
222         Some automake versions seem to use it or something.
223
224 2006-06-21  Behdad Esfahbod  <behdad@gnome.org>
225
226         Bug 345511 – -no-undefined problem with new libtool
227
228         * configure.in: Remove -no-undefined on non-Win32 systems.  That
229         doesn't make any sense, and makes latest libtool not create shared
230         libraries.
231
232 2006-06-21  Behdad Esfahbod  <behdad@gnome.org>
233
234         * autogen.sh: Just call gnome-autogen.sh.  The old autogen.sh had
235         poor version checking and was borking with libtool 2.x.
236
237         * Makefile.am:
238         * configure.in:
239         * pango-zip.sh.in:
240         * pango/Makefile.am:
241         * pango/pango.rc.in:
242         * pango/pangoft2.rc.in:
243         * pango/pangowin32.rc.in: Rename LT_* variables such that autoconf
244         doesn't err on "possibly undefined macros".
245
246 2006-06-12  Behdad Esfahbod  <behdad@gnome.org>
247
248         * === Released 1.13.2 ===
249
250         * configure.in: Version 1.13.2
251
252         * NEWS: Updated.
253
254 2006-06-07  Behdad Esfahbod  <behdad@gnome.org>
255
256         * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
257         Set matrix on the context we create to load minifont.
258
259 2006-06-07  Behdad Esfahbod  <behdad@gnome.org>
260
261         Bug 326960 – hex box drawing for win32 and atsui backends of cairo
262
263         Hans already fixed win32.
264
265         * pango/pangocairo-atsuifont.c (compute_glyph_extents): Handle
266         PANGO_GLYPH_UNKNOWN_FLAG. 
267
268 2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
269
270         Bug 343717 – License information in unclear.
271
272         * modules/arabic/arabic-ot.c, modules/syriac/syriac-ot.c: Fix
273         dual-license information and refer to pango/opentype/COPYING.
274
275 2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
276
277         Followup on previous change.
278
279         * pango/pango-renderer.c: Note that pango_renderer_draw_rectangle
280         and pango_renderer_draw_error_underline should be called with
281         active renderer.
282
283         * pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs),
284         (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line),
285         (_pango_cairo_do_layout): Remove excess cairo_save/restore() calls.
286         
287         * pango/pangocairo-render.c (_pango_cairo_do_error_underline): Don't
288         go through renderer.
289
290 2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
291
292         Bug 343355 – Add pango_cairo_show_error_underline &
293         pango_cairo_error_underline_path
294         Based on patch by LingNing Zhang.
295
296         * docs/pango-sections.txt, docs/tmpl/pangocairo.sgml,
297         pango/pangocairo.def, pango/pangocairo.h, pango/pangocairo-render.c:
298         New functions pango_cairo_show_error_underline and
299         pango_cairo_error_underline_path.
300
301         * pango/pangocairo-render.c (_pango_cairo_do_glyph_string),
302         (_pango_cairo_do_layout_line), (_pango_cairo_do_layout),
303         (_pango_cairo_do_error_underline), (pango_cairo_show_glyph_string),
304         (pango_cairo_show_layout_line), (pango_cairo_show_layout),
305         (pango_cairo_show_error_underline),
306         (pango_cairo_glyph_string_path), (pango_cairo_layout_line_path),
307         (pango_cairo_layout_path), (pango_cairo_error_underline_path): Merge
308         similar code for pango_cairo_show_* and pango_cairo_*_path functions.
309
310 2006-06-06  Behdad Esfahbod  <behdad@gnome.org>
311
312         Bug 343966 – pango Cygwin build fixes
313         Patch from Cygwin Ports maintainer.
314
315         * configure.in: Add missing space.
316         * tests/Makefile.am: Add $(EXEEXT) where appropriate.
317
318 2006-06-05  Hans Breuer  <hans@breuer.org>
319
320         * pango/pangowin32-fontmap.c(pango_win32_font_map_init) : synthesize
321         some italic variants for fonts no having them already. This fixes
322         bug #343796 and for the italic case also bug #110521.
323
324         * pango/pangocairo-win32font.c(compute_glyph_extents) : not only 
325         handle PANGO_GLYPH_EMPTY but also PANGO_GLYPH_UNKNOWN_FLAG. 
326         The latter is needed to have proper sizing of the "hex box" for 
327         missing glyphs. It also stops cairo complaining about unknown glyphs.
328         Fixes part of bug #343796.
329         
330         * pango/makefile.msc : create $(PRJ_TOP)\config.h.win32. (Not 
331         changing in years does not necessarily mean it is not used)
332
333         * pango/testfonts.c : make family_name survive 
334         pango_font_description_free(), it is used later on
335         
336 2006-06-02  Behdad Esfahbod  <behdad@gnome.org>
337
338         * pango/pango-utils.c (pango_find_base_dir): Don't g_return if text ==
339         NULL and length == 0.
340
341 2006-05-31  Behdad Esfahbod  <behdad@gnome.org>
342
343         Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory
344         and have many cpu usage.
345         Patch from Yong Li.
346
347         * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table): TrueType table
348         offsets are absolute, not relative.
349
350 2006-05-31  Behdad Esfahbod  <behdad@gnome.org>
351
352         Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct
353         when using MarkAttchmentType
354         Patch from Tin Myo Htet.
355
356         * pango/opentype/harfbuzz-gpos.c (Lookup_MarkMarkPos): Ignore marks
357         of non-matchin attachment type.
358
359 2006-05-31  Behdad Esfahbod  <behdad@gnome.org>
360
361         * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Set
362         absolute_size, since we are using describe_with_absolute_size now...
363
364 2006-05-30  Behdad Esfahbod  <behdad@gnome.org>
365
366         Bug 333984 – pango_language_from_string improvements
367
368         * pango/pango-utils.c (lang_equal), (lang_hash),
369         (pango_language_from_string): Allow digits in language tags as per
370         RFC-3066, and stop on first invalid char.  Previous
371         pango_language_from_string ("en_US.UTF-8") was returning "en-usutf-",
372         now it returns "en-us".
373         
374         * pango/pango-utils.c (pango_language_matches): Allow other common
375         separators in the language list (colon, comma, and space).
376
377 2006-05-30  Behdad Esfahbod  <behdad@gnome.org>
378
379         Bug 125378 – Better underline thickness handling
380
381         * pango/pango-layout.c (pango_layout_run_get_extents): Include
382         underline in ink extents.
383
384 2006-05-30  Behdad Esfahbod  <behdad@gnome.org>
385
386         * pango/pangocairo-render.c (draw_error_underline): Fix offset to
387         center the underline in requested rectangle.
388
389         * pango/pangocairo-render.c (pango_cairo_show_glyph_string): Remove
390         unncessary renderer activation and cleanup.
391
392 2006-05-23  Tor Lillqvist  <tml@novell.com>
393
394         * pango/pangowin32.c (pango_win32_font_class_init): Initialize the
395         describe_absolute method pointer correctly.
396         (pango_win32_font_describe): Scale size to points which is what
397         pango_font_description_set_size() wants. There has been several
398         bugs opened around this issue, with more or less misleading
399         guesses. See for instance #314114. Thanks to Behdad for finally
400         noticing the real problem here.
401
402 2006-05-22  Behdad Esfahbod  <behdad@gnome.org>
403
404         Bug 342525 – With PangoFc and PangoWin32, approximate digit width is
405         not what it says
406
407         * pango/pangocairo-win32font.c (max_glyph_width),
408         (create_metrics_for_context): Use max digit width instead of average.
409
410         Reverted the following changes:
411
412         * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
413         Likewise for PangoFc.  Compute average instead of max.
414         (max_glpyh_with): Now unused, drop.
415
416         * pango/pangowin32.c (pango_win32_font_get_metrics): Calculate
417         average digit width correctly, not as max of the digit
418         widths. (#342525) Note that this code doesn't really get much used
419         currently (instead the code in pangocairo-win32font.c is used),
420         fixed only for completeness.
421         (max_glpyh_with): Now unused, drop.
422
423 2006-05-22  Behdad Esfahbod  <behdad@gnome.org>
424
425         * pango/pango-font.h, pango/fonts.c: New function
426         pango_font_describe_with_absolute_size().
427
428         * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
429         * pango/pangocairo-win32font.c (create_metrics_for_context):
430         * pango/pangofc-font.c (pango_fc_font_class_init),
431         (pango_fc_font_describe_absolute),
432         (pango_fc_font_create_metrics_for_context):
433         * pango/pangowin32.c (pango_win32_font_class_init),
434         (pango_win32_font_get_metrics), (pango_win32_font_describe),
435         (pango_win32_font_describe_absolute): Implement and use
436         PangoFontClass->describe_absolute.
437
438 2006-05-22  Behdad Esfahbod  <behdad@gnome.org>
439
440         Bug 339730 – Pango needlessly falls back away from a Type 1 font into
441         a TTF font
442
443         * pango/fonts.c (find_field): Fix strncmp usage.
444
445 2006-05-22  Behdad Esfahbod  <behdad@gnome.org>
446
447         Bug 342562 – Support absolute sizes in
448         pango_font_description_to/from_string
449
450         * pango/fonts.c (parse_size), (pango_font_description_from_string),
451         (pango_font_description_to_string): Accept and generate a "px" suffix
452         to identify absolute font sizes.
453
454 2006-05-22  Behdad Esfahbod  <behdad@gnome.org>
455
456         Bug 341922 – pango should handle more characters as zero width
457         Patch from Roozbeh Pournader
458
459         * pango/pango-utils.c (pango_is_zero_width): Handle the following too:
460
461                 U+00AD  SOFT HYPHEN
462                 U+034F  COMBINING GRAPHEME JOINER
463                 U+2060  WORD JOINER
464                 U+2061  FUNCTION APPLICATION
465                 U+2062  INVISIBLE TIMES
466                 U+2063  INVISIBLE SEPARATOR
467
468 2006-05-21  Behdad Esfahbod  <behdad@gnome.org>
469
470         Bug 342525 – With PangoFc and PangoWin32, approximate digit width is
471         not what it says
472
473         * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
474         Likewise for PangoFc.  Compute average instead of max.
475         (max_glpyh_with): Now unused, drop.
476
477 2006-05-22  Tor Lillqvist  <tml@novell.com>
478
479         Bug 342525 – With PangoFc and PangoWin32, approximate digit width is
480         not what it says
481
482         * pango/pangowin32.c (pango_win32_font_get_metrics): Calculate
483         average digit width correctly, not as max of the digit
484         widths. (#342525) Note that this code doesn't really get much used
485         currently (instead the code in pangocairo-win32font.c is used),
486         fixed only for completeness.
487         (max_glpyh_with): Now unused, drop.
488         
489 2006-05-21  Behdad Esfahbod  <behdad@gnome.org>
490
491         * pango/pangocairo-fontmap.c: Remove unused struct
492         _cairo_font_options.
493
494 2006-05-17  Behdad Esfahbod  <behdad@gnome.org>
495
496         Bug 342079 – pangoatsui-private.h missing from release
497
498         * pango/Makefile.am (libpangocairo_1_0_la_SOURCES):
499         Include pangoatsui-private.h.
500
501 2006-05-15  Behdad Esfahbod  <behdad@gnome.org>
502
503         * === Released 1.13.1 ===
504
505         * configure.in: Version 1.13.1
506
507         * NEWS: Updated.
508
509 2006-05-15  Richard Hult  <richard@imendio.com>
510
511         Bug 322374 – Examples does not build on MacOS X
512
513         * pango/Makefile.am (libpangocairo_1_0_la_LDFLAGS): Add the necessary
514         frameworks to make this build with -no-undefined.
515
516 2006-05-13  Behdad Esfahbod  <behdad@gnome.org>
517
518         * pango/pango-item.c (pango_item_split): Don't copy item before
519         g_return_if_fail'ing it for NULL. (Coverity issue id=18509&runid=43)
520
521 2006-05-13  Behdad Esfahbod  <behdad@gnome.org>
522
523         * pango/fonts.c (pango_font_face_list_sizes): Fix possible NULL
524         dereference. (Coverity issues id=17770&runid=43)
525
526 2006-05-11  Behdad Esfahbod  <behdad@gnome.org>
527
528         Bug 71033 – make size 0 fonts work
529
530         * pango/fonts.c (pango_font_description_set_size): Update docs to note
531         a size value of zero may have been set explicitly.
532
533         * pango/pango-context.c (pango_context_load_font): Don't warn if font
534         size if zero.
535
536         * pango/pangoatsui-fontmap.c (pango_atsui_font_map_load_font):
537         * pango/pangox-fontmap.c (pango_x_font_map_load_font): Don't return if
538         size is zero (probably will fail with no fonts found.)
539
540         * pango/pangoxft-fontmap.c (pango_xft_font_map_default_substitute): Xft
541         chokes on size zero.  Reassing PIXEL_SIZE to 1.0 if it's zero.
542
543 2006-05-01  Behdad Esfahbod  <behdad@gnome.org>
544
545         Bug 340229 – pango_font_description_from_string does not do bound
546         checking
547
548         * pango/fonts.c (pango_font_description_set_size),
549         (pango_font_description_set_absolute_size), (parse_size):
550         * pango/pango-markup.c (span_parse_func): Don't accept negative font
551         sizes, and make sure sizes don't overflow.
552
553 2006-04-29  Behdad Esfahbod  <behdad@gnome.org>
554
555         Bug 329483 – hinting hexbox in cairo backend doesn't handle absolute
556         font size
557         Bug 340040 – pangocairo hex box hinting falls apart with PS/PDF
558         backends
559
560         * configure.in: Require cairo >= 1.1.2.  Also pass -no-undefined on all
561         systems.
562
563         * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Fix
564         hexbox info to respect absolute sizes and no metrics hinting settings.
565
566 2006-04-29  Behdad Esfahbod  <behdad@gnome.org>
567
568         Bug 329664 – Move gunichar_to_glyph cache from PangoCairoFcFont to
569         PangoFcFont
570         Patch from LingNing Zhang.
571
572         * pango/pangocairo-fcfont.c (pango_cairo_fc_font_finalize),
573         (pango_cairo_fc_font_glyph_extents_cache_init),
574         (pango_cairo_fc_font_get_glyph_extents_cache_entry),
575         (pango_cairo_fc_font_class_init), (pango_cairo_fc_font_init):
576         * pango/pangofc-font.c (pango_fc_font_finalize),
577         (pango_fc_font_real_get_glyph): Move gunichar->glyph cache to
578         pangofc-font.c
579
580 2006-04-29  Behdad Esfahbod  <behdad@gnome.org>
581
582         Bug 329547 – pango_layout_get_pixel_extents and
583         pango_layout_get_pixel_size cause off-by-one metrics
584
585         * docs/pango-sections.txt:
586         * docs/tmpl/glyphs.sgml:
587         * pango/pango-types.h: Define PANGO_PIXELS_FLOOR and PANGO_PIXELS_CEIL.
588
589         * pango/pango-layout.c (pango_layout_get_pixel_extents),
590         (pango_layout_get_pixel_size): Make sure logical rects are
591         consistent and ink rects are inclusive.
592
593 2006-04-29  Behdad Esfahbod  <behdad@gnome.org>
594
595         * docs/tmpl/atsui-fonts.sgml:
596         * docs/tmpl/coverage-maps.sgml:
597         * docs/tmpl/engines.sgml:
598         * docs/tmpl/fonts.sgml:
599         * docs/tmpl/freetype-fonts.sgml:
600         * docs/tmpl/glyphs.sgml:
601         * docs/tmpl/layout.sgml:
602         * docs/tmpl/main.sgml:
603         * docs/tmpl/modules.sgml:
604         * docs/tmpl/opentype.sgml:
605         * docs/tmpl/pango-engine-lang.sgml:
606         * docs/tmpl/pango-engine-shape.sgml:
607         * docs/tmpl/pango-renderer.sgml:
608         * docs/tmpl/pangocairo.sgml:
609         * docs/tmpl/pangofc-decoder.sgml:
610         * docs/tmpl/pangofc-font.sgml:
611         * docs/tmpl/pangofc-fontmap.sgml:
612         * docs/tmpl/scripts.sgml:
613         * docs/tmpl/tab-stops.sgml:
614         * docs/tmpl/text-attributes.sgml:
615         * docs/tmpl/utils.sgml:
616         * docs/tmpl/win32-fonts.sgml:
617         * docs/tmpl/x-fonts.sgml:
618         * docs/tmpl/xft-fonts.sgml:
619         * pango/modules.c:
620         * pango/pango-coverage.c: Doc updates.
621
622 2006-04-29  Behdad Esfahbod  <behdad@gnome.org>
623
624         Bug 337594 – pango_glyph_string_extents_range possible bug
625
626         * pango/glyphstring.c (pango_glyph_string_extents_range): Add offset
627         for first glyph too.
628
629 2006-04-29  Behdad Esfahbod  <behdad@gnome.org>
630
631         Bug 333771 – Use gmodule-no-export-2.0 instead of gmodule-2.0 in
632         pango-uninstalled.pc.in
633
634         * pango-uninstalled.pc.in: Require gmodule-no-export-2.0, like
635         pango.pc.in does.
636
637 2006-04-29  Behdad Esfahbod  <behdad@gnome.org>
638
639         Bug 307196 – Unhinted fonts are measured incorrectly and drawing
640         problems occur as a result
641
642         * pango/pangofc-font.c (get_face_metrics),
643         (pango_fc_font_get_raw_extents):
644         * pango/pangoxft-font.c (_pango_xft_font_new): Rollback previous
645         change that forced metrics hinting always on.
646
647         * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Set fcfont
648         metrics hinting based on cairo font options.
649
650 2006-04-28  Behdad Esfahbod  <behdad@gnome.org>
651
652         Bug 339749 – pango_language_from_string issues
653         Patch from Morten Welinder.
654
655         * pango/pango-utils.c (lang_equal): Make the equal function symmetric.
656
657 2006-04-28  Behdad Esfahbod  <behdad@gnome.org>
658
659         * pango/pangofc-font.c (get_face_metrics),
660         (pango_fc_font_get_raw_extents): Don't use is_hinted.  Metrics are
661         always hinted now.
662
663         * pango/pangoxft-font.c (_pango_xft_font_new): Remove hack that forced
664         is_hinted to TRUE.
665
666 2006-04-27  Behdad Esfahbod  <behdad@gnome.org>
667
668         * pangocairo.pc.in, pangocairo-uninstalled.pc.in: Remove CAIRO_CFLAGS
669         from Cflags, as we Require cairo already.
670
671 2006-04-27  Behdad Esfahbod  <behdad@gnome.org>
672
673         * pango/pango-impl-utils.h:
674         * pango/fonts.c (pango_font_get_glyph_extents),
675         (pango_font_get_metrics), (pango_font_get_font_map):
676         * pango/pangocairo-render.c (pango_cairo_show_glyph_string),
677         (pango_cairo_glyph_string_path): Add more warning_history items and
678         handle more font failures, to make sure that instead of crashing,
679         gedit runs and draws empty boxes when pango.modules is not set
680         properly.
681
682 2006-04-26  Behdad Esfahbod  <behdad@gnome.org>
683
684         Bug 339747 – pango_font_metrics_get_approximate_digit_width docs
685
686         * pango/fonts.c: Fix typo in docs.
687
688 2006-04-26  Behdad Esfahbod  <behdad@gnome.org>
689
690         Bug 339749 – pango_language_from_string issues
691
692         * pango/pango-utils.c (pango_language_from_string): Avoid lookup that
693         we know fails...
694
695 2006-04-23  Behdad Esfahbod  <behdad@gnome.org>
696
697         * === Released 1.13.0 ===
698
699         * configure.in: Version 1.13.0
700
701         * NEWS: Updated.
702
703 2006-04-14  Behdad Esfahbod  <behdad@gnome.org>
704
705         * examples/HELLO.utf8: Add Sinhala. (patch from Harshula)
706
707 2006-04-14  Behdad Esfahbod  <behdad@gnome.org>
708
709         Bug 338343 – Bad cast
710
711         * pango/pango-layout.c (pango_layout_set_text): Fix cast.
712
713 2006-04-13  Behdad Esfahbod  <behdad@gnome.org>
714
715         * pango/pangox.c (get_font_metrics_from_subfonts): Check for nullity
716         somewhere else.
717
718 2006-04-12  Behdad Esfahbod  <behdad@gnome.org>
719
720         * pango/opentype/harfbuzz-gpos.c: Fix loop variables. (coverity
721         found bug.)
722
723 2006-04-11  Behdad Esfahbod  <behdad@gnome.org>
724
725         Bug 337924 – cleanups for issues reported by various compilers
726         Patch from Kjartan Maraas.
727
728         * examples/viewer-x.c (update):
729         * modules/arabic/arabic-fc.c (fallback_shape),
730         (arabic_engine_shape):
731         * modules/basic/basic-fc.c (fallback_shape), (basic_engine_shape):
732         * modules/basic/basic-x.c:
733         * modules/hangul/hangul-fc.c:
734         * modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
735         * modules/indic/indic-fc.c:
736         * modules/khmer/khmer-fc.c:
737         * modules/syriac/syriac-fc.c:
738         * modules/thai/thai-fc.c:
739         * modules/tibetan/tibetan-fc.c:
740         * pango/break.c:
741         * pango/modules.c:
742         * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table):
743         * pango/pango-attributes.c (pango_attr_list_filter):
744         * pango/pango-engine.c:
745         * pango/pango-fontset.c:
746         * pango/pango-layout.c (pango_layout_set_text),
747         (pango_layout_xy_to_index), (pango_layout_get_cursor_pos):
748         * pango/pango-markup.c (text_handler):
749         * pango/pango-utils.c (read_alias_file):
750         * pango/pangocairo-fcfont.c (G_DEFINE_TYPE_WITH_CODE):
751         * pango/pangocairo-fcfontmap.c (G_DEFINE_TYPE_WITH_CODE):
752         * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
753         * pango/pangox-fontmap.c (pango_x_make_matching_xlfd):
754         * tests/dump-boundaries.c (fail):
755         Remove unused variables.  Remove excess semicolon after DEFINE_TYPE
756         macros.
757
758 2006-04-10  Behdad Esfahbod  <behdad@gnome.org>
759
760         * config.h.win32, examples/makefile.msc: Removed.  Have not been
761         updated since Feb 2001.
762
763 2006-04-10  Behdad Esfahbod  <behdad@gnome.org>
764
765         * pango/pango-layout.c: Fix broken changes I made :).
766
767 2006-04-10  Behdad Esfahbod  <behdad@gnome.org>
768
769         Fix minor bugs reported by the Coverity scan report.
770
771         * pango/opentype/harfbuzz-gdef.c (HB_GDEF_Build_ClassDefinition):
772         * pango/opentype/harfbuzz-gpos.c (HB_GPOS_Query_Scripts),
773         (HB_GPOS_Query_Languages), (HB_GPOS_Query_Features): Do not access
774         structs before we check them for nullity.
775
776         * pango/pango-layout.c (pango_layout_index_to_line),
777         (pango_layout_index_to_line_and_extents),
778         (pango_layout_index_to_pos): Check for invalid iterators outside the
779         loop, so we don't crash.
780         
781         * pango/pango-layout.c (pango_layout_line_x_to_index): Set
782         char_trailing instead of trailing in one of too many paths.  Should
783         have been a typo.
784
785         * pango/pangox.c (get_font_metrics_from_subfonts): Check for nullity
786         somewhere.
787
788 2006-04-09  Tor Lillqvist  <tml@novell.com>
789
790         * pango/pango-utils.c (pango_quantize_line_geometry): Fix typo in
791         doc comment.
792
793 2006-04-09  Behdad Esfahbod  <behdad@gnome.org>
794
795         Bug 337821 – invisible unicode chars are visible next to hebrew chars
796
797         * modules/hebrew/hebrew-fc.c: Handle zero_width chars in fallback
798         shaper too.
799
800         * modules/hebrew/hebrew-shaper.c: Remove unused Unicode<->ISO8859
801         tables.
802
803 2006-04-07  Behdad Esfahbod  <behdad@gnome.org>
804
805         Incorrect text rendering when in x86 64-bit precision mode
806         https://bugs.freedesktop.org/show_bug.cgi?id=5200
807
808         * pango/pangocairo-fcfont.c:Round metrics when converting
809         to Pango units.
810         
811 2006-04-06  Behdad Esfahbod  <behdad@gnome.org>
812
813         Bug 337502 – Win32 build fix
814         Patch from Alexander Larsson.
815
816         * pango/pangocairo-fontmap.c: Fix order of checking for freetype and
817         win32 cairo backends to match the constructor.
818
819         * pango/pangoft2.def: Add missing symbol
820
821 2006-04-06  Behdad Esfahbod  <behdad@gnome.org>
822
823         * pango/opentype: Update from HarfBuzz.  Lars Knoll fixed all the
824         warnings.
825
826 2006-04-04  Behdad Esfahbod  <behdad@gnome.org>
827
828         * pango/pango-utils.c, pango/querymodules.c: Fix a few warnings.
829
830 2006-04-03  Behdad Esfahbod  <behdad@gnome.org>
831
832         * pango/opentype/harfbuzz-impl.h: Make sure TTAG_GDEF and frineds are
833         defined, needed for FreeType <= 2.1.7 (pointed by Tim Janik).
834
835 2006-04-03  Behdad Esfahbod  <behdad@gnome.org>
836
837         Bug 337029 – pango/fonts.c: Illegal structure initialization
838
839         * pango/fonts.c: Change NULL's to ""'s after previous change, and fix
840         code to follow.
841
842 2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
843
844         * pango/fonts.c:
845         * pango/pango-utils.c:
846         * pango/pangox-fontmap.c:
847         * pango/pangoft2.c (_pango_ft2_ft_strerror): Change char* to
848         char[] in the ft error table, to avoid relocations.
849
850 2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
851
852         Part of Bug 336026 – Make fallback shaper in modules work
853         Patch from Denis Jacquerye.
854
855         * pango/pango-ot-buffer.c (pango_ot_buffer_output): Call
856         pango_fc_font_kern_glyphs if GPOS not applied.
857
858 2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
859
860         Bug 334802 – Using plain integer as NULL pointer
861
862         * pango/mapping.c (pango_glyph_string_x_to_index): Fix type assigining
863         trailing instead of *trailing.
864
865         * pango/pango-layout.c (pango_layout_line_new): Use NULL instead of 0.
866
867 2006-03-31  Behdad Esfahbod  <behdad@gnome.org>
868
869         Convert pango/opentype to the new project called HarfBuzz.
870
871         * pango/opentype/*: Restructured.
872
873         * pango/pango-ot-*: Updated to use HarfBuzz symbol names.
874
875 2006-03-30  Behdad Esfahbod  <behdad@gnome.org>
876
877         Bug 335840 – Typo in including Xft.
878
879         * pangoxft-render.h: Define _XFT_NO_COMPAT_ instead of _XFT_NO_COMPAT.
880
881 2006-03-30  Behdad Esfahbod  <behdad@gnome.org>
882
883         * pango/*.[ch]: Make #include syntax in sources and headers more
884         consistent.  We are using the "..." syntax for all Pango headers
885         in source files, and <...> syntax in all header files, except for
886         including private headers, that we use "...".
887
888 2006-03-30  Behdad Esfahbod  <behdad@gnome.org>
889
890         Hook up pango-utils.h into the documentation, as we are installing
891         it anyway.  Move some internal stuff to pango-impl-utils.h and make
892         source files include that instead.
893
894 2006-03-30  Tor Lillqvist  <tml@novell.com>
895
896         Fix blurred underlines on Win32 (#332656):
897         
898         * pango/pango-utils.c (pango_quantize_line_geometry):
899         New public function. Used to be the static quantize_position() in
900         pangofc-font.c
901
902         * pango/pango-utils.h: Declare it.
903
904         * pango/pango.def: Here, too.
905
906         * pango/pangofc-font.c (quantize_position): Remove.
907         (get_face_metrics): Use pango_quantize_line_geometry() instead.
908
909         * pango/pangocairo-win32font.c (create_metrics_for_context): Call
910         pango_quantize_line_geometry() for underline and strikethrough
911         geometries.
912
913 2006-03-25  Behdad Esfahbod  <behdad@gnome.org>
914
915         * pango/opentype/ottest.c: Don't err on Table_Missing.
916
917 2006-03-13  Behdad Esfahbod  <behdad@gnome.org>
918
919         Create pango-1-12 stable branch.
920
921         * ChangeLog.pre-1-12: Created.
922
923         * Makefile.am: Updated to dist above.
924
925 Local Variables:
926 coding: utf-8
927 End:
928 vim: encoding=utf-8: