📄 changelog.pre-1-16
字号:
(pango_renderer_set_color), (pango_renderer_get_color), (pango_renderer_part_changed), (pango_renderer_prepare_run), (pango_renderer_set_matrix): Replace PANGO_IS_RENDERER with PANGO_IS_RENDERER_FAST that is just a NULL-check.2006-12-01 Behdad Esfahbod <behdad@gnome.org> Red Hat Bug 213632: ZWJ (200d) and ZWNJ (200c) showing same output Patch from LingNing Zhang * modules/indic/indic-ot.c (indic_ot_reorder): Handle ZWNJ.2006-12-01 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_run_get_width), (update_run), (pango_layout_iter_copy), (pango_layout_iter_get_run_extents): Don't cache run_logical_rect in PangoLayoutIter. Just cache run_width that can be fastly computed using pango_glyph_string_get_width(). Avoids one pango_font_get_glyph_extents() call per glyph per layout rendering. We are down to 1 now.2006-11-30 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_get_extents_internal): Rework the way we compute the real_width to avoid calling pango_layout_get_extents(), and so, avoid one pango_font_get_glyph_extents() call per glyph per layout rendering. We now make 2 such calls.2006-11-30 Behdad Esfahbod <behdad@gnome.org> * pango/pango-renderer.c (pango_renderer_draw_layout_line): Don't call into pango_glyph_string_extents() if we don't need anything out of it! (Ok, that function returns immediately in that case, but still, avoiding the call overhead.)2006-11-30 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-render.c (acquire_renderer), (release_renderer): Use G_LOCK_* wrappers for GStaticMutex.2006-11-28 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_font_install), (_pango_cairo_font_get_font_face), (_pango_cairo_font_get_scaled_font): * pango/pangocairo-private.h: * pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Revert two of the cast changes from last commit, to make sure the test-pangocairo-fontmap-mismatch test doesn't crash.2006-11-28 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_font_face), (pango_cairo_fc_font_install), (pango_cairo_fc_font_finalize), (pango_cairo_fc_font_get_metrics), (pango_cairo_fc_font_shutdown), (_pango_cairo_fc_font_new): * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_set_resolution), (pango_cairo_fc_font_map_get_resolution_cairo), (pango_cairo_fc_font_map_get_renderer), (pango_cairo_fc_font_map_finalize), (pango_cairo_fc_font_map_get_resolution_fc), (pango_cairo_fc_font_map_create_font): * pango/pangocairo-font.c (_pango_cairo_font_install), (_pango_cairo_font_get_font_face), (_pango_cairo_font_get_scaled_font), (_pango_cairo_font_get_hex_box_info): * pango/pangocairo-fontmap.c (pango_cairo_create_layout): * pango/pangocairo-render.c (set_color), (_pango_cairo_renderer_draw_unknown_glyph), (pango_cairo_renderer_draw_glyphs), (pango_cairo_renderer_draw_rectangle), (pango_cairo_renderer_draw_error_underline): Use simple, fast, casts instead of PANGO_CAIRO_*() macros where the object cannot have reached us if it wasn't of the right type.2006-11-27 Behdad Esfahbod <behdad@gnome.org> Bug 371388 – Add Thai langauage engine Patch from Theppitak Karoonboonyanan * configure.in: Look for libthai and enable thai-lang module. * modules/thai/Makefile.am: Hook thai-lang module. * modules/thai/thai-lang.c: New Thai language engine that uses libthai to do dictionary-based Thai line-breaking. * examples/test-thai.txt: Improved.2006-11-25 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-render.c (acquire_renderer), (release_renderer), (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Make renderer-cache really thread-safe this time. Last try was not quite thread-safe theoretically, because pointer assignments are not necessarily atomic on some archs. Anyway, this one should do it.2006-11-22 Behdad Esfahbod <behdad@gnome.org> * examples/HELLO.utf8: * examples/Makefile.am: * examples/test-lao.txt: Add Lao text samples from Anousak Souphavanh.2006-11-22 Behdad Esfahbod <behdad@gnome.org> Bug 377975 – bug in _pango_glyph_item_iter_next_cluster * pango/pango-glyph-item.c (_pango_glyph_item_iter_next_cluster), (_pango_glyph_item_iter_prev_cluster): Fix condition for ending a cluster.2006-11-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-glyph-item.c: Fix typo in private docs.2006-11-20 Behdad Esfahbod <behdad@gnome.org> Bug 356666 – pango is not thread-safe, nautilus does not honour that * pango/pangocairo-render.c (acquire_renderer), (release_renderer), (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Instead of using a per-fontmap renderer, use a locally cached one, but make sure only one thread uses the cached renderer. Fixes the raciest point in pangocairo.2006-11-14 Behdad Esfahbod <behdad@gnome.org> Bug 352795 – configure.in: Bug in "checking Whether to write dependencies into .pc files" * configure.in: Make libtool magic robust.2006-11-14 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c (itemize_state_process_run): Choose shaper/font for unassigned Unicode codepoints too. This is needed to be able to render scripts being encoded before next version of Unicode is out.2006-11-08 Roozbeh Pournader <roozbeh@farsiweb.info> Bug 350132 – backspacing doesn't work properly for Arabic * modules/arabic/arabic-lang.c: Add more backspace_deletes_character cases.2006-11-08 Behdad Esfahbod <behdad@gnome.org> Bug 369670 – Crash when selecting text using the keyboard * pango/pango-layout.c (pango_layout_move_cursor_visually): Don't index vis2log_map[] with a negative value.2006-11-02 Behdad Esfahbod <behdad@gnome.org> Bug 369670 – Checked g_free calls * pango/pango-coverage.c (pango_coverage_unref): * pango/pango-layout.c (pango_layout_finalize), (pango_layout_set_text): * pango/pangofc-font.c (pango_fc_font_finalize): * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): Remove redundant checks before g_free() calls.2006-10-24 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am (cairosimple_LDADD): Do not require pangoft2 unconditionally.2006-10-24 Behdad Esfahbod <behdad@gnome.org> * pango/pangoft2-fontmap.c (pango_ft2_font_map_class_init), (pango_ft2_font_map_get_resolution): Implement get_resolution for FT2 fontmaps.2006-10-18 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-lang.c: Do not include arabic-ot.h.2006-10-18 Behdad Esfahbod <behdad@gnome.org> * examples/test-thai.txt: Replace by a better one.2006-10-17 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am: * examples/test-thai.txt: Added.2006-10-16 Behdad Esfahbod <behdad@gnome.org> * === Released 1.15.0 === * configure.in: Version 1.15.0 * NEWS: Updated.2006-10-16 Behdad Esfahbod <behdad@gnome.org> Bug 330407 – Multiple dependant vowel signs (indic) displayed as one Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c: Change state transition for cn to dv.2006-10-13 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-info.c (pango_ot_info_get_type): * pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type): * pango/pangoatsui-fontmap.c (pango_atsui_family_get_type), (pango_atsui_face_get_type): * pango/pangocairo-font.c (pango_cairo_font_get_type): * pango/pangocairo-fontmap.c (pango_cairo_font_map_get_type): * pango/pangofc-fontmap.c (pango_fc_face_get_type), (pango_fc_family_get_type): * pango/pangowin32-fontmap.c (pango_win32_family_get_type), (pango_win32_face_get_type): * pango/pangox-fontmap.c (pango_x_font_map_get_type), (pango_x_face_get_type), (pango_x_family_get_type): * pango/pangox.c (pango_x_font_get_type): Make TypeInfo structs not static. Reduces relocations.2006-10-13 Behdad Esfahbod <behdad@gnome.org> Bug 361938 – Can't include *-lang modules (./configure --with-included-modules fails) * configure.in: * modules/Makefile.am: * pango/.cvsignore: * pango/Makefile.am: * pango/modules.c (init_modules): * pango/modules.h: Make included language engines work.2006-10-12 Behdad Esfahbod <behdad@gnome.org> Bug 353877 – Sinhala is_cursor_position and backspace_deletes_character issues Patch from Akira TAGOH * configure.in: * modules/indic/Makefile.am: * modules/indic/indic-lang.c: Add a simple Indic language engine.2006-10-12 Behdad Esfahbod <behdad@gnome.org> Bug 358224 – Telugu Character U+0C31 does not render its below-base form. Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: Change the class of U+0C31 from '_ct' to '_bb'.2006-10-12 Behdad Esfahbod <behdad@gnome.org> Bug 358174 – Reph and Vattu forms of Assamese character RA(U+09F0) are not rendered. Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: Change the class bit of U+09F0 from '_ct' to '_rv'.2006-10-07 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am: * examples/test-latin.txt: Add part of Jabberwocky as Latin test text.2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 356685 – [or_IN] Rendering of consonant+0x0B4D+0x0B2F is wrong Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: Change _ct to _bb for various Orya characters.2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30) Patch from Rahul Bhalerao * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): Fix.2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 359043 – PangoRenderer does not show in API docs * docs/pango-docs.sgml: Hook PangoRenderer docs.2006-10-02 Behdad Esfahbod <behdad@gnome.org> Bug 359046 – renderdemo.c unconditionally use GLib 2.12 * configure.in: Require glib 2.12, for Unicode 5.0 data files.2006-09-25 Behdad Esfahbod <behdad@gnome.org> Bug 357686 – pangocairo-font.c: illegal g_object_unref in pango_cairo_font_get_hex_box_info * pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info): Remove wrong g_object_unref (fontmap).2006-09-22 Behdad Esfahbod <behdad@gnome.org> Bug 357228 – Remove aix specific hack from configure.in * configure.in: Remove hack added back 2002 that is not required anymore.2006-09-18 Behdad Esfahbod <behdad@gnome.org> * configure.in: Step module interface version to 1.6.0 because of the script_break() slight change of behavior and anticipated changes to the module interface this cycle.2006-09-18 Behdad Esfahbod <behdad@gnome.org> Part of Bug 350132 – backspacing doesn't work properly for Arabic * configure.in: * modules/arabic/Makefile.am: * modules/arabic/arabic-lang.c: Add a simple Arabic language engine. Currently it just makes sure that backspace_deletes_character is not set on ALEF-MADDA combinations.2006-09-18 Behdad Esfahbod <behdad@gnome.org> * tools/gen-script-table.pl: * pango/pango-script-table.h: * pango/pango-script.c (pango_script_for_unichar): Minor simplification. * tests/testscript.c (test_script_lookup): Update to pass.2006-09-18 Behdad Esfahbod <behdad@gnome.org> * pango/pangoft2-render.c (pango_ft2_font_render_glyph): Remove a couple of unnecessary static variables.2006-09-18 Behdad Esfahbod <behdad@gnome.org> Bug 356194 – more pango_get_log_attrs problems * pango/break.c (tailor_break): New function. Simply calls the script_break() function of the language engine, if any. * pango/break.c (pango_break): Call pango_default_break() unconditionally. Call tailor_break() on top of the result to tailor it using the language engines, if any. * pango/break.c (tailor_segment): Call tailor_break() on the segment, and make sure the log_attrs for the first position are not corrupted. * pango/break.c (pango_get_log_attrs): Call pango_default_break() on the entire paragraph, and call tailor_segment on each segment. * pango/pango-engine.h: Update docs about *script_break()'s behavior.2006-09-15 Behdad Esfahbod <behdad@gnome.org> Bug 355820 – pango_get_log_attrs broken * pango/break.c (break_it), (pango_get_log_attrs): Use PangoScriptIter to itemize text, instead of pango_script_for_unichar().2006-09-15 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-fontmap.c (pango_fc_face_describe): Unset gravity on the resulting font description. We want gravity to be set on all fonts described, but not font faces.2006-09-14 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-ot-class-tables.c: Change enums to macros, to get in synch with ICU shaper. No functional changes.2006-09-14 Behdad Esfahbod <behdad@gnome.org> * modules/indic/indic-ot.h: Change some enums to macros, to get in synch with ICU shaper. No functional changes.2006-09-13 Behdad Esfahbod <behdad@gnome.org> Bug 351223 – the conjuction of Con + 0x0d4d +0x0d31 of Malayalam is wrong Patch from LingNing Zhang * modules/indic/indic-ot.c (swapChars), (indic_ot_reorder): Special case the above case.2006-09-13 Behdad Esfahbod <behdad@gnome.org> Bug 355750 – The glyphs of the conjuctions about Cons+0x0d4d+0x0d32 of Malayalm are wrong. Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c (mlymCharClasses): Change U+0D32 from _bb to _ct.2006-09-13 Behdad Esfahbod <behdad@gnome.org> Bug 349876 – U+0x0904 of Devanagari need be "independent vowel", but it is "reserved" in Pango Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c (devaCharClasses): Change U+0904 from _xx to _iv.2006-09-13 Behdad Esfahbod <behdad@gnome.org> Bug 355550 – Miscalculation of logical attributes in pango_get_log_attrs() Patch from Theppitak Karoonboonyanan * pango/break.c (pango_get_log_attrs): Pass the correct lang_engine to pango_break().2006-09-13 Behdad Esfahbod <behdad@gnome.org> * pango/modules.c (pango_engine_pair_get_engine): Err about failing to load engine only once per module.2006-09-13 Behdad Esfahbod <behdad@gnome.org> Bug 355697 – The IndicOTClassTable of Oriya has a error. * modules/indic/indic-ot-class-tables.c: Compute lastChar from charClasses table size to avoid out-of-synch.2006-09-13 Behdad Esfahbod <behdad@gnome.org> Part of Bug 355782 – Misaligned extents in pango * pango/pango-layout.c (pango_layout_get_extents_internal), (pango_layout_get_extents), (pango_layout_iter_copy), (pango_layout_get_iter), (pango_layout_iter_get_line_extents): Add a new internal member layout_width to PangoLayoutIter. Set it up in pango_layout_get_extents_internal and use in pango_layout_iter_get_line_extents to fix misalignment of ink link extents.2006-09-13 Behdad Esfahbod <behdad@gnome.org> "Thou shalt not touch code that does not fit in thy brain." * pango/pango-layout.c (update_cluster): Add cluster_start_index parameter back in.2006-09-13 Behdad Esfahbod <behdad@gnome.org> * pango/pango-engine.h: Remove unnecessary 'static' in type definition
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -