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
This commit is contained in:
wiz 2006-08-10 16:12:59 +00:00
parent f1b261e37c
commit d78032e4b1
7 changed files with 26 additions and 160 deletions

View file

@ -1,11 +1,10 @@
# $NetBSD: Makefile,v 1.81 2006/07/24 23:20:50 minskim Exp $
# $NetBSD: Makefile,v 1.82 2006/08/10 16:12:59 wiz Exp $
DISTNAME= pango-1.12.3
PKGREVISION= 3
DISTNAME= pango-1.14.0
CATEGORIES= devel fonts
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.10/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.10/ \
${MASTER_SITE_GNOME:=sources/pango/1.12/}
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.12/ \
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.12/ \
${MASTER_SITE_GNOME:=sources/pango/1.14/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz@NetBSD.org
@ -43,6 +42,7 @@ CONFIGURE_ENV+= F77=${FALSE:Q}
.include "options.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.10.0
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.2
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.27 2006/07/23 05:13:21 minskim Exp $
@comment $NetBSD: PLIST,v 1.28 2006/08/10 16:12:59 wiz Exp $
bin/pango-querymodules
${X11}bin/pango-view
include/pango-1.0/pango/pango-attributes.h
@ -36,8 +36,8 @@ lib/libpangoft2-1.0.la
${X11}lib/libpangox-1.0.la
${X11}lib/libpangoxft-1.0.la
lib/pango/1.5.0/modules/pango-arabic-fc.la
lib/pango/1.5.0/modules/pango-basic-fc.la
${CARBON}lib/pango/1.5.0/modules/pango-basic-atsui.la
lib/pango/1.5.0/modules/pango-basic-fc.la
${X11}lib/pango/1.5.0/modules/pango-basic-x.la
lib/pango/1.5.0/modules/pango-hangul-fc.la
lib/pango/1.5.0/modules/pango-hebrew-fc.la
@ -64,6 +64,14 @@ share/doc/pango/home.png
share/doc/pango/index.html
share/doc/pango/index.sgml
share/doc/pango/ix01.html
share/doc/pango/ix02.html
share/doc/pango/ix03.html
share/doc/pango/ix04.html
share/doc/pango/ix05.html
share/doc/pango/ix06.html
share/doc/pango/ix07.html
share/doc/pango/ix08.html
share/doc/pango/ix09.html
share/doc/pango/layout.gif
share/doc/pango/left.png
share/doc/pango/lowlevel.html
@ -75,6 +83,7 @@ share/doc/pango/pango-Fonts.html
share/doc/pango/pango-FreeType-Fonts-and-Rendering.html
share/doc/pango/pango-Glyph-Storage.html
share/doc/pango/pango-Layout-Objects.html
share/doc/pango/pango-Miscellaneous-Utilities.html
share/doc/pango/pango-Modules.html
share/doc/pango/pango-OpenType-Font-Handling.html
share/doc/pango/pango-Scripts.html

View file

@ -1,9 +1,6 @@
$NetBSD: distinfo,v 1.39 2006/07/24 18:09:43 minskim Exp $
$NetBSD: distinfo,v 1.40 2006/08/10 16:12:59 wiz Exp $
SHA1 (pango-1.12.3.tar.bz2) = ad493c4560c0ffd9dcdb8a1724d5bff058ef112c
RMD160 (pango-1.12.3.tar.bz2) = 7692828276e9b5a54b0b8c32fa07d7db6ac45bed
Size (pango-1.12.3.tar.bz2) = 1226579 bytes
SHA1 (patch-aa) = 775b7e995770983e73fdecd38b6e2dc069950ccc
SHA1 (patch-ab) = df812b166f944a549d09953e59a0689ae4f708b6
SHA1 (patch-ac) = 9528f077acd00264a350cce0daaccd2fa0e7fb4c
SHA1 (patch-ad) = 7f014fc7cc0507c850cbe1255fc639fd98ab7a33
SHA1 (pango-1.14.0.tar.bz2) = 55df7fa0a7cd1386feb57b577d30b660e6a155c0
RMD160 (pango-1.14.0.tar.bz2) = 3a6caf7778f70ee1bf59a4413729af3aa7f43d0b
Size (pango-1.14.0.tar.bz2) = 1289752 bytes
SHA1 (patch-ab) = eb6ba5a6aa52812c42681e16a78b877a456b5721

View file

@ -1,14 +0,0 @@
$NetBSD: patch-aa,v 1.12 2006/03/13 18:26:03 wiz Exp $
--- pango/opentype/Makefile.in.orig 2006-03-13 04:55:45.000000000 +0000
+++ pango/opentype/Makefile.in
@@ -325,7 +325,8 @@ ottest_SOURCES = \
ottest_LDADD = \
libmini-harfbuzz.la \
- $(FREETYPE_LIBS)
+ $(FREETYPE_LIBS) \
+ $(GLIB_LIBS)
EXTRA_DIST = \

View file

@ -1,8 +1,8 @@
$NetBSD: patch-ab,v 1.13 2006/03/14 19:50:15 tron Exp $
$NetBSD: patch-ab,v 1.14 2006/08/10 16:12:59 wiz Exp $
--- configure.orig 2006-03-13 04:39:53.000000000 +0000
+++ configure 2006-03-14 19:23:09.000000000 +0000
@@ -24046,7 +24046,7 @@
--- configure.orig 2006-08-08 22:15:52.000000000 +0000
+++ configure
@@ -23058,7 +23058,7 @@ fi
use_la_modules=false
case $host in

View file

@ -1,112 +0,0 @@
$NetBSD: patch-ac,v 1.10 2006/07/23 05:07:55 minskim Exp $
http://bugzilla.gnome.org/show_bug.cgi?id=342079
--- pango/pangoatsui-private.h.orig 2006-07-22 22:02:02.000000000 -0700
+++ pango/pangoatsui-private.h
@@ -0,0 +1,105 @@
+/* Pango
+ * pangoatsui-private.h:
+ *
+ * Copyright (C) 2003 Red Hat Software
+ * Copyright (C) 2005 Imendio AB
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __PANGOATSUI_PRIVATE_H__
+#define __PANGOATSUI_PRIVATE_H__
+
+#include <pango/pango-fontmap.h>
+#include <pango/pango-context.h>
+
+G_BEGIN_DECLS
+
+#define PANGO_TYPE_ATSUI_FONT_MAP (pango_atsui_font_map_get_type ())
+#define PANGO_ATSUI_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_ATSUI_FONT_MAP, PangoATSUIFontMap))
+#define PANGO_ATSUI_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_ATSUI_FONT_MAP))
+#define PANGO_ATSUI_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_ATSUI_FONT_MAP, PangoATSUIFontMapClass))
+#define PANGO_IS_ATSUI_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_ATSUI_FONT_MAP))
+#define PANGO_ATSUI_FONT_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_ATSUI_FONT_MAP, PangoATSUIFontMapClass))
+
+#define PANGO_TYPE_ATSUI_FONT (pango_atsui_font_get_type ())
+#define PANGO_ATSUI_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_ATSUI_FONT, PangoATSUIFont))
+#define PANGO_ATSUI_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_ATSUI_FONT, PangoATSUIFontClass))
+#define PANGO_ATSUI_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_ATSUI_FONT))
+#define PANGO_ATSUI_IS_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_ATSUI_FONT))
+#define PANGO_ATSUI_FONT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_ATSUI_FONT, PangoATSUIFontClass))
+
+#define PANGO_RENDER_TYPE_ATSUI "PangoRenderATSUI"
+
+typedef struct _PangoATSUIFontMap PangoATSUIFontMap;
+typedef struct _PangoATSUIFontMapClass PangoATSUIFontMapClass;
+typedef struct _PangoATSUIFont PangoATSUIFont;
+typedef struct _PangoATSUIFontClass PangoATSUIFontClass;
+
+struct _PangoATSUIFontMap
+{
+ PangoFontMap parent_instance;
+
+ GHashTable *font_hash;
+
+ GHashTable *families;
+};
+
+struct _PangoATSUIFontMapClass
+{
+ PangoFontMapClass parent_class;
+
+ gconstpointer (*context_key_get) (PangoATSUIFontMap *atsuifontmap,
+ PangoContext *context);
+ gpointer (*context_key_copy) (PangoATSUIFontMap *atsuifontmap,
+ gconstpointer key);
+ void (*context_key_free) (PangoATSUIFontMap *atsuifontmap,
+ gpointer key);
+ guint32 (*context_key_hash) (PangoATSUIFontMap *atsuifontmap,
+ gconstpointer key);
+ gboolean (*context_key_equal) (PangoATSUIFontMap *atsuifontmap,
+ gconstpointer key_a,
+ gconstpointer key_b);
+
+ PangoATSUIFont * (* create_font) (PangoATSUIFontMap *fontmap,
+ PangoContext *context,
+ const char *postscript_name,
+ const PangoFontDescription *desc);
+};
+
+struct _PangoATSUIFont
+{
+ PangoFont parent_instance;
+
+ char *postscript_name;
+ PangoFontDescription *desc;
+ PangoMatrix matrix;
+ gpointer context_key;
+
+ PangoFontMap *fontmap;
+};
+
+struct _PangoATSUIFontClass
+{
+ PangoFontClass parent_class;
+};
+
+GType pango_atsui_font_map_get_type (void);
+GType pango_atsui_font_get_type (void);
+
+G_END_DECLS
+
+#endif /* __PANGOATSUI_H__ */

View file

@ -1,14 +0,0 @@
$NetBSD: patch-ad,v 1.7 2006/07/24 18:09:43 minskim Exp $
http://bugzilla.gnome.org/show_bug.cgi?id=322374
--- pango/Makefile.in.orig 2006-07-24 09:57:03.000000000 -0700
+++ pango/Makefile.in
@@ -524,6 +524,7 @@ libpangocairo_1_0_la_SOURCES = \
$(am__append_16) $(am__append_19) $(am__append_20)
@HAVE_CAIRO_ATSUI_TRUE@libpangocairo_1_0_la_CFLAGS = -xobjective-c
+@HAVE_CAIRO_ATSUI_TRUE@libpangocairo_1_0_la_LDFLAGS += -framework CoreFoundation -framework Carbon -framework Cocoa
libpangowin32_1_0_la_LDFLAGS = $(LIBRARY_LIBTOOL_OPTIONS) $(am__append_23)
libpangowin32_1_0_la_LIBADD = \