Pango was using invalid c++ code and Sun Studio avoids that to compile.
Applied patches are taken from the bug-fixes committed upstream -HEAD
taken from harrbuuz-ng repository for pango.
Bump package revision because of these patches.
Xcode 3.2.1) from breaking "pango" under Mac OS X. Bump package
revision because the package would previously build but not work.
[No, I have no idea why adding a random fprintf() in that loop avoids
the problem. But it is the only trick I have found so far.]
Overview of changes between 1.22.2 and 1.22.3
=============================================
- Minor bug fix with matrix operations
- Fix build with older compilers
- Bugs fixed in this release:
Bug 561779 – incorrect calculations in pango_matrix_concat
implementation
Bug 560730 – pango 1.22.2 build failure on Solaris 10, too many array
initializers in pango-language.c
Bug 561740 – Use stack allocation for thai_engine_break
Overview of changes between 1.13.5 and 1.14.0
==============================================
* Make pango-view accept non-ASCII --text.
* Require cairo-1.2.2 for the important bug fixes it has.
Overview of changes between 1.13.4 and 1.13.5
==============================================
* Indic shaper improvements.
* Misc fixes.
* Bugs fixed in this release:
Bug 121672 – Ra (vattu) not rendered properly in Malayalam
Patch from LingNing Zhang
Bug 335811 – Some conjugates of Malayalam are wrong.
Patch from LingNing Zhang
Overview of changes between 1.13.3 and 1.13.4
==============================================
* Update to Unicode Character Database 5.0.0.
* Misc fixes.
* Bugs fixed in this release:
Bug 336282 – Update to Unicode Character Database 5.0.0
Bug 347073 – Allow empty GPOS table
Bug 347021 – atsui crash when a matching font cannot be found.
Patch from Brian Tarricone.
Overview of changes between 1.13.2 and 1.13.3
==============================================
* Improved build system. Using gnome-autogen.sh now.
(gnome-common needed for bootstrapping)
* Improved documentation. Docs now include list of new API for
each stable version of Pango.
* New public API:
- pango_glyph_string_get_width
* Little performance improvement.
* Misc fixes.
* Bugs fixed in this release:
Bug 330603 – pango_scan_int invokes undefined behaviour
Bug 315599 – PangoAttribute remains in wrong context.
Bug 163677 – pango_attr_list_splice: inconsistent docs
Patch from Morten Welinder
Bug 345070 – [ml_IN] not render for combination with ZWJ
Patch from LingNing Zhang
Bug 345274 – list of new symbols for each version is missing in docs
Patch from Priit Laes
Bug 346297 – autogen doesn't work with automake-1.6
Patch from Priit Laes
Bug 135683 – Cache glyphstring extents
Bug 344766 – Memory leak in get_ruleset() in modules/basic/basic-fc.c
Bug 345600 – cvs build error in pango/opentype/Makefile
Bug 345511 – -no-undefined problem with new libtool
Overview of changes between 1.13.1 and 1.13.2
==============================================
* Improved hexbox drawing, and font metrics calculations.
* Synthesize italic variants on win32 [Hans Breuer]
* New public API:
- pango_cairo_show_error_underline
- pango_cairo_error_underline_path
- pango_font_describe_with_absolute_size
* Misc fixes.
* Bugs fixed in this release:
Bug 326960 – hex box drawing for win32 and atsui backends of cairo
Bug 343717 – License information in unclear.
Bug 343355 – Add pango_cairo_show_error_underline &
pango_cairo_error_underline_path
Bug 343966 – pango Cygwin build fixes
Patch from Cygwin Ports maintainer.
Bug 343796 – Italic Chinese character can't be show correctly in
Win32.
Bug 314114 – max_x_advance not appropriate for
approximate_(char|digit)_width
Bug 341138 – Using TTC font, Gtk2 programs begin to eating big memory
and have many cpu usage.
Patch from Yong Li.
Bug 336153 – Mark to mark positioning (Lookup Type 6) isn't correct
when using MarkAttchmentType
Patch from Tin Myo Htet.
Bug 333984 – pango_language_from_string improvements
Bug 125378 – Better underline thickness handling
Bug 339730 – Pango needlessly falls back away from a Type 1 font into
a TTF font
Bug 342562 – Support absolute sizes in
pango_font_description_to/from_string
Bug 341922 – pango should handle more characters as zero width
Patch from Roozbeh Pournader
Bug 342525 – With PangoFc and PangoWin32, approximate digit width is
not what it says
Bug 342079 – pangoatsui-private.h missing from release
Overview of changes between 1.13.0 and 1.13.1
==============================================
* Increased robustness against broken pango.modules
* Improved build infrastructure:
- Remove CAIRO_CFLAGS from pangocairo.pc.in, as it Require's cairo already.
- Use -no-undefined on Unix too.
* Improved documentation.
* Misc fixes.
* Bugs fixed in this release:
Bug 307196 – Unhinted fonts are measured incorrectly and drawing
problems occur as a result
Bug 329547 – pango_layout_get_pixel_extents and
pango_layout_get_pixel_size cause off-by-one metrics
Bug 339747 – pango_font_metrics_get_approximate_digit_width docs
Bug 339749 – pango_language_from_string issues
Patch from Morten Welinder.
Bug 333771 – Use gmodule-no-export-2.0 instead of gmodule-2.0 in
pango-uninstalled.pc.in
Bug 337594 – pango_glyph_string_extents_range possible bug
Bug 329664 – Move gunichar_to_glyph cache from PangoCairoFcFont to
PangoFcFont
Patch from LingNing Zhang.
Bug 322374 – Examples does not build on MacOS X
Bug 340229 – pango_font_description_from_string does not do bound
checking
Bug 329483 – hinting hexbox in cairo backend doesn't handle absolute
font size
Bug 340040 – pangocairo hex box hinting falls apart with PS/PDF
backends
Bug 71033 – make size 0 fonts work
Overview of changes between 1.12.0 and 1.13.0
==============================================
* Fix incorrect rendering when in x86 64-bit precision mode
https://bugs.freedesktop.org/show_bug.cgi?id=5200
* Fix non-OpenType fonts losing kerning in 1.12.0 [#336026, Denis Jacquerye]
* Fix blurred underlines on Win32 [#332656, Tor Lillqvist]
* Build fix when having both Win32 and FreeType cairo backends available
[#337502, Alexander Larsson]
* Moved the OpenType Layout code into a new project called HarfBuzz:
http://www.freedesktop.org/wiki/Software/HarfBuzz
* Improved documentation.
* Misc bug fixes.
* Fixed many compiler warnings.
* Bugs fixed in this release:
332656,335840,334802,337029,337821,338343
Overview of changes between 1.11.99 and 1.12.0
==============================================
* Compilations fixes for MSVC. [#333115, Tor Lillqvist]
* More NULL-check against unusable fonts, helps with Win32 fonts without
a Unicode cmap. [Tor]
* Use g_print instead of printf for debugging output in Win32 backend.
[#332855, Tor]
Overview of changes between 1.11.6 and 1.11.99
==============================================
* Fix problem recently introduced that made Win32 backend render boxes
only. [#332538, Hans Breuer]
* Insert '?' chars instead of invalid UTF-8 sequences in
pango_layout_set_text [#33195]
* Bugs fixed in this release:
332167,332538,331995
Overview of changes between 1.11.5 and 1.11.6
=============================================
* Do not export macros PANGO_GLYPH_EMPTY, PANGO_GLYPH_UNKNOWN_FLAG and
PANGO_GET_UNKNOWN_GLYPH publicly; just in the engine/backend interface.
* Fix a few crashers, especially when a font cannot be read. [#314239]
* Change some g_critical's to g_warning, where it's not application's
fault. [#331723]
* Bugs fixed in this release:
330795,331038,329148,331994,331995,331996,314239,331723
Overview of changes between 1.11.4 and 1.11.5
=============================================
* Cleanup work on the win32 backend. Families are not listed all
in lower case anymore.
* New public function: pango_win32_font_description_from_logfont.
* pango-view accepts --wrap now, and lists backends in --help output.
* A couple minor bug fixes.
Overview of changes between 1.11.3 and 1.11.4
=============================================
* Major change in the low-level interface of Pango. The special value
PANGO_GLYPH_EMPTY is now defined to mean a "draw nothing" glyph. This
was what glyph 0 was used for previously. As a result, bumped up the
Pango module version, meaning that modules compiled against earlier
versions are probably not compatible with this release. [#73147]
* New framework in examples for building a binary called pango-view,
that can be used to render a text file using any of the available
backends. This is installed into bindir now.
* Enhancements to the FT2 backend, to draw boxes on missing glyphs.
* Better hexbox drawing for cairo backend: Hinting hexbox, and
drawing a single-row hexbox for very small font sizes.
* Improved documentation.
Overview of changes between 1.11.2 and 1.11.3
=============================================
* Do not crash if the shapers fail.
* Use g_slice for various struct allocations.
* 100% symbol coverage in docs.
* Misc bug fixes and documentation improvements.
* Janitory works, like removing unneeded files.
Overview of changes between 1.11.1 and 1.11.2
=============================================
* Draw hex box on missing glyphs for cairo-fc backend.
* New --with-dynamic-modules option added to configure.
* Use g_slice for various small memory allocations [Matthias Clasen]
* Misc bug fixes, optimizations, and documentation improvements.
Overview of changes between 1.11.0 and 1.11.1
=============================================
* ATSUI support for the cairo backend. [Anders Carlsson]
* Fixed a couple of regressions with font size and scaling.
* Draw a dashed empty box on missing glyphs for cairo-fc backend.
* Support OpenType features for basic (Latin/Greek/...) module.
* Support swash feature in Arabic module.
* Misc bug fixes.
* Misc documentation improvements.
Optimizations:
* Cache GObject private data in PangoFcFont.priv [Federico Mena Quintero]
* Add a constant-sized light-weight cache for glyph extents.
* Use g_slice_* instead of GMemChunk in mini-fribidi.
Overview of changes between 1.10.1 and 1.11.0
=============================================
* Line-breaking algorithm updated to Unicode 4.1.
* Code borrowed from GNU FriBidi resynched to version 1.0.7.
* New improved Tibetan shaper module. [Pema Geyleg]
* Bug fix in Khmer shaper module. [Jens Herden]
* Respect fontconfig reassignment of font pixelsize. [Funda Wang]
* Make OpenType GPOS handling more robust/correct. [Greg Aumann]
* Various documentation fixes and improvements.
* Various gcc warning fixes.
* Misc bug fixes.
Optimizations:
* Add a lazy fixed-size per-font cache to map characters to glyphs,
in the cairo backend. [Federico Mena Quintero]
* Optimize character to script mapping by adding a linear table for
characters < U+2000, and also caching the last mid point in
bsearch. [Federico, Matthias Clasen]
* Enabled mini-fribidi's trashstack instead of direct mallocs.
* Short circuit the bidi algorithm for provably unidirectional text.
* Make mini-fribidi process UTF-8 directly.
* Several strlen and g_utf8_strlen calls removed. [Owen Taylor, Billy Biggs]
* Use call tables in the OpenType layout code.
* Use quarks for accessing GObject data. [Federico]
* Open Pango modules with lazy-bind flags. [John Rice]
* Use new negative offsets in g_utf8_pointer_to_offset to avoid
scanning from the beginning of line on cursor movement.
* Avoid redundant PANGO_IS_FC_FONT checks.
* Add Khmer support [Jens Herden, Javier Sola]
* Fix bugs and crashes in the operation of PangoLayoutIter [Amit Aronovitch]
* Increase sharing of data between different copies of Pango
[Tommi Komulainen, Ross Burton]
* Remove dependence of opentype code on FreeType internals [David Turner,
Behdad Esfahbod]
* Cache metrics for the Win32 backend [Tor Lillqvist]
* Improve handling of RTL text when passing it to Uniscribe [Tor]
* Support for TrueType fonts on Win32 with characters outside the BMP [Tor]
* Handle alpha in XftColors again. [Mikael Magnusson]
* Better handling of MacThai encoded fonts [Theppitak Karoonboonyanan]
* Handle zero width chars properly in Hangul backend
[Young-Ho Cha, Changwoo Ryu]
* Fix Oriya character classification [Gora Mohanty, Gautam Sengupta]
* PangoAttrIterator bug fixes [Morten Welinder]
* Clean up copyright/licensing information [William N. Ray]
* Misc bug and build fixes [Sebastien Bacher, Brandon Bergren,
Chris Blizzard, Paolo Borelli, Behdad, Harshula, Alex Jones, Aivars Kalvans,
Stepan Kasal, Karel Kulhavy, Ryan Lortie, Ben Maurer, Sukhjinder Sidhu,
Manish Singh, Emil Soleyman-Zomalan, Morten]
pOverview of changes between 1.8.0 and 1.8.1
===========================================
* Fix several problems with conjuct formation in Sinhala [Harshula]
* Fix problems that were causing fonts to be missized and
not print in GtkHTML [Ross Burton]
* Fix compilation with old fontconfig [Vincent Noel] and
old FreeType [Andrew P. Lentvorski, Jr]
* Work around problem with glyphs in monospace fonts being truncated
by Xft [Billy Biggs]
* Misc bug fixes [Damon Chaplin, Matthias Clasen, Kees Cook, Nick Lamb,
Adam Sampson,Manish Singh, Morten Welinder]
* Misc build fixes [Sebastien Bacher, Matthias Clasen, Tor Lillquist]
* Doc improvements [Torsten Schoenfeld, Billy Biggs, Morten Welinder]
Changes in the package
======================
* Install compatibility symlinks for shared libraries to not break binary
programs linked against 1.4.0. This is just a workaround for our broken
libtool naming scheme and should be removed when it is fixed. Agreed
by rh@.
* Move installation of documentation to doc/, out of doc/html.
Overview of changes between 1.4.0 and 1.4.1
===========================================
* Win32 bug fixes [Tor Lillqvist, John Ehresman]
* Thai rendering improvements including OpenType support
[Theppitak Karoonboonyanan]
* Fix common crash in Hangul shaper [Changwoo Ryu]
* Fix various problems with language tag selection [Frederic Zhang]
* Documentation improvements [Felipe Heidrich, Doug Quale]
* Fix crash in line break code [Jeroen Zwartepoorte, Billy Biggs]
* Build fixes [J. Ali Harlow, Noah Misch]
* OpenType engine fixes [Kailash C. Chowksey, Sayamindu Dasgupta, Aamir Wali,
Masatake YAMATO, Soheil Hassas Yeganeh]
* Indic module bug fixes [Chris Blizzard, Rajkumar S, Taneem Ahmed,
Jungshik Shin]
* Misc bug fixes [Stanislav Brabec, Anders Carlsson, Behdad Esfahbod,
Jody Goldberg, Theppitak, Sven Neumann, Manish Singh, Morten Welinder]
installs are something like databases that need to be handled automatically
by the package system during installation of modules, not by the end user.
Bump PKGREVISION to 1. (As a side effect, the package gets simplified a lot).
There are no packages in pkgsrc installing pango modules at the moment.
When they come, we can easily add a framework to handle them, as has been
done for x11/gtk2.
Changes:
* Improve font solection for Hangul tone marks
* Improve range definitions for basic-xft [Jungshik Shin]
* Draw unknown character boxes with X primitives for the
X backend instead of hoping for a suitable glyph [Morten Welinder]
* For Xft/FT2, give an informative error mesage when no fonts are found.
* Support shape modules with ranges beyond the BMP [Federic Zhang]
* Use octal escapes rather than literal UTF-8 [Arnaud Charlet]
* Use g_[sf]printf where appropriate [Matthias Clasen]
* Fix the Arabic-words-broken-by-underlines problem by
stripping out non-shape affecting attributes then adding them
back after shaping.
* Hangul shaper fixes [Changwoo Ryu, Jungshik Shin]
* Handle compatability ideographs in basic-x shaper [Federic Zhang]
* Implement pango_ft2_font_map_set_default_substitute() [Matthias Clasen]
* Hangul module bug fixes and improvements [Changwoo Ryu, Jungshik Shin]
- Move rendering of precomposed characters to hangul-xft shaper
- Handle Hangul tone marks
* Add a new wrap mode for PangoLayout - PANGO_WRAP_WORD_CHAR [Alex Larsson]
* Indic module improvements [Eric Mader]
* Fixes to generic OpenType handling [Eric]
* Improve language specific charset ordering basic-x11 [James Su, Brian Yuan]
* Some merges of fixes by Werner Lemberg to the original
FreeType OpenType code.
* Robustify and otherwise improve pango_color_parse() [Matthias Clasen]
* Some cross-compiling fixes [J. Ali Harlow]
* Merge a lot of the code between the Xft and FT2 backend,
so that the FT2 backend gets the recent improvements to Xft.
* Add proper language tag support to the Xft/FT2 backends.
* Various effienciency fixes for the Xft/FT2 backends.
* Support for version 2 of the Xft library. [Keith Packard]
* Convert the freetype backend over to using fontconfig,
instead of MiniXft for font cataloging.
* A port of the Indic OpenType code from ICU to Pango. [Eric Mader]
* A new hangul-xft [Changwoo Ryu]
* Various cleanups to the PangoXft and PangoFT2 public APIs.
... as well as the usual bug fixes.
Pango is a library for layout and rendering of text, with an emphasis
on internationalization. Pango can be used anywhere that text layout
is needed; however, most of the work on Pango-1.0 was done using the
GTK+ widget toolkit as a test platform. Pango forms the core of text
and font handling for GTK+-2.0.
Pango is designed to be modular; the core Pango layout can be used
with four different font backends:
- Core X windowing system fonts
- Client-side fonts on X using the Xft library
- Direct rendering of scalable fonts using the FreeType library
- Native fonts on Microsoft backends
Dynamically loaded modules then handle text layout for particular
combinations of script and font backend.
As well as the low level layout rendering routines, Pango includes
PangoLayout, a high level driver for laying out entire blocks of text,
and routines to assist in editing internationalized text.