summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-09-14 13:45:41 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-09-14 13:45:41 +0000
commit6479229c21d4824ca6e2a3de783248a2ea3a3938 (patch)
treecc477412c6682067c481059a6cca4cecb60864ab
parente1d9bf4f9ead8e632fcb9c96361b54546a198a89 (diff)
downloadpango-6479229c21d4824ca6e2a3de783248a2ea3a3938.tar.gz
=== Released 1.6.0 ===PANGO_1_6_0
Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.6.0 === * configure.in: Update versions for 1.6.0 * NEWS: Update. * README: Minor tweak. * pango/fonts.c pango/pango-context.c pango/pango-types.h pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c pango/opentype/pango-ot-buffer.c: Add a bunch of missing Since: 1.6.
-rw-r--r--ChangeLog15
-rw-r--r--ChangeLog.pre-1-1015
-rw-r--r--ChangeLog.pre-1-615
-rw-r--r--ChangeLog.pre-1-815
-rw-r--r--NEWS6
-rw-r--r--README20
-rw-r--r--configure.in6
-rw-r--r--docs/tmpl/opentype.sgml1
-rw-r--r--pango/fonts.c8
-rw-r--r--pango/opentype/pango-ot-buffer.c2
-rw-r--r--pango/pango-context.c6
-rw-r--r--pango/pango-layout.c4
-rw-r--r--pango/pango-types.h4
-rw-r--r--pango/pango-utils.c12
-rw-r--r--pango/pangoft2.c6
15 files changed, 121 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index e57b94a9..a70810a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.6.0 ===
+
+ * configure.in: Update versions for 1.6.0
+
+ * NEWS: Update.
+
+ * README: Minor tweak.
+
+ * pango/fonts.c pango/pango-context.c pango/pango-types.h
+ pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
+ pango/opentype/pango-ot-buffer.c: Add a bunch of missing
+ Since: 1.6.
+
Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com>
* examples/renderdemo.c (fc_substitute_func): Fix reversed
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index e57b94a9..a70810a2 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,18 @@
+Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.6.0 ===
+
+ * configure.in: Update versions for 1.6.0
+
+ * NEWS: Update.
+
+ * README: Minor tweak.
+
+ * pango/fonts.c pango/pango-context.c pango/pango-types.h
+ pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
+ pango/opentype/pango-ot-buffer.c: Add a bunch of missing
+ Since: 1.6.
+
Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com>
* examples/renderdemo.c (fc_substitute_func): Fix reversed
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index e57b94a9..a70810a2 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,18 @@
+Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.6.0 ===
+
+ * configure.in: Update versions for 1.6.0
+
+ * NEWS: Update.
+
+ * README: Minor tweak.
+
+ * pango/fonts.c pango/pango-context.c pango/pango-types.h
+ pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
+ pango/opentype/pango-ot-buffer.c: Add a bunch of missing
+ Since: 1.6.
+
Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com>
* examples/renderdemo.c (fc_substitute_func): Fix reversed
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index e57b94a9..a70810a2 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,18 @@
+Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.6.0 ===
+
+ * configure.in: Update versions for 1.6.0
+
+ * NEWS: Update.
+
+ * README: Minor tweak.
+
+ * pango/fonts.c pango/pango-context.c pango/pango-types.h
+ pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
+ pango/opentype/pango-ot-buffer.c: Add a bunch of missing
+ Since: 1.6.
+
Mon Aug 16 14:17:56 2004 Owen Taylor <otaylor@redhat.com>
* examples/renderdemo.c (fc_substitute_func): Fix reversed
diff --git a/NEWS b/NEWS
index 01b1bfa4..b4c92705 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+Overview of changes between 1.5.2 and 1.6.0
+===========================================
+* Add OpenType support for Hebrew [Dov Grobgeld]
+* Win32 bug and build fixes [Tor Lillqvist, Hans Breuer, John Ehresman]
+* Misc bug fixes [Behdad Esfahbod, Jatin Nansi]
+
Overview of changes between 1.5.1 and 1.5.2
===========================================
* Support 'init' feature for Bengali [Sayamindu Dasgupta]
diff --git a/README b/README
index 3138c268..22be8e04 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
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
+is needed; however, most of the work on Pango so far has been done using
+the GTK+ widget toolkit as a test platform. Pango forms the core of text
and font handling for GTK+-2.x.
Pango is designed to be modular; the core Pango layout can be used
@@ -28,15 +28,13 @@ For more information about Pango, see:
Dependencies
============
-Pango depends on version 2.4.0 of the GLib library; more information
-about GLib can be found at http://www.gtk.org/.
+Pango depends on version 2.4.0 or new of the GLib library; more
+information about GLib can be found at http://www.gtk.org/.
-The recommended font backend for X in Pango-1.4 is the Xft backend
+The supported font backend for X in Pango-1.4 is the Xft backend
which uses version 2 of the Xft library to manage client
-side fonts. Benefits of the Xft backend include, performance,
-support for OpenType fonts, and antialiasing. Version 2 of
-Xft is available from http://fontconfig.org/. Along with
-Xft, you'll need to install its dependency fontconfig, and
+side fonts. Version 2 of Xft is available from http://fontconfig.org/
+Along with Xft, you'll need to install its dependency fontconfig, and
possibly also the Xrender library, if that doesn't come with
your system. Both of these libraries are available from
the same place as fontconfig.
@@ -44,7 +42,7 @@ the same place as fontconfig.
Note that an earlier version of Xft is shipped with version
of XFree86 up to 4.2. This version does not work with Pango-1.4;
Pango-1.4 requires version 2 of Xft, which is present in XFree86-4.3
-and newer.
+and newer and in X11R6.7 and X11R6.8.
Both Xft and the optional PangoFT2 backend require the fontconfig
library (http://www.fontconfig.org) to look up fonts. At least version
@@ -90,4 +88,4 @@ README file.
Owen Taylor
otaylor@redhat.com
-16 March 2004
+13 September 2004
diff --git a/configure.in b/configure.in
index d3a73b28..2115ff30 100644
--- a/configure.in
+++ b/configure.in
@@ -21,14 +21,14 @@ dnl
dnl The triplet
m4_define([pango_major_version], [1])
-m4_define([pango_minor_version], [5])
-m4_define([pango_micro_version], [2])
+m4_define([pango_minor_version], [6])
+m4_define([pango_micro_version], [0])
m4_define([pango_version],
[pango_major_version.pango_minor_version.pango_micro_version])
dnl The X.Y in -lpango-X.Y line. This is expected to stay 1.0 until Pango 2.
m4_define([pango_api_version], [1.0])
dnl Number of releases since we've added interfaces
-m4_define([pango_interface_age], [1])
+m4_define([pango_interface_age], [0])
dnl Number of releases since we've broken binary compatibility.
m4_define([pango_binary_age],
[m4_eval(100 * pango_minor_version + pango_micro_version)])
diff --git a/docs/tmpl/opentype.sgml b/docs/tmpl/opentype.sgml
index 9de20ae6..c8487c13 100644
--- a/docs/tmpl/opentype.sgml
+++ b/docs/tmpl/opentype.sgml
@@ -49,6 +49,7 @@ use pango_ot_info_new().
@cluster:
@component:
@ligID:
+@property_cache:
<!-- ##### STRUCT PangoOTRuleset ##### -->
<para>
diff --git a/pango/fonts.c b/pango/fonts.c
index f2efbd7d..e6692927 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1283,6 +1283,8 @@ pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics)
* negative.
*
* Return value: the suggested underline position, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_underline_position (PangoFontMetrics *metrics)
@@ -1299,6 +1301,8 @@ pango_font_metrics_get_underline_position (PangoFontMetrics *metrics)
* Gets the suggested thickness to draw for the underline.
*
* Return value: the suggested underline thickness, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics)
@@ -1317,6 +1321,8 @@ pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics)
* baseline of the top of the strikethrough.
*
* Return value: the suggested strikethrough position, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics)
@@ -1333,6 +1339,8 @@ pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics)
* Gets the suggested thickness to draw for the strikethrough.
*
* Return value: the suggested strikethrough thickness, in Pango units.
+ *
+ * Since: 1.6
**/
int
pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics)
diff --git a/pango/opentype/pango-ot-buffer.c b/pango/opentype/pango-ot-buffer.c
index a7b23e65..17e6e4ff 100644
--- a/pango/opentype/pango-ot-buffer.c
+++ b/pango/opentype/pango-ot-buffer.c
@@ -93,6 +93,8 @@ pango_ot_buffer_set_rtl (PangoOTBuffer *buffer,
* This setting is needed for proper positioning of Arabic accents,
* but will produce incorrect results with standard OpenType indic
* fonts.
+ *
+ * Since: 1.6
**/
void
pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer,
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 21a2e8c3..83873d5c 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -135,6 +135,8 @@ pango_context_new (void)
* coordiantes after the application of the matrix. So, they don't scale
* with the matrix, though they may change slightly for different
* matrices, depending on how the text is fit to the pixel grid.
+ *
+ * Since: 1.6
**/
void
pango_context_set_matrix (PangoContext *context,
@@ -161,6 +163,8 @@ pango_context_set_matrix (PangoContext *context,
* (which is the same as the identity matrix). The returned
* matrix is owned by Pango and must not be modified or
* freed.
+ *
+ * Since: 1.6
**/
G_CONST_RETURN PangoMatrix *
pango_context_get_matrix (PangoContext *context)
@@ -203,6 +207,8 @@ pango_context_set_font_map (PangoContext *context,
*
* Return value: the font map for the #PangoContext. This value
* is owned by Pango and should not be unreferenced.
+ *
+ * Since: 1.6
**/
PangoFontMap *
pango_context_get_font_map (PangoContext *context)
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index f90e6b3f..6da91cac 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -725,6 +725,8 @@ pango_layout_get_single_paragraph_mode (PangoLayout *layout)
* If the layout contains characters such as newlines that
* force it to be layed out in multiple lines, then each line
* is ellipsized separately.
+ *
+ * Since: 1.6
**/
void
pango_layout_set_ellipsize (PangoLayout *layout,
@@ -748,6 +750,8 @@ pango_layout_set_ellipsize (PangoLayout *layout,
* See pango_layout_get_ellipsize()
*
* Return value: the current ellipsization mode for @layout
+ *
+ * Since: 1.6
**/
PangoEllipsizeMode
pango_layout_get_ellipsize (PangoLayout *layout)
diff --git a/pango/pango-types.h b/pango/pango-types.h
index a8d2f448..82143508 100644
--- a/pango/pango-types.h
+++ b/pango/pango-types.h
@@ -72,6 +72,8 @@ struct _PangoRectangle
* x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0;
* y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
* </programlisting>
+ *
+ * Since: 1.6
**/
struct _PangoMatrix
{
@@ -100,6 +102,8 @@ struct _PangoMatrix
* PangoMatrix matrix = PANGO_MATRIX_INIT;
* pango_matrix_rotate (&amp;matrix, 45.);
* </programlisting></informalexample>
+ *
+ * Since: 1.6
**/
#define PANGO_MATRIX_INIT { 1., 0., 0., 1., 0., 0. }
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 2867e269..8768f84f 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1008,6 +1008,8 @@ pango_matrix_get_type (void)
*
* Return value: a copy of @matrix. The result must be freed with
* pango_matrix_free().
+ *
+ * Since: 1.6
**/
PangoMatrix *
pango_matrix_copy (const PangoMatrix *matrix)
@@ -1022,6 +1024,8 @@ pango_matrix_copy (const PangoMatrix *matrix)
* @matrix: a #PangoMatrix
*
* Free a #PangoMatrix created with pango_matrix_copy().
+ *
+ * Since: 1.6
**/
void
pango_matrix_free (PangoMatrix *matrix)
@@ -1040,6 +1044,8 @@ pango_matrix_free (PangoMatrix *matrix)
* Changes the transformation represented by @matrix to be the
* transformation given by first translating by (@tx, @ty)
* then applying the original transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_translate (PangoMatrix *matrix,
@@ -1062,6 +1068,8 @@ pango_matrix_translate (PangoMatrix *matrix,
* transformation given by first scaling by @sx in the X direction
* and @sy in the Y direction then applying the original
* transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_scale (PangoMatrix *matrix,
@@ -1084,6 +1092,8 @@ pango_matrix_scale (PangoMatrix *matrix,
* Changes the transformation represented by @matrix to be the
* transformation given by first rotating by @degrees degrees
* counter-clokwise then applying the original transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_rotate (PangoMatrix *matrix,
@@ -1116,6 +1126,8 @@ pango_matrix_rotate (PangoMatrix *matrix,
* Changes the transformation represented by @matrix to be the
* transformation given by first applying transformation
* given by @new_matrix then applying the original transformation.
+ *
+ * Since: 1.6
**/
void
pango_matrix_concat (PangoMatrix *matrix,
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index 082b6725..7860b042 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -355,6 +355,8 @@ transform_point (const PangoMatrix *matrix,
* changed, so to produce correct rendering results, the @font
* must have been loaded using a #PangoContext with an identical
* transformation matrix to that passed in to this function.
+ *
+ * Since: 1.6
**/
void
pango_ft2_render_transformed (FT_Bitmap *bitmap,
@@ -806,6 +808,8 @@ draw_strikethrough (FT_Bitmap *bitmap,
* pixels. (Using this will avoid extra inaccuracies from
* rounding to integer pixels multiple times, even if the
* final glyph positions are integers.)
+ *
+ * Since: 1.6
*/
void
pango_ft2_render_layout_line_subpixel (FT_Bitmap *bitmap,
@@ -906,6 +910,8 @@ pango_ft2_render_layout_line (FT_Bitmap *bitmap,
* pixels. (Using this will avoid extra inaccuracies from
* rounding to integer pixels multiple times, even if the
* final glyph positions are integers.)
+ *
+ * Since: 1.6
*/
void
pango_ft2_render_layout_subpixel (FT_Bitmap *bitmap,