📄 changelog
字号:
2008-03-10 Behdad Esfahbod <behdad@gnome.org> * === Released 1.20.0 === * configure.in: Version 1.20.0 * NEWS: Updated.2008-02-28 Behdad Esfahbod <behdad@gnome.org> Bug 518084 – Thai is not Virama language Patch from Theppitak Karoonboonyanan * pango/break.c: Remove Thai Phinthu from VIRAMA()2008-02-25 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.4 === * configure.in: Version 1.19.4 * NEWS: Updated.2008-02-25 Behdad Esfahbod <behdad@gnome.org> Bug 511172 – pango_layout_set_height() with positive height always shows at least two lines * pango/pango-layout.c (should_ellipsize_current_line), (pango_layout_check_lines), (pango_layout_get_empty_extents_at_index), (pango_layout_line_get_empty_extents): Initialize line_height using empty-line extents.2008-02-25 Tor Lillqvist <tml@novell.com> Bug 515484 – Uniscribe interface handles surrogate pairs incorrectly * modules/basic/basic-win32.c (itemize_shape_and_place): Pass correctly offset wchar string to set_up_pango_log_clusters() so that when it passes the string on to unichar_index(), that function notices the surrogate pairs correctly.2008-02-24 Tor Lillqvist <tml@novell.com> Bug 515484 – Pango on Windows is missing Type 1 font support Patch from Adrian Johnson. * pango/pangowin32-private.h (PangoWin32Face): Add has_cmap field that tells whether the font has a cmap or not. A Type 1 font doesn't. * pango/pangowin32.c (pango_win32_font_get_type1_glyph_index): New static function. Uses GetGlyphIndicesW() to get the glyph indices for Type 1 fonts. Possibly also TrueType fonts that for some reason lack the cmap formats we understand. (pango_win32_font_calc_type1_coverage): New static function. Uses GetFontUnicodeRanges() to get the coverage for Type 1 fonts, and possibly TrueType fonts that lack the cmap formats we understand. (pango_win32_font_get_glyph_index): Set has_cmap to false if the font doesn't have a cmap. Call pango_win32_font_get_type1_glyph_index() in that case. (pango_win32_font_calc_coverage): Set has_cmap to false if the font doesn't have a cmap. Call pango_win32_font_calc_type1_coverage() in that case. * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also Type 1 fonts. (pango_win32_insert_font): Initialise has_cmap tentativaly to True.2008-02-21 Kristian Rietveld <kris@imendio.com> * modules/basic/basic-atsui.c (basic_engine_shape): free the ATSU style and utf16 string at the end.2008-02-17 Behdad Esfahbod <behdad@gnome.org> Bug 517083 – pango modules: wrong fallback adding code? * pango/modules.c (map_add_engine): Fix typo.2008-02-17 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c: Improve docs.2008-02-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c: Improve docs.2008-02-14 Tor Lillqvist <tml@novell.com> Bug 515484 – Pango on Windows is missing non-TrueType font support Patch from Adrian Johnson. * pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also OpenType/PS fonts. Interpret the metrics parameter as a NEWTEXTMETRICW struct and check the ntmFlags field.2008-02-13 Sven Neumann <sven@gimp.org> * pango/pangoft2.c: indentation.2008-02-09 Dominic Lachowicz <domlachowicz@gmail.com> Bug 515484 – Variable is initialized twice * pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage): Variable was initialized twice. 2008-02-08 Behdad Esfahbod <behdad@gnome.org> Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not rendered correctly Patch from Praveen A * modules/indic/indic-ot-class-tables.c: * modules/indic/indic-ot.c (indic_ot_reorder): "Fix" it.2008-01-29 Behdad Esfahbod <behdad@gnome.org> * configure.in: Oops. Add fontconfig cflags/libs with freetype's.2008-01-29 Behdad Esfahbod <behdad@gnome.org> Bug 496244 – Don't use freetype-config, use pkg-config * configure.in: Don't use freetype-config. Also cleanup lots of old stale macros around configure.in. * pango-uninstalled.pc.in: * pango.pc.in: * pangocairo-uninstalled.pc.in: * pangocairo.pc.in: * pangoft2-uninstalled.pc.in: * pangoft2.pc.in: * pangowin32.pc.in: * pangox-uninstalled.pc.in: * pangox.pc.in: * pangoxft-uninstalled.pc.in: * pangoxft.pc.in: And cleaned up all the pkg-config files as a result.2008-01-28 Behdad Esfahbod <behdad@gnome.org> Bug 512566 – dont' use deprecated macro Patch from Christian Persch * tests/test-ot-tags.c: * tests/testscript.c: Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC2008-01-28 Wouter Bolsterlee <wbolster@svn.gnome.org> Bug 512473 – [patch] gtk-doc warnings * pango/pango-context.c: * pango/pango-fontmap.c: * pango/pango-utils.c: * pango/pangofc-fontmap.h: * pango/pangox.c: * pango/reorder-items.c: Fixed gtk-doc warnings.2008-01-21 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.3 === * configure.in: Version 1.19.3 * NEWS: Updated.2008-01-21 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (pango_layout_set_height()): Mark behavior as undefined if height is not -1 and ellipsize mode is PANGO_ELLIPSIZE_NONE.2008-01-21 Behdad Esfahbod <behdad@gnome.org> Bug 508002 – change pango_layout_pixel_extents() to round logical rect to be inclusive * pango/pango-layout.c (pango_layout_get_pixel_extents), (pango_layout_line_get_pixel_extents): Round extents to pixels inclusively. That is, pass both ink_rect and logical_rect as first argument to pango_extents_to_pixels(). * pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle): Fix rounding. * pango/pango-types.h: * docs/tmpl/glyphs.sgml: * pango/pango-utils.c (pango_extents_to_pixels): Rename pango_extents_to_pixels() function arguments from @ink_rect and @logical_rect to @inclusive and @nearest. Given that this API is a fairly new addition and not commonly used, language bindings are encouraged to update their argument names accordingly. Moreover, they are encouraged to wrap this function as two different calls: extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or similar conventions that best reflect their native language.2008-01-16 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that are no longer there.2008-01-15 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/*: HarfBuzz was relicensed to a more generous and simpler license. Adapt. See pango/opentype/COPYING for the new license which is LGPL-compatible.2008-01-15 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (debug), (process_line), (pango_layout_line_postprocess): Minor cleanup.2008-01-15 Behdad Esfahbod <behdad@gnome.org> Bug 469313 – Add pango_layout_set_height() * pango/pango-layout.c (get_x_offset), (should_ellipsize_current_line), (add_line), (process_line), (pango_layout_check_lines), (pango_layout_line_get_width), (pango_layout_line_get_x_ranges), (justify_words), (pango_layout_line_postprocess): Implement height >= 0; There are still bugs left. Most notably, there will be at least two lines showed no matter how small height is.2008-01-14 Behdad Esfahbod <behdad@gnome.org> Bug 469313 – Add pango_layout_set_height() * pango/pango-layout.h: * pango/pango-layout-private.h: * pango/pango-layout.c: * pango/ellipsize.c (_pango_layout_line_ellipsize): New public API: pango_layout_set_height() See docs for semantics. Currently only negative height values (number of lines) is implemented. * pango-view/viewer-render.c (make_layout), (output_body), (parse_options): Implement --height. * pango/pango.def: * docs/pango-sections.txt: * docs/tmpl/layout.sgml: Update.2008-01-14 Behdad Esfahbod <behdad@gnome.org> Bug 508179 – PangoGlyphUnit confusion * pango/pangowin32.c: * pango/glyphstring.c: * pango/pango-layout.c (process_item): Remove all traces of #PangoGlyphUnit2008-01-08 Behdad Esfahbod <behdad@gnome.org> Bug 508381 – indent and center alignment don't mix * pango/pango-layout.c: Ignore indent if aligned center, and document so. This assumption was present in some places and not the others. Fixed now.2008-01-08 Behdad Esfahbod <behdad@gnome.org> Bug 508007 – Add option for single-paragraph mode to pango-view * pango-view/viewer-render.c (make_layout), (parse_options): Add --single-par option to pango-view.2008-01-08 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c (ensure_tab_width), (process_line), (pango_layout_get_effective_attributes), (pango_layout_check_lines): Minor cleanup. Attributes are initialized with start/end_index to apply to entire text now, no need to initialize them explicitly anymore.2007-12-29 Behdad Esfahbod <behdad@gnome.org> Bug 506284 – docs typo for pango_coverage_unref Patch from Christian Persch * pango/pango-coverage.c (pango_coverage_unref): Fix typo in docs.2007-12-21 Behdad Esfahbod <behdad@gnome.org> * docs/Makefile.am: Check for dummy man pages in dist-local.2007-12-21 Behdad Esfahbod <behdad@gnome.org> Bug 504802 – build failure: No rule to make target `pango-querymodules.1', needed by `all-am'. Stop. * docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't exsits (SVN checkout) and --enable-man is not used.2007-12-19 Behdad Esfahbod <behdad@gnome.org> Bug 504585 – pango-querymodules.1 syntax error * Makefile.am: * docs/Makefile.am: * docs/pango-querymodules.1: Fix man-page generation rule, also remove pango-querymodules.1 from SVN so it's regenerated from XML at dist time.2007-12-19 Behdad Esfahbod <behdad@gnome.org> Red Hat Bug 426178: gtkdoc-scan fails on pango * docs/pango-sections.txt: * pango/pango-ot-private.h: * pango/pango-ot.h: Make the following symbols available to engines: PANGO_IS_OT_INFO PANGO_IS_OT_RULESET PANGO_OT_INFO PANGO_OT_RULESET PANGO_TYPE_OT_INFO PANGO_TYPE_OT_RULESET pango_ot_info_get_type pango_ot_ruleset_get_type2007-12-17 Behdad Esfahbod <behdad@gnome.org> * === Released 1.19.2 === * configure.in: Version 1.19.2 * NEWS: Updated.2007-12-13 Benjamin Otte <otte@gnome.org> * configure.in: use pkg-config to detect cairo features2007-12-10 Behdad Esfahbod <behdad@gnome.org> * configure.in: Better fix: set both LIBS and LDFLAGS.2007-12-10 Behdad Esfahbod <behdad@gnome.org> Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairo * configure.in: Fix cairo library checking.2007-12-10 Behdad Esfahbod <behdad@gnome.org> * pango/pangocairo-fontmap.c: Improve pango_cairo_font_map_get_default() docs.2007-12-10 Behdad Esfahbod <behdad@gnome.org> Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int() * pango/pango-markup.c (span_parse_func): Use pango_scan_int() and
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -