summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-03-02 00:59:01 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-03-02 00:59:01 +0000
commit37fd4baefa4ba074d2381116008f244dfe90edce (patch)
tree75b448494e1e8d9b183bbf223cc02b2f0ddd3e3c
parentaf095f2b80d62ebbe8dbd3a212f20a2ca2c3b7c7 (diff)
downloadpango-37fd4baefa4ba074d2381116008f244dfe90edce.tar.gz
=== Released 1.3.5 ===PANGO_1_3_5
Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com> * === Released 1.3.5 === * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0. * NEWS: Update * modules/arabic/arabic-fc.c (arabic_engine_shape): Fix a crash from left-over handling of clusters for non-spacing marks.
-rw-r--r--ChangeLog14
-rw-r--r--ChangeLog.pre-1-1014
-rw-r--r--ChangeLog.pre-1-414
-rw-r--r--ChangeLog.pre-1-614
-rw-r--r--ChangeLog.pre-1-814
-rw-r--r--NEWS13
-rw-r--r--configure.in4
-rw-r--r--docs/pango-sections.txt14
-rw-r--r--docs/tmpl/layout.sgml19
-rw-r--r--docs/tmpl/main.sgml24
-rw-r--r--docs/tmpl/opentype.sgml103
-rw-r--r--docs/tmpl/text-attributes.sgml9
-rw-r--r--modules/arabic/arabic-fc.c12
-rw-r--r--pango/mini-fribidi/fribidi.c7
-rw-r--r--pango/pango-context.c1
15 files changed, 247 insertions, 29 deletions
diff --git a/ChangeLog b/ChangeLog
index a7e7cc88..556cf47c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.3.5 ===
+
+ * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0.
+
+ * NEWS: Update
+
+ * modules/arabic/arabic-fc.c (arabic_engine_shape):
+ Fix a crash from left-over handling of clusters
+ for non-spacing marks.
+
Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org>
* autogen.sh:
@@ -127,7 +139,7 @@ Fri Feb 27 14:26:34 2004 Owen Taylor <otaylor@redhat.com>
* modules/indic/indic-ot-class-tables.c (bengCharClasses):
Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F)
as consonants which gives better behavior when they
- are combined wiht halant, though it isn't exactly right.
+ are combined with halant, though it isn't exactly right.
(#118299, Sayamindu Dasgupta)
Fri Feb 27 11:24:50 2004 Owen Taylor <otaylor@redhat.com>
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index a7e7cc88..556cf47c 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,15 @@
+Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.3.5 ===
+
+ * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0.
+
+ * NEWS: Update
+
+ * modules/arabic/arabic-fc.c (arabic_engine_shape):
+ Fix a crash from left-over handling of clusters
+ for non-spacing marks.
+
Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org>
* autogen.sh:
@@ -127,7 +139,7 @@ Fri Feb 27 14:26:34 2004 Owen Taylor <otaylor@redhat.com>
* modules/indic/indic-ot-class-tables.c (bengCharClasses):
Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F)
as consonants which gives better behavior when they
- are combined wiht halant, though it isn't exactly right.
+ are combined with halant, though it isn't exactly right.
(#118299, Sayamindu Dasgupta)
Fri Feb 27 11:24:50 2004 Owen Taylor <otaylor@redhat.com>
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index a7e7cc88..556cf47c 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,15 @@
+Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.3.5 ===
+
+ * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0.
+
+ * NEWS: Update
+
+ * modules/arabic/arabic-fc.c (arabic_engine_shape):
+ Fix a crash from left-over handling of clusters
+ for non-spacing marks.
+
Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org>
* autogen.sh:
@@ -127,7 +139,7 @@ Fri Feb 27 14:26:34 2004 Owen Taylor <otaylor@redhat.com>
* modules/indic/indic-ot-class-tables.c (bengCharClasses):
Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F)
as consonants which gives better behavior when they
- are combined wiht halant, though it isn't exactly right.
+ are combined with halant, though it isn't exactly right.
(#118299, Sayamindu Dasgupta)
Fri Feb 27 11:24:50 2004 Owen Taylor <otaylor@redhat.com>
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index a7e7cc88..556cf47c 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,15 @@
+Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.3.5 ===
+
+ * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0.
+
+ * NEWS: Update
+
+ * modules/arabic/arabic-fc.c (arabic_engine_shape):
+ Fix a crash from left-over handling of clusters
+ for non-spacing marks.
+
Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org>
* autogen.sh:
@@ -127,7 +139,7 @@ Fri Feb 27 14:26:34 2004 Owen Taylor <otaylor@redhat.com>
* modules/indic/indic-ot-class-tables.c (bengCharClasses):
Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F)
as consonants which gives better behavior when they
- are combined wiht halant, though it isn't exactly right.
+ are combined with halant, though it isn't exactly right.
(#118299, Sayamindu Dasgupta)
Fri Feb 27 11:24:50 2004 Owen Taylor <otaylor@redhat.com>
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index a7e7cc88..556cf47c 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,15 @@
+Mon Mar 1 19:24:09 2004 Owen Taylor <otaylor@redhat.com>
+
+ * === Released 1.3.5 ===
+
+ * configure.in: Version 1.3.5 (1.3.4 skipped), interface age 0.
+
+ * NEWS: Update
+
+ * modules/arabic/arabic-fc.c (arabic_engine_shape):
+ Fix a crash from left-over handling of clusters
+ for non-spacing marks.
+
Mon Mar 1 20:32:06 2004 Tim Janik <timj@gtk.org>
* autogen.sh:
@@ -127,7 +139,7 @@ Fri Feb 27 14:26:34 2004 Owen Taylor <otaylor@redhat.com>
* modules/indic/indic-ot-class-tables.c (bengCharClasses):
Mark BENGALI LETTER A (U+0985) and BENGALI LETTER E (U+098F)
as consonants which gives better behavior when they
- are combined wiht halant, though it isn't exactly right.
+ are combined with halant, though it isn't exactly right.
(#118299, Sayamindu Dasgupta)
Fri Feb 27 11:24:50 2004 Owen Taylor <otaylor@redhat.com>
diff --git a/NEWS b/NEWS
index 0ff34922..f9ccd615 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,17 @@
-Overview of changes between 1.3.2 and 1.3.3
+Overview of changes between 1.3.3 and 1.3.5
===========================================
+* Add support for automatically determining the base direction for
+ PangoLayout from the contained text [Dov Grobgeld]
+* Major rework of internal opentype interfaces to fix
+ problems with GPOS. Turn on GPOS handling for Arabic.
+* Add a PangoAttribute to turn off font fallback [Noah Levitt]
+* Add wavy error-indication underlines [Nicolas Setton]
+* Improve handling of BENGALI LETTER A/E [Sayamindu Dasgupta]
+* Win32 bug fixes and improvements [J. Ali Harlow, Hans Breuer]
+* Misc bug fixes [Noah, Roozbeh Pournader]
+Overview of changes between 1.3.2 and 1.3.3
+===========================================
* Add pango_font_face_list_sizes() [Noah Levitt]
* Add pango_font_family_is_monospace [Noah]
* Do OpenType processing for CFF fonts [Manjunath Sripadarao]
diff --git a/configure.in b/configure.in
index 39304d1d..7463ee64 100644
--- a/configure.in
+++ b/configure.in
@@ -22,13 +22,13 @@ dnl
dnl The triplet
m4_define([pango_major_version], [1])
m4_define([pango_minor_version], [3])
-m4_define([pango_micro_version], [3])
+m4_define([pango_micro_version], [5])
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], [3])
+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/pango-sections.txt b/docs/pango-sections.txt
index 5fa5dab8..f70f2e58 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -9,6 +9,7 @@ PangoDirection
PANGO_TYPE_DIRECTION
<SUBSECTION>
pango_itemize
+pango_itemize_with_base_dir
pango_item_free
pango_item_copy
pango_item_new
@@ -288,6 +289,7 @@ PangoUnderline
PANGO_TYPE_UNDERLINE
pango_attr_shape_new
pango_attr_scale_new
+pango_attr_fallback_new
PANGO_SCALE_XX_SMALL
PANGO_SCALE_X_SMALL
PANGO_SCALE_SMALL
@@ -719,6 +721,8 @@ pango_fc_font_get_type
<FILE>opentype</FILE>
PangoOTTag
PangoOTInfo
+PangoOTBuffer
+PangoOTGlyph
PangoOTRuleset
PangoOTTableType
pango_ot_info_get
@@ -728,8 +732,16 @@ pango_ot_info_find_feature
pango_ot_info_list_scripts
pango_ot_info_list_languages
pango_ot_info_list_features
+pango_ot_buffer_new
+pango_ot_buffer_destroy
+pango_ot_buffer_clear
+pango_ot_buffer_add_glyph
+pango_ot_buffer_set_rtl
+pango_ot_buffer_get_glyphs
+pango_ot_buffer_output
pango_ot_ruleset_new
pango_ot_ruleset_add_feature
-pango_ot_ruleset_shape
+pango_ot_ruleset_substitute
+pango_ot_ruleset_position
</SECTION>
diff --git a/docs/tmpl/layout.sgml b/docs/tmpl/layout.sgml
index cf7e3120..90b228e5 100644
--- a/docs/tmpl/layout.sgml
+++ b/docs/tmpl/layout.sgml
@@ -269,6 +269,24 @@ The GObject type for #PangoWrapMode.
@Returns:
+<!-- ##### FUNCTION pango_layout_set_auto_dir ##### -->
+<para>
+
+</para>
+
+@layout:
+@auto_dir:
+
+
+<!-- ##### FUNCTION pango_layout_get_auto_dir ##### -->
+<para>
+
+</para>
+
+@layout:
+@Returns:
+
+
<!-- ##### FUNCTION pango_layout_set_alignment ##### -->
<para>
@@ -643,6 +661,7 @@ code specific to each rendering system.
@length: the length of the line in bytes.
@runs: a list containing the runs of the line in visual order.
@is_paragraph_start: %TRUE if this is the first line of the paragraph.
+@resolved_dir:
<!-- ##### TYPEDEF PangoLayoutRun ##### -->
<para>
diff --git a/docs/tmpl/main.sgml b/docs/tmpl/main.sgml
index 5901eca7..e2557de1 100644
--- a/docs/tmpl/main.sgml
+++ b/docs/tmpl/main.sgml
@@ -83,6 +83,21 @@ The GObject type for #PangoDirection.
@Returns:
+<!-- ##### FUNCTION pango_itemize_with_base_dir ##### -->
+<para>
+
+</para>
+
+@context:
+@base_dir:
+@text:
+@start_index:
+@length:
+@attrs:
+@cached_iter:
+@Returns:
+
+
<!-- ##### FUNCTION pango_item_free ##### -->
<para>
@@ -253,11 +268,14 @@ The GObject type for #PangoDirection.
<!-- ##### FUNCTION pango_unichar_direction ##### -->
<para>
-
+Determines the direction of a character; either
+%PANGO_DIRECTION_LTR, %PANGO_DIRECTION_LTR, or
+%PANGO_DIRECTION_NEUTRAL.
</para>
-@ch:
-@Returns:
+@ch: character to examine
+@Returns: the direction of a character, as used in the
+ Unicode bidirectional algorithm.
<!-- ##### FUNCTION pango_find_base_dir ##### -->
diff --git a/docs/tmpl/opentype.sgml b/docs/tmpl/opentype.sgml
index 1cd93ffe..87deb9e3 100644
--- a/docs/tmpl/opentype.sgml
+++ b/docs/tmpl/opentype.sgml
@@ -33,6 +33,23 @@ use pango_ot_info_new().
</para>
+<!-- ##### STRUCT PangoOTBuffer ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### STRUCT PangoOTGlyph ##### -->
+<para>
+
+</para>
+
+@glyph:
+@properties:
+@cluster:
+@component:
+@ligID:
+
<!-- ##### STRUCT PangoOTRuleset ##### -->
<para>
The <structname>PangoOTRuleSet</structname> structure holds a
@@ -61,10 +78,10 @@ identify the various OpenType tables in the
</para>
-@font:
+@face:
@Returns:
<!-- # Unused Parameters # -->
-@face:
+@font:
<!-- ##### FUNCTION pango_ot_info_find_script ##### -->
@@ -142,6 +159,70 @@ identify the various OpenType tables in the
@Returns:
+<!-- ##### FUNCTION pango_ot_buffer_new ##### -->
+<para>
+
+</para>
+
+@font:
+@Returns:
+
+
+<!-- ##### FUNCTION pango_ot_buffer_destroy ##### -->
+<para>
+
+</para>
+
+@buffer:
+
+
+<!-- ##### FUNCTION pango_ot_buffer_clear ##### -->
+<para>
+
+</para>
+
+@buffer:
+
+
+<!-- ##### FUNCTION pango_ot_buffer_add_glyph ##### -->
+<para>
+
+</para>
+
+@buffer:
+@glyph_index:
+@properties:
+@cluster:
+
+
+<!-- ##### FUNCTION pango_ot_buffer_set_rtl ##### -->
+<para>
+
+</para>
+
+@buffer:
+@rtl:
+
+
+<!-- ##### FUNCTION pango_ot_buffer_get_glyphs ##### -->
+<para>
+
+</para>
+
+@buffer:
+@glyphs:
+@n_glyphs:
+
+
+<!-- ##### FUNCTION pango_ot_buffer_output ##### -->
+<para>
+
+</para>
+
+@buffer:
+@glyphs:
+
+
<!-- ##### FUNCTION pango_ot_ruleset_new ##### -->
<para>
@@ -162,3 +243,21 @@ identify the various OpenType tables in the
@property_bit:
+<!-- ##### FUNCTION pango_ot_ruleset_substitute ##### -->
+<para>
+
+</para>
+
+@ruleset:
+@buffer:
+
+
+<!-- ##### FUNCTION pango_ot_ruleset_position ##### -->
+<para>
+
+</para>
+
+@ruleset:
+@buffer:
+
+
diff --git a/docs/tmpl/text-attributes.sgml b/docs/tmpl/text-attributes.sgml
index aa8445cd..ae6add8f 100644
--- a/docs/tmpl/text-attributes.sgml
+++ b/docs/tmpl/text-attributes.sgml
@@ -354,6 +354,15 @@ The GObject type for #PangoUnderline.
@Returns:
+<!-- ##### FUNCTION pango_attr_fallback_new ##### -->
+<para>
+
+</para>
+
+@enable_fallback:
+@Returns:
+
+
<!-- ##### MACRO PANGO_SCALE_XX_SMALL ##### -->
<para>
The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
index bf0270c9..b7be54d0 100644
--- a/modules/arabic/arabic-fc.c
+++ b/modules/arabic/arabic-fc.c
@@ -291,6 +291,7 @@ arabic_engine_shape (PangoEngineShape *engine,
PangoGlyph index;
char buf[6];
const char *input;
+ int cluster = 0;
wc = g_utf8_get_char (p);
@@ -328,14 +329,11 @@ arabic_engine_shape (PangoEngineShape *engine,
}
else
{
+ if (g_unichar_type (wc) != G_UNICODE_NON_SPACING_MARK)
+ cluster = p - text;
+
pango_ot_buffer_add_glyph (buffer, index,
- properties[i], p - text);
-
- if (g_unichar_type (wc) == G_UNICODE_NON_SPACING_MARK)
- {
- if (i > 0)
- glyphs->log_clusters[i] = glyphs->log_clusters[i-1];
- }
+ properties[i], cluster);
}
}
diff --git a/pango/mini-fribidi/fribidi.c b/pango/mini-fribidi/fribidi.c
index 022f9f4c..75366665 100644
--- a/pango/mini-fribidi/fribidi.c
+++ b/pango/mini-fribidi/fribidi.c
@@ -1050,13 +1050,6 @@ pango_log2vis_get_embedding_levels (/* input */
return TRUE;
}
-/**
- * pango_unichar_direction:
- * @ch: character to examine
- *
- * Returns the direction of a character, as used in the
- * Unicode bidirectional algorithm.
- */
PangoDirection
pango_unichar_direction (gunichar ch)
{
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 51a467d3..316245dd 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1121,7 +1121,6 @@ pango_itemize_with_base_dir (PangoContext *context,
* @context: a structure holding information that affects
the itemization process.
* @text: the text to itemize.
- * @base_dir: base direction to use for BiDi algorithm.
* @start_index: first byte in @text to process
* @length: the number of bytes (not characters) to process
* after @start_index.