📄 news
字号:
Overview of changes between 1.18.1 and 1.18.2==============================================- Require libthai >= 0.1.9 for enabling thai-lang module- Misc bug fixes- Bugs fixed in this release: Bug 474708 – pangocairo leaks memory Bug 472891 – Bad consistency check in pango_get_log_attrs Patch from Mathias Hasselmann Bug 302952 – The placement of a diacritic marks for an arabic ligature is not correct Bug 410152 – testboundaries test failsOverview of changes between 1.18.0 and 1.18.1==============================================- Misc bug fixes, including fix for an infinite-loop bug.- Bugs fixed in this release: Bug 470042 – missing Macedonian OT tag Patch from Denis Jacquerye Bug 468953 – pango-renderer.c: using function without prototype Bug 463430 – Gets stuck while "formatting message"Overview of changes between 1.17.5 and 1.18.0==============================================- Make pango_script_for_unichar() just call g_unichar_get_script(), and document that PangoScript and GUnicodeScript are interchangeable enumerations.- Misc bug fixes- Bugs fixed in this release: Bug 348348 – Add a way to get the script name of a gunichar Bug 451682 – Cursor positioning for Sinhala is broken Based on patch from Harshula Bug 462137 – memory corruption in pango_default_break Bug 462420 – Clicking on pixbuf should move the cursor to the position nearest to the click point Bug 462630 – pango_cairo_context_set_font_options() and some others don't have a Since: tag Bug 464183 – Minimum tab width enforcement in pango-layout breaks TabArray positions Patch by David Trowbridge Bug 464270 – ellipsize doesn't work consistent Bug 465174 – TextView is ignoring multiple consecutive \t's Bug 466755 – pango hangul is crashing in gnome-about because it is failing to retrieve a font. Bug 467056 – Shape attribute handling is not consistent Bug 467077 – Remove special-case for shape attribute in pango_layout_line_index_to_x()Overview of changes between 1.17.4 and 1.17.5==============================================- Export PangoCairoFont and cleanup various standard macros.- Bugs fixed in this release: Bug 150883 – Unicode LRO defect Bug 449482 – Build error when xft not present Part of Bug 347236 – provide pango_cairo_font_get_scaled_fontOverview of changes between 1.17.3 and 1.17.4==============================================- Refactored the ATSUI font backend and install pangoatsui.h that has a single function pango_atsui_font_get_atsu_font_id() and a couple of types.- Bugs fixed in this release: Bug 451547 – FAIL: runtests.sh Bug 449543 - Ship pangoatsui.hOverview of changes between 1.17.2 and 1.17.3==============================================- Extensive pangocairo internal code refactoring and cleanup- New public API: pango_font_face_is_synthesized() pango_cairo_font_get_scaled_font() pango_cairo_font_map_new_for_font_type() pango_cairo_font_map_get_font_type()- New engine macros: PANGO_OT_TAG_MAKE() PANGO_OT_TAG_MAKE_FROM_STRING()- New PangoFontFace method is_synthesized.- Misc bug fixes- Bugs fixed in this release: Bug 337593 – move glyph extents code (and cache) from pangocairo-*font.c into pangocairo-font.c Bug 347235 – Add pango_cairo_font_map_get_font_type Bug 347236 – provide pango_cairo_font_get_scaled_font Bug 353291 – Provide pango_cairo_font_map_new_for_font_type Bug 438801 – underline should add "error" type. Bug 440588 – Add pango_font_face_is_synthesized() Bug 445832 – pango_cairo_update_layout() always invalidates layout Bug 446018 – Bus error in the pango_ot_tag_from_language() Bug 446355 – the parsing with pango_parse_markup is not coherent Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL Bug 447568 – improve docs on what absolute size means Bug 448342 – pango_layout_index_to_line_x() counts lines from 1Overview of changes between 1.17.1 and 1.17.2==============================================- Rename recently added pango_ot_ruleset_get_for() to pango_ot_ruleset_get_for_description().- New engine API: pango_ot_ruleset_new_from_description().- Treat Unknown script like Common and other non-"real" scripts. [Martin Hosken]- Misc typo fixes [Peter Moulder]- Bugs fixed in this release: Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break Patch from Martin HoskenOverview of changes between 1.17.0 and 1.17.1==============================================- Ported the rest of OpenType shapers to the new OpenType APIs and added standard features to them: Hebrew, Indic, Khmer, Thai, and Tibetan.- Added N'Ko support to the Arabic module. [Eugeniy Meshcheryakov]- Small Indic module fix for Malayalam.- Fixed font metrics returned by the ATSUI backend. [Richard Hult]- Make itemization use pango_language_get_default() if context has no language set on it. Ditto for pango_context_get_metrics() if both input language and context language are NULL.- Improved documentation on vertical text, also added stability note to those parts of Pango API that are not indefinitely stable (shaper and language engine APIs).- Misc bug fixes.- New OpenType engine API: pango_ot_ruleset_get_feature_count()- Bugs fixed in this release: Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30) Bug 385168 – indic, khmer, and tibetan modules don't apply ccmp Bug 385477 – kern feature is not supported in OpenType layout for Tibetan. Bug 433805 - [Atsui] Approximate char/digit width width often 0 Bug 436699 – N'Ko support Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11 Bug 438814 – synaptic crash with pango 1.17.0 Bug 440603 – Minor ABI changeOverview of changes between 1.16.4 and 1.17.0==============================================General:- Text justification. A simple justification algorithm is implemented that tries to justify by expanding spaces in the line, and if none found, by adjust letter spacing. [Based on patch by Mathias Hasselmann]- The pango_script_get_sample_language() function is modified to use the value of environment variables PANGO_LANGUAGE or LANGUAGE (checked in that order) to make guess better languages for scripts. The env var should be a list of language tags, like "en:fa" for example where in effect makes Pango choose Persian (fa) fonts instead of Arabic (ar) fonts when a run of text in the Arabic script is found in an otherwise non-Arabic layout. This trick is also useful for East Asian languages. For example a Japanese user that cannot set her primary language to Japanese can still set PANGO_LANGUAGE="ja" and Pango will map CJK characters to Japanese. The LANGUAGE env var is a standard gettext variable listing languages the user wants to receive UI translated messages in. However, since most packages don't provide separate English translations, setting LANGUAGE="en:ja" doesn't have the intended effect and UI messages will be shown in Japanese. For these situations one can use LANGUAGE="en:C:ja". Pango skips the special language tag 'C'.- Simplified embedded-shape rendering with pangocairo backends do. [Richard Hult]- New header file: Moved PangoLanguage APIs into its own header pango-language.h, which is included from pango-types.h.- ATSUI backend now lists synthesized italic faces like other- Misc optimizations and fixes.OpenType Layout Engine Improvements:- Vertical glyph variants are not selected in vertical text if the font supports them.- Instead of hardcoded OpenType script tag in each module, and using Default Language System unconditionally, Pango will now find and use the script/lang-sys pair that best matches the detected script and language of a run of text. Moreover, it also applies the OpenType 'locl' feature. These, plus the PANGO_LANGUAGE env var, give font designers and users lots of options to provide/choose language-specific glyph variants. Only basic, arabic, and syriac modules updated to take advantage of the new support so far.New pango-view command line options: --align --justify --languagePublic API Changes:- New public pangocairo API: PangoCairoShapeRendererFunc pango_cairo_context_set_shape_renderer() pango_cairo_context_get_shape_renderer() These are used by the default pangocairo renderer to render shape attributes (see examples/cairoshape.c). Cairo-based PangoRenderer implementations outside Pango may want to implement the draw_shape() method similarly to provide compatibility with these new APIs. (See bug #437533 for GdkPangoRenderer for example.)- Other public API changes: New is_expandable_space member in PangoLogAttr New macro PANGO_UNITS_ROUND()- New OpenType engine API. These are engine API, for use by Pango modules, and typically need not to be bound by language bindings: PANGO_OT_NO_FEATURE PANGO_OT_NO_SCRIPT PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_DEFAULT_LANGUAGE PangoOTFeatureMap PangoOTRulesetDescription pango_ot_ruleset_get_for() pango_ot_ruleset_new_for() pango_ot_ruleset_maybe_add_feature() pango_ot_ruleset_maybe_add_features() pango_ot_ruleset_description_hash() pango_ot_ruleset_description_equal() pango_ot_ruleset_description_copy() pango_ot_ruleset_description_free() pango_ot_tag_from_script() pango_ot_tag_to_script() pango_ot_tag_from_language() pango_ot_tag_to_language()- Bugs fixed in this release: Bug 64538 – pango_layout_set_justify() doesn't work Bug 325714 – Pango should respect $LANGUAGE Bug 414264 – Pango vertical writing support is different with real CJK usage. Bug 416515 – Time is not aligned with date on vertical panel Bug 429397 – Updated MS Mincho/Gothic are not listed in font dialog properly on Vista/ Bug 433805 – [Atsui] Approximate char/digit width width often 0 (worked around) Bug 434160 - [atsui] Italic versions of some faces can't be created Bug 435709 – pango_cairo_context_[sg]et_shape_renderer() Bug 355789 – Pango misaligns word-wrapped text due to trailing whitespace Bug 436154 – Error building the pango.modules file while cross compiling Bug 436988 – Adding PangoScript to PangoAnalysis Bug 437534 – pango_language_includes_script is buggyOverview of changes between 1.16.3 and 1.16.4==============================================- Add new configure option --disable-doc-cross-references and make sure releases are made using it. Distributions are encouraged to build with --enable-gtk-doc such that their Pango docs correctly cross reference glib and cairo docs.- Bugs fixed in this release: Bug 432991 – developer docs for libpango are brokenOverview of changes between 1.16.2 and 1.16.3==============================================- Quantize kerning value if metrics hinting is on. This greatly improves screen text rendering with certain fonts like DejaVu Sans. See: http://behdad.org/blog/mces/image/metricshinting-kerning.png- Improved hex-box positioning in the cairo backendOverview of changes between 1.16.1 and 1.16.2==============================================- Fixed various bug in the OpenType Layout code (HarfBuzz)- Improved documentation- Improved ATSUI backend- Misc build system fixes- Bugs fixed in this release: Bug 417946 – pangowin32-fontmap.c:using function without prototype Bug 419262 - Don't create coverage every time it's asked forOverview of changes between 1.16.0 and 1.16.1==============================================- Improved Win32 backend: The Win32 backend has been updated to always require Uniscribe at compile-time (it still is optional at run-time), and to use the wide-character variants
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -