📄 changelog.pre-1-16
字号:
* configure.in: Automatically use -mms-bitfields on Windows when building with gcc. (#394453)2007-01-13 Hans Breuer <hans@breuer.org> * pango/makefile.msc pango/opentype/makefile.msc : updated2007-01-08 Behdad Esfahbod <behdad@gnome.org> * === Released 1.15.3 === * configure.in: Version 1.15.3 * NEWS: Updated.2007-01-08 Behdad Esfahbod <behdad@gnome.org> Bug 351496 – PangoAnalysis::gravity breaks binary compatibility * docs/pango-sections.txt: * docs/tmpl/glyphs.sgml: * docs/tmpl/main.sgml: * pango/pango-context.c (itemize_state_add_character): * pango/pango-item.h: * pango/pango-layout.c (pango_layout_run_get_extents): * pango/pango-renderer.c (pango_renderer_draw_layout_line): Don't introduce bitfields in public struct and rename PangoAnalysis. centered_baseline to PangoAnalysis.flags and introduce PANGO_ANALYSIS_FLAGS_CENTERED_BASELINE.2007-01-07 Behdad Esfahbod <behdad@gnome.org> * docs/tmpl/engines.sgml: * docs/tmpl/fonts.sgml: * docs/tmpl/freetype-fonts.sgml: * docs/tmpl/layout.sgml: * docs/tmpl/main.sgml: * docs/tmpl/modules.sgml: * docs/tmpl/opentype.sgml: * docs/tmpl/pango-renderer.sgml: * docs/tmpl/pango-version.sgml: * docs/tmpl/pangofc-font.sgml: * docs/tmpl/pangofc-fontmap.sgml: * docs/tmpl/text-attributes.sgml: * docs/tmpl/win32-fonts.sgml: * docs/tmpl/x-fonts.sgml: * docs/tmpl/xft-fonts.sgml: * pango/ellipsize.c: * pango/fonts.c: * pango/glyphstring.c: * pango/modules.c: * pango/pango-attributes.c: * pango/pango-context.c: * pango/pango-context.h: * pango/pango-coverage.c: * pango/pango-glyph-item.c: * pango/pango-layout.c: * pango/pango-layout.h: * pango/pango-markup.c: * pango/pango-matrix.c: * pango/pango-ot-buffer.c: * pango/pango-ot-info.c: * pango/pango-ot-ruleset.c: * pango/pango-renderer.c: * pango/pango-script.c: * pango/pango-utils.c: * pango/pangoatsui-fontmap.c: * pango/pangocairo-fontmap.c: * pango/pangofc-font.c: * pango/pangofc-font.h: * pango/pangofc-fontmap.c: * pango/pangofc-fontmap.h: * pango/pangoft2-fontmap.c: * pango/pangoft2-render.c: * pango/pangoft2.c: * pango/pangowin32-fontcache.c: * pango/pangowin32-fontmap.c: * pango/pangowin32.c: * pango/pangox-fontmap.c: * pango/pangox.c: * pango/pangoxft-font.c: * pango/pangoxft-fontmap.c: * pango/pangoxft-render.c: * pango/reorder-items.c: Spell-check the docs.2007-01-07 Tor Lillqvist <tml@novell.com> * modules/basic/Makefile.am: Fix build on Win32 outside srcdir. (#392789, J. Ali Harlow)2007-01-04 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.c: Improve docs, and mention g_unichar_iszerowidth().2007-01-04 Behdad Esfahbod <behdad@gnome.org> Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21 * pango/pango-types.h: * pango/pango-matrix.c: New public API: pango_matrix_transform_distance() pango_matrix_transform_point() pango_matrix_transform_rectangle() pango_matrix_transform_pixel_rectangle() * pango/pango-utils.h: * pango/pango-utils.c: New public API: pango_units_from_double() pango_units_to_double() pango_extents_to_pixels() * pango/pango-layout.c (pango_layout_get_pixel_extents), (pango_layout_line_get_pixel_extents): Use pango_extents_to_pixels(). * pango/pangocairo-fcfont.c: (pango_cairo_fc_font_glyph_extents_cache_init), (compute_glyph_extents): Use pango_units_from_double(). * examples/renderdemo.c (do_output): Use pango_matrix_transform_pixel_rectangle(); * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/glyphs.sgml: Update.2007-01-03 Changwoo Ryu <cwryu@debian.org> Bug 388702 – Crash when there's no Hangul glyph in the font. * modules/hangul/hangul-fc.c (render_syllable): Do not try to render unknown syllable glyphs as jamos. * modules/hangul/hangul-fc.c (hangul_engine_shape): Check if the remaining string is a syllable. Bug 388581 - Every last Hangul syllable is decomposed to jamos. * modules/hangul/hangul-fc.c (hangul_engine_shape): Check if the remaining string is a syllable.2007-01-03 Behdad Esfahbod <behdad@gnome.org> Bug 390877 – Don't feed pango-features.h to glib-mkenums Patch from Yevgen Muntyan * pango/Makefile.am: Move pango-features.h to pangoinclude_HEADERS.2006-12-23 Behdad Esfahbod <behdad@gnome.org> Bug 384543 – FcFontMatch misuse * pango/pangofc-fontmap.c (pango_fc_face_describe): Call FcConfigSubstitute and FcDefaultSubstitute before calling FcFontMatch. * pango/pangoft2.c (load_fallback_face): Call _pango_ft2_font_map_default_substitute(). * pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_context_substitute): Handle the case of context == NULL.2006-12-23 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.c (pango_language_get_default): Improve docs.2006-12-20 Behdad Esfahbod <behdad@gnome.org> * === Released 1.15.2 === * configure.in: Version 1.15.2 * NEWS: Updated.2006-12-19 Behdad Esfahbod <behdad@gnome.org> Bug 326099 – Setting width, indentation and ellipsizing doesn't work as I would expect * pango/ellipsize.c (_pango_layout_line_ellipsize): Account for indentation when deciding what width to ellipsize for. * pango/pango-layout.c (get_alignment): Don't bother about conditioning on the line direction for center alignment.2006-12-20 Changwoo Ryu <cwryu@debian.org> * modules/hangul/hangul-defs.h: * modules/hangul/hangul-fc.c (hangul_engine_shape): Optimizing for non-old Hangul users; no more waste of decompose and compose. (render_syllable): The string argument is now in UTF-8. Normalization is now done only when the entire sequence is equivalent to a precomposed syllable. (render_isolated_tone): Conditioned out tone mark's dummy base character drawing.2006-12-17 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): Avoid some floating-point operations by caching the y value for the baseline, using it for glyphs having y_offset of 0.2006-12-15 Frederic Crozat <fcrozat@mandriva.com> Bug 385478 – Fix tests on OPD platform * pango/check.defs: Fix tests on OPD platform to report correct symbols name.2006-12-13 Behdad Esfahbod <behdad@gnome.org> Bug 319808 – Patch to let pango support artifical italic, bold and bold italic styles for the fonts which don't have these styles. Patch from James Su * pango/pangofc-fontmap.c (pango_fc_face_describe), (create_face), (pango_fc_family_list_faces): Create fake Bold, Italic, and Bold Italic faces for fonts that do not have one.2006-12-13 Gwenole Beauchesne <gbeauchesne@mandriva.com> Bug 385478 – Fix tests on OPD platform * pango/check.defs: Improve symbols extraction for OPD-based platforms (e.g. ppc64, ia64).2006-12-13 Behdad Esfahbod <behdad@gnome.org> Bug 385321 – Worst case expansion for Sinhala Patch from Harshula * modules/indic/indic-ot-class-tables.c: Change worst case expansion for Sinhala from 3 to 4. This is only superficial because Pango doesn't appear to ever use the worst case expansion value.2006-12-08 Behdad Esfahbod <behdad@gnome.org> Red Hat Bug 211574: [hi/ml/si_LK] cursor naviation is wrong when using ZWJ (200d) Patch from LingNing Zhang * modules/indic/indic-lang.c (indic_engine_break): Handle cursor movement around ZWJ and ZWNJ.2006-12-07 Behdad Esfahbod <behdad@gnome.org> Red Hat Bug 216424: [te_IN] pango - consonant + dependent vowel (ai) Composed char is not rendering properly Patch from LingNing Zhang * modules/indic/indic-ot.c (indic_ot_reorder): Fix it!2006-12-07 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout-private.h: * pango/pango-layout.c (pango_layout_get_extents_internal), (pango_layout_get_extents), (pango_layout_clear_lines), (pango_layout_line_leaked), (pango_layout_line_get_extents), (pango_layout_iter_copy), (pango_layout_get_iter), (pango_layout_iter_get_layout_extents): Cache layout ink and logical extents.2006-12-06 Behdad Esfahbod <behdad@gnome.org> * configure.in: * pango/Makefile.am: New generated public header file pango-features.h. Currently contains the version information. In the future, can be expanded to define which backends have been enabled, etc. * pango/pango.def: * pango/pango-utils.h: * pango/pango-utils.c: New public macros and functions: PANGO_VERSION_ENCODE(), PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR, PANGO_VERSION_MICRO, PANGO_VERSION, PANGO_VERSION_STRING, PANGO_VERSION_CHECK(), pango_version(), pango_version_string(), pango_version_check(). * docs/pango-docs.sgml: * docs/pango-sections.txt: * docs/tmpl/pango-version.sgml: Docs for new symbols, in a new section. * examples/renderdemo.c (show_version): If run-time Pango lib version is different than the compile-time one, show that one too. * pango/pango.h: #include <pango-utils.h> as well as almost all other public pango-*.h headers (though, the other ones were already included indirectly). The only public pango-*.h header pango.h shouldn't include are pango-ot.h (which is really misnamed) and pango-modules.h (that should not be needed by 99.99% users anyway). * docs/Makefile.am: * docs/check.docs: Test to check that all symbols are documented and properly hooked into documentation tree. * pango/pango.rc.in: * pango/pangoft2.rc.in: * pango/pangowin32.rc.in: Update, reflecting some internal symbol changes. * pango/check.defs: Improve.2006-12-06 Behdad Esfahbod <behdad@gnome.org> * examples/renderdemo.c (do_output): Set context language to pango_language_get_default() instead of hardcoding "en-US". * pango/pango-utils.c (pango_language_get_default): Improve docs.2006-12-06 Behdad Esfahbod <behdad@gnome.org> Bug 333982 – Fallback to $LANG whenever NULL PangoLanguage is used Patch from LingNing Zhang * docs/pango-sections.txt: * docs/tmpl/utils.sgml: * pango/pango-context.c: * pango/pango-types.h: * pango/pango-utils.c (_pango_get_lc_ctype), (pango_language_get_default): * pango/pango.def: New public function pango_language_get_default(). Note that, this does not make Pango fallback to the default language automatically, but the user can use this function to set the default language of the locale on a context: pango_context_set_language (context, pango_language_get_default());2006-12-06 Behdad Esfahbod <behdad@gnome.org> Bug 373856 – Wish: Function to convert a GdkColor to a string Patch from Matthew Barnes * docs/pango-sections.txt: * docs/tmpl/text-attributes.sgml: * pango/pango-attributes.h: * pango/pango.def: * pango/pango-color.c (pango_color_to_string): New public function pango_color_to_string().2006-12-06 Behdad Esfahbod <behdad@gnome.org> Red Hat Bug 216850: Issue in combination with vowels (ml_IN) Patch from LingNing Zhang * modules/indic/indic-ot.c (indic_ot_reorder): Fix it!2006-12-06 Behdad Esfahbod <behdad@gnome.org> Bug 382437 – tests/testboundaries fails * configure.in: Require libthai >= 0.1.72006-12-06 Behdad Esfahbod <behdad@gnome.org> * examples/Makefile.am: * examples/test-gurmukhi.txt: Gurmukhi test text from supreet sethi.2006-12-05 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/layout.sgml: * pango/pango-layout.c (pango_layout_get_lines_readonly), (pango_layout_get_line_readonly), (pango_layout_iter_get_run_readonly), (_pango_layout_iter_get_line), (pango_layout_iter_get_line), (pango_layout_iter_get_line_readonly): * pango/pango-layout.h: * pango/pango-renderer.c (pango_renderer_draw_layout): * pango/pango.def: Add new functions: pango_layout_get_line_readonly() pango_layout_get_lines_readonly() pango_layout_iter_get_line_readonly() pango_layout_iter_get_run_readonly() These should be used when you do not intend to modify the run/line, which is more than most of the time. So, update your app, benefit from more optimizations (in this case, line extents caching)!2006-12-04 Behdad Esfahbod <behdad@gnome.org> * === Released 1.15.1 === * configure.in: Version 1.15.1 * NEWS: Updated.2006-12-04 Behdad Esfahbod <behdad@gnome.org> Bug 135683 – Cache glyphstring extents Cache line extents. This avoids the final pango_font_get_glyph_extents() call per glyph per layout rendering. Now we don't make any pango_font_get_glyph_extents() calls when rendering a layout (some conditions apply). * pango/pango-layout.c (pango_layout_get_lines), (pango_layout_get_line), (pango_layout_line_leaked), (pango_layout_line_get_extents), (pango_layout_line_new), (pango_layout_iter_get_run), (pango_layout_iter_get_line): Cache line extents. Line extents are cached only if the user doesn't have a pointer to the line or any of its runs. Functions that give away such pointers mark the line as "leak"ed. * pango/pango-layout.c (pango_layout_index_to_line_and_extents), (pango_layout_xy_to_index), (pango_layout_index_to_pos): Use _pango_layout_iter_get_line() which is like pango_layout_iter_get_line() but doesn't leak the line. * pango/pango-layout-private.h: Add pango_layout_iter_get_line() duplicate _pango_layout_iter_get_line_readonly() that doesn't leak the line. * pango/pango-renderer.c (pango_renderer_draw_layout): Use _pango_layout_iter_get_line_readonly().2006-12-04 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame): Improve upon last change. Suggested by Carl Worth: use cairo_rectangle(x + width, y, -width, height) to do a rectangle with the other orientation.2006-12-04 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame), (_pango_cairo_renderer_draw_box_glyph), (_pango_cairo_renderer_draw_unknown_glyph): Fix handling of boxes drawn in do_path mode. Previously we were doing one rectangle and stroke it if in show mode, and leave it alone if in path mode. That doesn't really work. Now we do two rectangles, for the outer and inner rects of the box border, but with different orientations, such that pango_cairo_layout_path(); cairo_fill(); works for hexboxes now.2006-12-04 Behdad Esfahbod <behdad@gnome.org> Red Hat Bug 211964: [ta] Rendering issue with Tamil Patch from LingNing Zhang * modules/indic/indic-ot-class-tables.c (indic_ot_find_syllable): Handle 2 split matra.2006-12-04 Behdad Esfahbod <behdad@gnome.org> * pango/pango-renderer.c (pango_renderer_draw_layout_line), (pango_renderer_draw_glyphs), (pango_renderer_draw_rectangle), (pango_renderer_draw_error_underline), (pango_renderer_draw_trapezoid), (pango_renderer_draw_glyph), (pango_renderer_activate), (pango_renderer_deactivate),
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -