Commit graph

35 commits

Author SHA1 Message Date
drochner
d34b7168a0 update to 1.28.4
changes: bugfixes
2011-04-11 15:35:52 +00:00
tron
9e9c9eb396 Add openSUSE's fix for the DoS vulnerability remoted in CVE-2011-0064. 2011-03-05 13:37:19 +00:00
drochner
422a8a4f83 -add patch from https://bugzilla.gnome.org/show_bug.cgi?id=639882 to fix
possible heap corruption when parsing a corrupt font (CVE-2011-0020)
-being here, add a patch from upstream to fix a scaling inconsistency
bump PKGREV
2011-01-27 14:04:51 +00:00
drochner
602ab1826f update to 1.28.0
this switches to the gnome-2.30 branch
2010-05-31 17:57:37 +00:00
taca
b98a615f03 Add a patch to fix CVE-2010-0421, DoS security fix.
Bump PKGREVISION.
2010-03-27 15:59:33 +00:00
tron
7f7f8b421d Change very questionable C++ code slightly to avoid high CPU usage under
Mac OS X. (see https://bugzilla.gnome.org/show_bug.cgi?id=593240 for
more details). Tested with XChat and Wireshark under Mac OS 10.6.2 and
NetBSD/amd64 5.0_STABLE.
2010-02-21 23:51:25 +00:00
drochner
7d8e5950d3 update to 1.26.2
changes: fix non-standard / illegal code which broke build on some
 platforms (was patched in pkgsrc)
2009-12-15 15:09:21 +00:00
tron
20c2d2e44d Add patches on behalf of Jens Rehsack:
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.
2009-11-25 09:58:39 +00:00
tron
f1f76cdece Add a somewhat odd workaround to stop Mac OS X's toolchain (at least
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.]
2009-11-23 17:18:52 +00:00
sno
b4db7c7622 Adding some patches to get it a bit further compiled with Sun Studio
(see https://bugzilla.gnome.org/show_bug.cgi?id=602408).
Without commiting so far I couldn't check progress over the week - sorry
for the extra noise.
2009-11-22 19:14:41 +00:00
drochner
a82cc81200 update to 1.26.0
This switches to the gnome-2.28 release branch.
2009-10-21 15:42:18 +00:00
tnn
3b1e3b721c avoid gzip dependency 2009-10-11 07:39:25 +00:00
wiz
bfa3bc0220 Update to 1.22.3:
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
2008-11-24 13:26:42 +00:00
tnn
698a4c6c58 Give a name to a previously anonymous union member used during
initialisation of static data. Fixes build with Sun Studio 12.
2008-11-24 11:30:49 +00:00
tron
0a4069ca7e Remove Mac OS X shared object buildfix which is no longer necessary.
See http://bugzilla.gnome.org/show_bug.cgi?id=357209 for details.
2006-09-22 21:26:13 +00:00
wiz
d78032e4b1 Update to 1.14.0:
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
2006-08-10 16:12:59 +00:00
minskim
5ed5887b76 Add a patch for GNOME bug 322374, which may cause link errors when the atsui
module is enabled.  Patch obtained from GNOME CVS.

Bump PKGREVISION.
2006-07-24 18:09:43 +00:00
minskim
e6494cea5f Add a workaround for GNOME bug 342079, so that graphics/cairo can enable
the atsui backend.
2006-07-23 05:07:55 +00:00
tron
9d36b83cd9 Make "pango-querymodules" work under Mac OS X again. This allows to
run GTK2+ applications again. Bump package revision.
2006-03-14 19:50:15 +00:00
wiz
c8aca7a7df Update to 1.12.0:
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.
2006-03-13 18:26:03 +00:00
wiz
7bcc6f1aee Update to 1.8.2:
* 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]
2005-07-28 11:04:13 +00:00
wiz
a9aaf8c928 Update to 1.8.1:
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]
2005-03-05 13:49:36 +00:00
minskim
d940d4fd18 Add a patch for GNOME bugzilla bug #161568 to build with
fontconfig<2.2.  OK'ed by maintainer.
2004-12-28 10:48:09 +00:00
jmmv
99cb026f0e Update to 1.4.1:
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]
2004-08-31 08:21:47 +00:00
minskim
a470f37dee Fix the GNOME bug 129741, which crashes many applications, most
notably web browsers.  Patches obtained from Pango CVS.

Bump PKGREVISION.
2004-08-06 02:09:38 +00:00
grant
fde1bf0c13 link ottest against glib2 libs, fixes build on Solaris. 2004-05-09 13:16:02 +00:00
jmmv
a2dd061f89 Move "configuration" files from PKG_SYSCONFDIR to PREFIX/libdata. What pango
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.
2004-01-22 13:39:23 +00:00
wiz
25e388366f Update to 1.2.0. Depend on Xft2.
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.
2002-12-24 03:41:10 +00:00
jmmv
280d89bf2e Make this package install its configuration files under the examples tree
and let bsd.pkg.install.mk copy them to PKG_SYSCONFDIR.
Bump PKGREVISION to 1.

Reviewed by wiz.
2002-12-22 18:06:21 +00:00
rh
e525650d57 Replace hand made patches for pkgconfig tempates with PKGCONFIG_OVERRIDE. 2002-10-30 03:09:25 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
rh
db7a881c68 Patch the various pkgconfig files to include proper -Wl,-R options.
Bump PKGREVISION
2002-07-18 02:19:24 +00:00
rh
1d9181c245 Add missing -Wl,-R to the pkgconfig files. Bump PKGREVISION and default
buildlink dependency.
2002-05-10 00:45:50 +00:00
dmcmahill
62beb2544b remove unneeded patches. pkg-info adds -Wl,-R${path} automatically, no
need to add it explicitly.
2002-03-25 02:05:47 +00:00
dmcmahill
648690365b import pango-1.0.0
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.
2002-03-24 20:29:35 +00:00