📄 changelog.pre-1-12
字号:
pango/pangocairo-fcfont.c, pango/pangocairo-font.c, pango/pangocairo-private.h: install_font returns a boolean now. * pango/pangocairo-render.c, pango/pangoxft-render.c: Handle font and hex-box failures more gracefully by drawing a generic unknown-box glyph. * pango/pangoft2.c, pango/pangoft2-render.c: Draw the generic unknown-box glyph here too. For unknown glyphs though, if the font is TTF (FT_IS_SFNT), use the zero-indexed glyph, otherwise, draw a box of proper size.2006-02-02 Behdad Esfahbod <behdad@gnome.org> * pango/pangoft2.c: Do unknown glyph extents here too.2006-02-02 Behdad Esfahbod <behdad@gnome.org> * pango/pangoxft-font.c, pango/pangoxft-render.c: Guard Xft backend agains crashes too.2006-02-02 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c, modules/basic/basic-atsui.c, modules/basic/basic-fc.c, modules/basic/basic-win32.c, modules/basic/basic-x.c, modules/hangul/hangul-fc.c, modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c, modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c, modules/thai/thai-fc.c, modules/tibetan/tibetan-fc.c, pango/fonts.c, pango/pango-engine-private.h pango/pango-types.h, pango/pangocairo-fcfont.c, pango/pangocairo-font.c, pango/pangocairo-private.h, pango/pangocairo-render.c, pango/pangofc-decoder.c, pango/pangofc-font.c, pango/pangoft2-render.c, pango/pangoft2.c pango/pangowin32.c, pango/pangox.c, pango/pangoxft-font.c pango/pangoxft-private.h, pango/pangoxft-render.c, pango/shape.c: Use PANGO_GLYPH_NULL for when no glyph should be drawn. Use PANGO_GLYPH_UNKNOWN_FLAG for all backends to mark unknown flags. There's no need for pango_font_get_unknown_glyph() anymore, since all backends know how to handle PANGO_GLYPH_UNKNOWN_FLAG gracefully. We may add that in the future however. (fixes bug #73147, closes bug #329524)2006-02-02 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.c (read_config_file): Fix GKeyFile transition.2006-02-01 Behdad Esfahbod <behdad@gnome.org> * configure.in: AC_DEFINE (HAVE_CAIRO_PNG). * examples/cairoview.c: Save to PNG if cairo has PNG support and --output is given.2006-02-01 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c: For mini_font, set family to "monospace", not "mono-space" which didn't work!2006-02-01 Behdad Esfahbod <behdad@gnome.org> * examples/xftview.c: Add a default_substitute function to set correct dpi on the pattern.2006-02-01 Behdad Esfahbod <behdad@gnome.org> * examples/viewer-x.c, examples/viewer-x.h: Driver for X-based viewer. Used by pangocairo-view and pangoxft-view currently. * examples/Makefile.am, examples/cairoview.c, examples/xftview.c, examples/pangoft2topgm.c, examples/renderdemo.h, examples/renderdemo.c: Adjust to the above change.2006-02-01 Behdad Esfahbod <behdad@gnome.org> * examples/viewer.c: Removed.2006-02-01 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.c, pango/pangocairo-font.c: Initialize warning history structs more explicitly. (bug #329459)2006-01-31 Behdad Esfahbod <behdad@gnome.org> * examples/syriac.utf, examples/tibetan.utf, examples/muru.utf, examples/dev-example.utf: Removed/renamed. * examples/test-arabic.txt, examples/test-devanagari.txt, examples/test-ipa.txt, test-syriac.txt, test-tamil.txt, test-tibetan.txt: Added. * examples/Makefie.am: Change pango-cairoview, pango-xftview, pangoft2topgm to pangocairo-view, pangoxft-view, and pangoft2-topgm respectively.2006-01-31 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_get_hex_box_info): Use cairo_scaled_font_text_extents instead of cairo_text_extents.2006-01-31 Behdad Esfahbod <behdad@gnome.org> * configure.in: Require cairo >= 1.1.1.2006-01-31 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-private.h, pango/pangocairo-font.c, pango/pangocairo-render.c: Hint hexbox. Also draw a single-row hexbox for very small sizes.2006-01-31 Behdad Esfahbod <behdad@gnome.org> Bug 328313 – Use GKeyFile for parsing pangorc Patch from Antoine Dopffer. * pango/pango-utils.c (read_config_file): Use GKeyFile to parse config file.2006-01-31 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c, pango/glyphstring.c pango/pango-attributes.c, pango/pango-color.c, pango/pango-context.c, pango/pango-coverage.c, pango/pango-fontset.c, pango/pango-glyph-item.c, pango/pango-item.c, pango/pango-layout.c, pango/pango-ot-buffer.c, pango/pango-ot-info.c, pango/pango-ot-ruleset.c, pango/pango-script.c, pango/pango-tabs.c pango/pango-utils.c, pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c, pango/pangox-fontcache.c, pango/pangoxft-render.c: Improve documentation for functions allocating memory, on how the object should be freed.2006-01-30 Behdad Esfahbod <behdad@gnome.org> * === Released 1.11.3 === * configure.in: Version 1.11.3 * NEWS: Updated.2006-01-30 Behdad Esfahbod <behdad@gnome.org> * pango/shape.c (pango_shape): * pango/fonts.c (pango_font_get_glyph_extents): * pango/pangocairo-font.c (_pango_cairo_font_install): Improve error handling in high-frequency functions: Only warn once. * pango-impl-utils.h, pangoutils.h: * pangocairo-private.h, pangocairo-font.c: Add machinery for above: _pango_warning_history and _pango_cairo_warning_history.2006-01-30 Behdad Esfahbod <behdad@gnome.org> Bug 328314 – Examples should use GOption instead of argcontext.c Patch from Antoine Dopffer. * examples/renderdemo.c: Use GOption for parsing cmd-line options. * examples/argcontext.c, examples/argcontext.h: Removed.2006-01-30 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/ftxgsub.c: Handle GSUB Lookup type 8, and ReverseChainContextualSubst table. (bug #149696, patch from Aamir Wali)2006-01-29 Behdad Esfahbod <behdad@gnome.org> * modules/arabic/arabic-fc.c, modules/basic/basic-fc.c, modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c, modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c, modules/thai/thai-ot.c, modules/thai/thai-shaper.c, modules/tibetan/tibetan-fc.c: If locking font face failed, do not assert, just return zero glyphs with an implicit warning. * pango/fonts.c, pango/glyphstring.c pango/modules.c, pango/pango-color.c, pango/pango-context.c, pango/pango-coverage.c, pango/pango-fontmap.c, pango/pango-glyph-item.c, pango/pango-item.c, pango/pango-layout.c, pango/pango-markup.c, pango/pango-ot-buffer.c, pango/pango-script.c, pango/pango-tabs.c, pango/pango-utils.c, pango/pangoatsui-fontmap.c, pango/pangocairo-fcfont.c, pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c, pango/pangocairo-win32font.c, pango/pangofc-font.c, pango/pangofc-fontmap.c, pango/pangoft2-fontmap.c, pango/pangoft2-render.c, pango/pangoft2.c, pango/pangowin32-fontcache.c, pango/pangoxft-font.c, pango/pangoxft-render.c, pango/break.c pango/ellipsize.c: Use g_slice for allocating all types. Also, change some g_error's to g_critical's...2006-01-29 Behdad Esfahbod <behdad@gnome.org> Do not crash if the (win32 typically) shaper fails. Bug #304702: * pango/pango-engine.c (_pango_engine_shape_shape): Set num_glyphs to zero if failing. * pango/pango-shape.c (pango_shape): Instead of crashing if the shaper failed to produce any glyphs, print out a warning message containing the name of the font, and mark the font such that we don't keep printing warning for the same font. Moreover, inject one whitespace glyph per character, so you just see nothing, but everything works otherwise.2006-01-28 Behdad Esfahbod <behdad@gnome.org> * .cvsusers: Removed.2006-01-28 Behdad Esfahbod <behdad@gnome.org> * doc/tmpl/opentype.sgml: Document PangoOTBuffer and PangoOTGlyph. * pango/pango-ot-buffer.c, pango/pango-ot-info.c, pango/pango-ot-ruleset.c: Document remaining symbols.2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/pango-ot-*: Removed. * pango/pango-ot-*: Added. * pango/Makefile.am, pango/opentype/Makefile.am, doc/Makefile.am: Adjusted.2006-01-28 Behdad Esfahbod <behdad@gnome.org> * pango/pangofc-font.h, pango/pangoft2-render.c, pango/pangowin32.c, pango/pangoxft-render.c, docs/tmpl/xft-fonts.sgml, docs/tmp/atsui-fonts.sgml: Documentation improvements.2006-01-28 Behdad Esfahbod <behdad@gnome.org> * configure.in: Use AC_HELP_STRING everywhere. Bump required version to 2.56. * doc/tmpl/pango-renderer.sgml (PANGO_TYPE_RENDER_PART): Document it.2006-01-27 Behdad Esfahbod <behdad@gnome.org> * modules/Makefile.am: Remove pango.modules on uninstall. (bug #328869) * pango/pango-fontmap.c, pango/pangocairo-*font.c: Better error messages.2006-01-26 Behdad Esfahbod <behdad@gnome.org> * pango/pangoatsui-fontmap.c: #include <modules.h>. (bug #328632)2006-01-26 Behdad Esfahbod <behdad@gnome.org> * pango/modules.h, pango/Makefile.am: Fix more ATSUI stuff in build infrastructure. Sigh... (bug #328632)2006-01-25 Behdad Esfahbod <behdad@gnome.org> * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.2006-01-25 Behdad Esfahbod <behdad@gnome.org> * pango/pangoatsui-fontmap.c (pango_atsui_family_class_init): Declare int i! (bug #328632)2006-01-24 Behdad Esfahbod <behdad@gnome.org> * pango/pangolayout.c (pango_layout_get_width): Improve docs to say it may return -1.2006-01-24 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-atsuifont.c: Change cwfont to cafont in a couple places.2006-01-24 Behdad Esfahbod <behdad@gnome.org> * modules/indic/pango-indic-script.h: Removed, not used for quite a while.2006-01-24 Behdad Esfahbod <behdad@gnome.org> * examples/pangoft2.aliases: Removed based on an old ChangeLog entry saying: Remove pangoft2.aliases from CVS/distribution; it is no longer used. (#82736, Sven Neumann.)2006-01-23 Behdad Esfahbod <behdad@gnome.org> Make tests/examples do use generated pango.modules. (bug #328291) * examples/pangorc, tests/pangorc: Removed. Moved to modules/. * examples/pangox.aliases: Removed. Moved to pango/. * examples/Makefile.am, tests/Makefile.am: Remove pango.modules creation stuff, copy pangorc from $(srcdir)/../modules/pangorc insteadd. * examples/renderdemo.c: Add --pangorc option, default to ./pangorc. Setenv PANGO_RC_FILE to whatever pangorc file decided. * tests/*.c: Setenv PANGO_RC_FILE to ./pangorc. * pango/pangox.aliases: Added. * pango/Makefile.am: Install pangox.aliases. * modules/pangorc: Added. * modules/Makefile.am: Create pango.modules. Added pangorc. * modules/.cvsignore, examples/.cvsignore, tests/.cvsignore: Updated.2006-01-23 Behdad Esfahbod <behdad@gnome.org> * modules/basic/basic-fc.c: Set cluster only on base chars, like the Arabic module does. * modules/indic/indic-fc.c: Draw an unknown glyph on missing glyphs, like other modules do. (part of bug #326960, LingNing Zhang)2006-01-22 Behdad Esfahbod <behdad@gnome.org> * docs/TEXT/coding-style: Added "Since:" in the doc example.2006-01-22 Behdad Esfahbod <behdad@gnome.org> * TODO: Removed old file. Filed some bugs out of it. * TODO.xml: Removed old file. Filed some bugs out of it. * Makefile.am (EXTRA_DIST): Removed TODO.xml.2006-01-21 Behdad Esfahbod <behdad@gnome.org> * MAINTAINERS: Added. * AUTHORS: Added myself to contributors. * Makefile.am: Added MAINTAINERS to EXTRA_DIST.2006-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fontmap.c (pango_cairo_context_get_font_options): Fix typo in docs.2006-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.c (pango_matrix_get_font_scale_factor): Fix docs.2006-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-types.h, pango/pango-utils.c (pango_matrix_get_font_scale_factor): Make matrix parameter const. * pango/fonts.c, pango/pango-context.c, pango/pango-coverage.c, pango/pango-fontset.c, pango/pango-layout.c, pango/pango-renderer.c, pango/pango-types.h, pango/pango-utils.c, pango/pangocairo-atsuifont.c, pango/pangofc-font.c, pango/pangoft2-fontmap.c, pango/pangowin32-fontmap.c, pango/pangowin32.c, pango/pangox-fontmap.c, pango/pangoxft-font.c: Replace "Returns:" with "Return value:" in docs.2006-01-21 Behdad Esfahbod <behdad@gnome.org> Finish ATSUI module work. Bug #322022, Matthias Clasen. * docs/tmpl/atsui-fonts.sgml: Added. * docs/pango-docs.sgml: Updated to reflect above change. * docs/pango-sections.txt: Updated to reflect above change and also document Standard ATSUI symbols. * pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_get_atsu_font_id): Add docs. * pango/pangoatsui-fontmap.c: Register included ATSUI modules.2006-01-20 Behdad Esfahbod <behdad@gnome.org> * examples/cairosimple.c: Small fixes.2006-01-20 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-font.c (_pango_cairo_get_hex_box_info): Add a comment about using cairo_scaled_font_text_extents instead of cairo_text_extents.2006-01-16 Behdad Esfahbod <behdad@gnome.org> * === Released 1.11.2 === * configure.in: Version 1.11.2 * NEWS: Updated.2006-01-16 Behdad Esfahbod <behdad@gnome.org> * pango/Makefile.am: Move GLIB_CFLAGS before external libraries' CFLAGS. Some formatting changes too.2006-01-16 Behdad Esfahbod <behdad@gnome.org> * docs/Makefile.am, examples/Makefile.am, pango/Makefile.am, tests/Makefile.am: Adjust the order of *_CFLAGS to the same order known to work. (Fixes bug #325588)2006-01-16 Behdad Esfahbod <behdad@gnome.org> Fixes bug #314675, Brian Cameron. * configure.in: Handle uninstalled cairo. * pangocairo-uninstalled.pc.in: Fix typo: libpangoxft->libpangocairo.2006-01-16 Behdad Esfahbod <behdad@gnome.org> * modules/indic/mprefixups.c (indic_mprefixups_apply): Remove unused variable clusterSave that was leaking too. (bug #316466, Steve Grubbs)2006-01-16 Behdad Esfahbod <behdad@gnome.org> Fixes bug #71414, allowing to disable building/installing modules. * configure.in: Add support for --with-dynamic-modules. * */Makefile.am: Adapt to the above change.2006-01-14 Behdad Esfahbod <behdad@gnome.org> Draw hexbox for cairo backend. Bug #313551. Based on patch by LingNing Zhang.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -