1 2006-08-08 Behdad Esfahbod <behdad@gnome.org>
3 * === Released 1.14.0 ===
5 * configure.in: Version 1.14.0
6 * configure.in: Require cairo-1.2.2 for the bugfixes it has
10 2006-08-01 Behdad Esfahbod <behdad@gnome.org>
12 * examples/renderdemo.c (parse_options): Don't ignore all trailing
13 whitespace in input text. Only chop one newline.
15 * examples/viewer-main.c (main): setlocale(LC_ALL, "") to get GOption
16 work for UTF-8 text on the command line.
18 2006-07-31 Behdad Esfahbod <behdad@gnome.org>
20 * === Released 1.13.5 ===
22 * configure.in: Version 1.13.5
26 2006-07-31 Behdad Esfahbod <behdad@gnome.org>
28 Bug 121672 – Ra (vattu) not rendered properly in Malayalam
29 Patch from LingNing Zhang
31 * modules/indic/indic-ot.c (shiftCharsLeft3), (indic_ot_reorder):
32 Reorder combinations of some three chars!
34 2006-07-31 Behdad Esfahbod <behdad@gnome.org>
36 Bug 335811 – Some conjugates of Malayalam are wrong.
37 Patch from LingNing Zhang
39 * modules/indic/indic-ot-class-tables.c: Update consonant tags to
42 2006-07-25 Behdad Esfahbod <behdad@gnome.org>
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
48 * pango/pango-script.c (pango_script_get_sample_language): Add
49 language code "nqo" for script N'Ko.
51 2006-07-24 Behdad Esfahbod <behdad@gnome.org>
53 * === Released 1.13.4 ===
55 * configure.in: Version 1.13.4
59 2006-07-24 Behdad Esfahbod <behdad@gnome.org>
61 Bug 336282 – Update to Unicode Character Database 5.0.0
63 * pango/mini-fribidi/fribidi_tab_char_type_2.i: Update to UCD 5.0.0.
65 * pango/mini-fribidi/README: Note the about update.
67 * pango/pango-script.h: Add new values for PangoScript.
69 * pango/pango-script.c (pango_script_for_unichar_bsearch): Default
70 to PANGO_SCRIPT_UNKNOWN.
72 * pango/pango-script.c (pango_script_get_sample_language): Add empty
73 entries for new script values.
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.
78 * pango/pango-script-table.h: Regenerated against UCD 5.0.0.
80 * docs/tmpl/scripts.sgml: Document new script types.
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
86 * pango/pango-script-lang-table.h: Regenerate against newer
89 2006-07-24 Behdad Esfahbod <behdad@gnome.org>
91 Bug 347073 – Allow empty GPOS table
93 * pango/opentype/harfbuzz-open.c (_HB_OPEN_Load_ScriptList): Don't
94 err on empty GPOS/GSUB tables.
96 2006-07-19 Behdad Esfahbod <behdad@gnome.org>
98 * pango/pango-layout.c (pango_layout_get_extents): Improve docs.
100 2006-07-17 Richard Hult <richard@imendio.com>
102 Bug 347021 – atsui crash when a matching font cannot be found.
103 Patch from Brian Tarricone.
105 * pango/pangoatsui-fontmap.c (pango_atsui_font_map_load_font):
106 Bail out if best desc or best face isn't found.
108 2006-07-10 Behdad Esfahbod <behdad@gnome.org>
110 * === Released 1.13.3 ===
112 * configure.in: Version 1.13.3
116 2006-07-10 Behdad Esfahbod <behdad@gnome.org>
118 Bug 330603 – pango_scan_int invokes undefined behaviour
120 * pango/pango-utils.c (pango_scan_int): Use strtol.
122 2006-07-10 Behdad Esfahbod <behdad@gnome.org>
124 Bug 315599 – PangoAttribute remains in wrong context.
126 * pango/pangocairo-render.c (_pango_cairo_do_glyph_string): Rever my
127 commit that removed Owen's fix from last year!
129 2006-07-10 Behdad Esfahbod <behdad@gnome.org>
131 Bug 163677 – pango_attr_list_splice: inconsistent docs
132 Patch from Morten Welinder
134 * pango/pango-attributes.c (pango_attr_list_splice): Improve docs.
136 2006-07-10 Behdad Esfahbod <behdad@gnome.org>
138 Bug 345070 – [ml_IN] not render for combination with ZWJ
139 Patch from LingNing Zhang
141 * modules/indic/indic-ot-class-tables.c: Process ZWJ for Malayalam.
143 2006-07-08 Behdad Esfahbod <behdad@gnome.org>
145 Bug 345274 – list of new symbols for each version is missing in docs
146 Patch from Priit Laes
148 * docs/pango-docs.sgml: Generate index of deprecated, and new symbols
151 2006-07-08 Behdad Esfahbod <behdad@gnome.org>
153 Bug 346297 – autogen doesn't work with automake-1.6
154 Patch from Priit Laes
156 * autogen.sh, configure.in: Require automake 1.7.
158 2006-07-08 Behdad Esfahbod <behdad@gnome.org>
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.
168 2006-07-08 Behdad Esfahbod <behdad@gnome.org>
170 * configure.in: Remove obsolete checks for varargs that were
171 preivously used by the OpenType code, but are not needed with
174 2006-07-08 Behdad Esfahbod <behdad@gnome.org>
176 Part of Bug 135683 – Cache glyphstring extents
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.
182 2006-07-08 Behdad Esfahbod <behdad@gnome.org>
184 Part of Bug 135683 – Cache glyphstring extents
186 * docs/pango-sections.txt:
187 * docs/tmpl/glyphs.sgml:
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
194 * pango/pango-renderer.c (add_underline), (add_strikethrough),
195 (pango_renderer_draw_layout_line): Use the new function for
198 2006-07-07 Behdad Esfahbod <behdad@gnome.org>
200 Bug 344766 – Memory leak in get_ruleset() in modules/basic/basic-fc.c
202 * pango/pango-ot-private.h: Rename PANGO_OT_IS_RULESET is
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
211 2006-07-07 Behdad Esfahbod <behdad@gnome.org>
213 * pango/pango-matrix.c: New file.
214 * pango/pango-utils.c: Move all pango_matrix_* stuff into a separate
217 2006-06-22 Behdad Esfahbod <behdad@gnome.org>
219 Bug 345600 – cvs build error in pango/opentype/Makefile
221 * pango/opentype/Makefile.am: Rename variable SOURCES to MAINSOURCES.
222 Some automake versions seem to use it or something.
224 2006-06-21 Behdad Esfahbod <behdad@gnome.org>
226 Bug 345511 – -no-undefined problem with new libtool
228 * configure.in: Remove -no-undefined on non-Win32 systems. That
229 doesn't make any sense, and makes latest libtool not create shared
232 2006-06-21 Behdad Esfahbod <behdad@gnome.org>
234 * autogen.sh: Just call gnome-autogen.sh. The old autogen.sh had
235 poor version checking and was borking with libtool 2.x.
242 * pango/pangoft2.rc.in:
243 * pango/pangowin32.rc.in: Rename LT_* variables such that autoconf
244 doesn't err on "possibly undefined macros".
246 2006-06-12 Behdad Esfahbod <behdad@gnome.org>
248 * === Released 1.13.2 ===
250 * configure.in: Version 1.13.2
254 2006-06-07 Behdad Esfahbod <behdad@gnome.org>
256 * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
257 Set matrix on the context we create to load minifont.
259 2006-06-07 Behdad Esfahbod <behdad@gnome.org>
261 Bug 326960 – hex box drawing for win32 and atsui backends of cairo
263 Hans already fixed win32.
265 * pango/pangocairo-atsuifont.c (compute_glyph_extents): Handle
266 PANGO_GLYPH_UNKNOWN_FLAG.
268 2006-06-06 Behdad Esfahbod <behdad@gnome.org>
270 Bug 343717 – License information in unclear.
272 * modules/arabic/arabic-ot.c, modules/syriac/syriac-ot.c: Fix
273 dual-license information and refer to pango/opentype/COPYING.
275 2006-06-06 Behdad Esfahbod <behdad@gnome.org>
277 Followup on previous change.
279 * pango/pango-renderer.c: Note that pango_renderer_draw_rectangle
280 and pango_renderer_draw_error_underline should be called with
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.
287 * pango/pangocairo-render.c (_pango_cairo_do_error_underline): Don't
290 2006-06-06 Behdad Esfahbod <behdad@gnome.org>
292 Bug 343355 – Add pango_cairo_show_error_underline &
293 pango_cairo_error_underline_path
294 Based on patch by LingNing Zhang.
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.
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.
310 2006-06-06 Behdad Esfahbod <behdad@gnome.org>
312 Bug 343966 – pango Cygwin build fixes
313 Patch from Cygwin Ports maintainer.
315 * configure.in: Add missing space.
316 * tests/Makefile.am: Add $(EXEEXT) where appropriate.
318 2006-06-05 Hans Breuer <hans@breuer.org>
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.
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.
330 * pango/makefile.msc : create $(PRJ_TOP)\config.h.win32. (Not
331 changing in years does not necessarily mean it is not used)
333 * pango/testfonts.c : make family_name survive
334 pango_font_description_free(), it is used later on
336 2006-06-02 Behdad Esfahbod <behdad@gnome.org>
338 * pango/pango-utils.c (pango_find_base_dir): Don't g_return if text ==
339 NULL and length == 0.
341 2006-05-31 Behdad Esfahbod <behdad@gnome.org>
343 Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory
344 and have many cpu usage.
347 * pango/opentype/ftglue.c (_hb_ftglue_face_goto_table): TrueType table
348 offsets are absolute, not relative.
350 2006-05-31 Behdad Esfahbod <behdad@gnome.org>
352 Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct
353 when using MarkAttchmentType
354 Patch from Tin Myo Htet.
356 * pango/opentype/harfbuzz-gpos.c (Lookup_MarkMarkPos): Ignore marks
357 of non-matchin attachment type.
359 2006-05-31 Behdad Esfahbod <behdad@gnome.org>
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...
364 2006-05-30 Behdad Esfahbod <behdad@gnome.org>
366 Bug 333984 – pango_language_from_string improvements
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".
374 * pango/pango-utils.c (pango_language_matches): Allow other common
375 separators in the language list (colon, comma, and space).
377 2006-05-30 Behdad Esfahbod <behdad@gnome.org>
379 Bug 125378 – Better underline thickness handling
381 * pango/pango-layout.c (pango_layout_run_get_extents): Include
382 underline in ink extents.
384 2006-05-30 Behdad Esfahbod <behdad@gnome.org>
386 * pango/pangocairo-render.c (draw_error_underline): Fix offset to
387 center the underline in requested rectangle.
389 * pango/pangocairo-render.c (pango_cairo_show_glyph_string): Remove
390 unncessary renderer activation and cleanup.
392 2006-05-23 Tor Lillqvist <tml@novell.com>
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.
402 2006-05-22 Behdad Esfahbod <behdad@gnome.org>
404 Bug 342525 – With PangoFc and PangoWin32, approximate digit width is
407 * pango/pangocairo-win32font.c (max_glyph_width),
408 (create_metrics_for_context): Use max digit width instead of average.
410 Reverted the following changes:
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.
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.
423 2006-05-22 Behdad Esfahbod <behdad@gnome.org>
425 * pango/pango-font.h, pango/fonts.c: New function
426 pango_font_describe_with_absolute_size().
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.
438 2006-05-22 Behdad Esfahbod <behdad@gnome.org>
440 Bug 339730 – Pango needlessly falls back away from a Type 1 font into
443 * pango/fonts.c (find_field): Fix strncmp usage.
445 2006-05-22 Behdad Esfahbod <behdad@gnome.org>
447 Bug 342562 – Support absolute sizes in
448 pango_font_description_to/from_string
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.
454 2006-05-22 Behdad Esfahbod <behdad@gnome.org>
456 Bug 341922 – pango should handle more characters as zero width
457 Patch from Roozbeh Pournader
459 * pango/pango-utils.c (pango_is_zero_width): Handle the following too:
462 U+034F COMBINING GRAPHEME JOINER
464 U+2061 FUNCTION APPLICATION
465 U+2062 INVISIBLE TIMES
466 U+2063 INVISIBLE SEPARATOR
468 2006-05-21 Behdad Esfahbod <behdad@gnome.org>
470 Bug 342525 – With PangoFc and PangoWin32, approximate digit width is
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.
477 2006-05-22 Tor Lillqvist <tml@novell.com>
479 Bug 342525 – With PangoFc and PangoWin32, approximate digit width is
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.
489 2006-05-21 Behdad Esfahbod <behdad@gnome.org>
491 * pango/pangocairo-fontmap.c: Remove unused struct
494 2006-05-17 Behdad Esfahbod <behdad@gnome.org>
496 Bug 342079 – pangoatsui-private.h missing from release
498 * pango/Makefile.am (libpangocairo_1_0_la_SOURCES):
499 Include pangoatsui-private.h.
501 2006-05-15 Behdad Esfahbod <behdad@gnome.org>
503 * === Released 1.13.1 ===
505 * configure.in: Version 1.13.1
509 2006-05-15 Richard Hult <richard@imendio.com>
511 Bug 322374 – Examples does not build on MacOS X
513 * pango/Makefile.am (libpangocairo_1_0_la_LDFLAGS): Add the necessary
514 frameworks to make this build with -no-undefined.
516 2006-05-13 Behdad Esfahbod <behdad@gnome.org>
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)
521 2006-05-13 Behdad Esfahbod <behdad@gnome.org>
523 * pango/fonts.c (pango_font_face_list_sizes): Fix possible NULL
524 dereference. (Coverity issues id=17770&runid=43)
526 2006-05-11 Behdad Esfahbod <behdad@gnome.org>
528 Bug 71033 – make size 0 fonts work
530 * pango/fonts.c (pango_font_description_set_size): Update docs to note
531 a size value of zero may have been set explicitly.
533 * pango/pango-context.c (pango_context_load_font): Don't warn if font
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.)
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.
543 2006-05-01 Behdad Esfahbod <behdad@gnome.org>
545 Bug 340229 – pango_font_description_from_string does not do bound
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.
553 2006-04-29 Behdad Esfahbod <behdad@gnome.org>
555 Bug 329483 – hinting hexbox in cairo backend doesn't handle absolute
557 Bug 340040 – pangocairo hex box hinting falls apart with PS/PDF
560 * configure.in: Require cairo >= 1.1.2. Also pass -no-undefined on all
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.
566 2006-04-29 Behdad Esfahbod <behdad@gnome.org>
568 Bug 329664 – Move gunichar_to_glyph cache from PangoCairoFcFont to
570 Patch from LingNing Zhang.
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
580 2006-04-29 Behdad Esfahbod <behdad@gnome.org>
582 Bug 329547 – pango_layout_get_pixel_extents and
583 pango_layout_get_pixel_size cause off-by-one metrics
585 * docs/pango-sections.txt:
586 * docs/tmpl/glyphs.sgml:
587 * pango/pango-types.h: Define PANGO_PIXELS_FLOOR and PANGO_PIXELS_CEIL.
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.
593 2006-04-29 Behdad Esfahbod <behdad@gnome.org>
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:
620 * pango/pango-coverage.c: Doc updates.
622 2006-04-29 Behdad Esfahbod <behdad@gnome.org>
624 Bug 337594 – pango_glyph_string_extents_range possible bug
626 * pango/glyphstring.c (pango_glyph_string_extents_range): Add offset
629 2006-04-29 Behdad Esfahbod <behdad@gnome.org>
631 Bug 333771 – Use gmodule-no-export-2.0 instead of gmodule-2.0 in
632 pango-uninstalled.pc.in
634 * pango-uninstalled.pc.in: Require gmodule-no-export-2.0, like
637 2006-04-29 Behdad Esfahbod <behdad@gnome.org>
639 Bug 307196 – Unhinted fonts are measured incorrectly and drawing
640 problems occur as a result
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.
647 * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Set fcfont
648 metrics hinting based on cairo font options.
650 2006-04-28 Behdad Esfahbod <behdad@gnome.org>
652 Bug 339749 – pango_language_from_string issues
653 Patch from Morten Welinder.
655 * pango/pango-utils.c (lang_equal): Make the equal function symmetric.
657 2006-04-28 Behdad Esfahbod <behdad@gnome.org>
659 * pango/pangofc-font.c (get_face_metrics),
660 (pango_fc_font_get_raw_extents): Don't use is_hinted. Metrics are
663 * pango/pangoxft-font.c (_pango_xft_font_new): Remove hack that forced
666 2006-04-27 Behdad Esfahbod <behdad@gnome.org>
668 * pangocairo.pc.in, pangocairo-uninstalled.pc.in: Remove CAIRO_CFLAGS
669 from Cflags, as we Require cairo already.
671 2006-04-27 Behdad Esfahbod <behdad@gnome.org>
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
682 2006-04-26 Behdad Esfahbod <behdad@gnome.org>
684 Bug 339747 – pango_font_metrics_get_approximate_digit_width docs
686 * pango/fonts.c: Fix typo in docs.
688 2006-04-26 Behdad Esfahbod <behdad@gnome.org>
690 Bug 339749 – pango_language_from_string issues
692 * pango/pango-utils.c (pango_language_from_string): Avoid lookup that
695 2006-04-23 Behdad Esfahbod <behdad@gnome.org>
697 * === Released 1.13.0 ===
699 * configure.in: Version 1.13.0
703 2006-04-14 Behdad Esfahbod <behdad@gnome.org>
705 * examples/HELLO.utf8: Add Sinhala. (patch from Harshula)
707 2006-04-14 Behdad Esfahbod <behdad@gnome.org>
709 Bug 338343 – Bad cast
711 * pango/pango-layout.c (pango_layout_set_text): Fix cast.
713 2006-04-13 Behdad Esfahbod <behdad@gnome.org>
715 * pango/pangox.c (get_font_metrics_from_subfonts): Check for nullity
718 2006-04-12 Behdad Esfahbod <behdad@gnome.org>
720 * pango/opentype/harfbuzz-gpos.c: Fix loop variables. (coverity
723 2006-04-11 Behdad Esfahbod <behdad@gnome.org>
725 Bug 337924 – cleanups for issues reported by various compilers
726 Patch from Kjartan Maraas.
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:
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
758 2006-04-10 Behdad Esfahbod <behdad@gnome.org>
760 * config.h.win32, examples/makefile.msc: Removed. Have not been
761 updated since Feb 2001.
763 2006-04-10 Behdad Esfahbod <behdad@gnome.org>
765 * pango/pango-layout.c: Fix broken changes I made :).
767 2006-04-10 Behdad Esfahbod <behdad@gnome.org>
769 Fix minor bugs reported by the Coverity scan report.
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.
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.
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
785 * pango/pangox.c (get_font_metrics_from_subfonts): Check for nullity
788 2006-04-09 Tor Lillqvist <tml@novell.com>
790 * pango/pango-utils.c (pango_quantize_line_geometry): Fix typo in
793 2006-04-09 Behdad Esfahbod <behdad@gnome.org>
795 Bug 337821 – invisible unicode chars are visible next to hebrew chars
797 * modules/hebrew/hebrew-fc.c: Handle zero_width chars in fallback
800 * modules/hebrew/hebrew-shaper.c: Remove unused Unicode<->ISO8859
803 2006-04-07 Behdad Esfahbod <behdad@gnome.org>
805 Incorrect text rendering when in x86 64-bit precision mode
806 https://bugs.freedesktop.org/show_bug.cgi?id=5200
808 * pango/pangocairo-fcfont.c:Round metrics when converting
811 2006-04-06 Behdad Esfahbod <behdad@gnome.org>
813 Bug 337502 – Win32 build fix
814 Patch from Alexander Larsson.
816 * pango/pangocairo-fontmap.c: Fix order of checking for freetype and
817 win32 cairo backends to match the constructor.
819 * pango/pangoft2.def: Add missing symbol
821 2006-04-06 Behdad Esfahbod <behdad@gnome.org>
823 * pango/opentype: Update from HarfBuzz. Lars Knoll fixed all the
826 2006-04-04 Behdad Esfahbod <behdad@gnome.org>
828 * pango/pango-utils.c, pango/querymodules.c: Fix a few warnings.
830 2006-04-03 Behdad Esfahbod <behdad@gnome.org>
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).
835 2006-04-03 Behdad Esfahbod <behdad@gnome.org>
837 Bug 337029 – pango/fonts.c: Illegal structure initialization
839 * pango/fonts.c: Change NULL's to ""'s after previous change, and fix
842 2006-03-31 Behdad Esfahbod <behdad@gnome.org>
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.
850 2006-03-31 Behdad Esfahbod <behdad@gnome.org>
852 Part of Bug 336026 – Make fallback shaper in modules work
853 Patch from Denis Jacquerye.
855 * pango/pango-ot-buffer.c (pango_ot_buffer_output): Call
856 pango_fc_font_kern_glyphs if GPOS not applied.
858 2006-03-31 Behdad Esfahbod <behdad@gnome.org>
860 Bug 334802 – Using plain integer as NULL pointer
862 * pango/mapping.c (pango_glyph_string_x_to_index): Fix type assigining
863 trailing instead of *trailing.
865 * pango/pango-layout.c (pango_layout_line_new): Use NULL instead of 0.
867 2006-03-31 Behdad Esfahbod <behdad@gnome.org>
869 Convert pango/opentype to the new project called HarfBuzz.
871 * pango/opentype/*: Restructured.
873 * pango/pango-ot-*: Updated to use HarfBuzz symbol names.
875 2006-03-30 Behdad Esfahbod <behdad@gnome.org>
877 Bug 335840 – Typo in including Xft.
879 * pangoxft-render.h: Define _XFT_NO_COMPAT_ instead of _XFT_NO_COMPAT.
881 2006-03-30 Behdad Esfahbod <behdad@gnome.org>
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 "...".
888 2006-03-30 Behdad Esfahbod <behdad@gnome.org>
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.
894 2006-03-30 Tor Lillqvist <tml@novell.com>
896 Fix blurred underlines on Win32 (#332656):
898 * pango/pango-utils.c (pango_quantize_line_geometry):
899 New public function. Used to be the static quantize_position() in
902 * pango/pango-utils.h: Declare it.
904 * pango/pango.def: Here, too.
906 * pango/pangofc-font.c (quantize_position): Remove.
907 (get_face_metrics): Use pango_quantize_line_geometry() instead.
909 * pango/pangocairo-win32font.c (create_metrics_for_context): Call
910 pango_quantize_line_geometry() for underline and strikethrough
913 2006-03-25 Behdad Esfahbod <behdad@gnome.org>
915 * pango/opentype/ottest.c: Don't err on Table_Missing.
917 2006-03-13 Behdad Esfahbod <behdad@gnome.org>
919 Create pango-1-12 stable branch.
921 * ChangeLog.pre-1-12: Created.
923 * Makefile.am: Updated to dist above.