summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-02-17 01:46:22 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-02-17 01:46:22 +0000
commitbaf447503abc5c4c936ff2f1a0f28a32a26f27e1 (patch)
tree2de03d4e05d898b7b57349aad1a880b8bd97dd18
parent7f846326d416e9ab3eadca9f02b9a0129095f30b (diff)
downloadpango-baf447503abc5c4c936ff2f1a0f28a32a26f27e1.tar.gz
Release 0.7
Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Release 0.7 * examples/Makefile.am (aliasdir): Install example pangox_aliases file. * examples/Makefile.am (bin_PROGRAMS): Install pango-viewer. * docs/tmpl/*: Updated templates.
-rw-r--r--ChangeLog12
-rw-r--r--ChangeLog.pre-1-012
-rw-r--r--ChangeLog.pre-1-1012
-rw-r--r--ChangeLog.pre-1-212
-rw-r--r--ChangeLog.pre-1-412
-rw-r--r--ChangeLog.pre-1-612
-rw-r--r--ChangeLog.pre-1-812
-rw-r--r--TODO12
-rw-r--r--configure.in2
-rw-r--r--docs/pango-sections.txt9
-rw-r--r--docs/tmpl/coverage-maps.sgml14
-rw-r--r--docs/tmpl/fonts.sgml10
-rw-r--r--docs/tmpl/main.sgml44
-rw-r--r--docs/tmpl/pango-unused.sgml7
-rw-r--r--docs/tmpl/text-attributes.sgml22
-rw-r--r--examples/Makefile.am8
-rw-r--r--pango.spec.in6
-rw-r--r--pango/pango-context.c4
18 files changed, 195 insertions, 27 deletions
diff --git a/ChangeLog b/ChangeLog
index fe9fb0f6..8ab31271 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Release 0.7
+
+ * examples/Makefile.am (aliasdir): Install example
+ pangox_aliases file.
+
+ * examples/Makefile.am (bin_PROGRAMS): Install
+ pango-viewer.
+
+ * docs/tmpl/*: Updated templates.
+
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0
index fe9fb0f6..8ab31271 100644
--- a/ChangeLog.pre-1-0
+++ b/ChangeLog.pre-1-0
@@ -1,3 +1,15 @@
+Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Release 0.7
+
+ * examples/Makefile.am (aliasdir): Install example
+ pangox_aliases file.
+
+ * examples/Makefile.am (bin_PROGRAMS): Install
+ pango-viewer.
+
+ * docs/tmpl/*: Updated templates.
+
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index fe9fb0f6..8ab31271 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,15 @@
+Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Release 0.7
+
+ * examples/Makefile.am (aliasdir): Install example
+ pangox_aliases file.
+
+ * examples/Makefile.am (bin_PROGRAMS): Install
+ pango-viewer.
+
+ * docs/tmpl/*: Updated templates.
+
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index fe9fb0f6..8ab31271 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,3 +1,15 @@
+Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Release 0.7
+
+ * examples/Makefile.am (aliasdir): Install example
+ pangox_aliases file.
+
+ * examples/Makefile.am (bin_PROGRAMS): Install
+ pango-viewer.
+
+ * docs/tmpl/*: Updated templates.
+
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index fe9fb0f6..8ab31271 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,15 @@
+Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Release 0.7
+
+ * examples/Makefile.am (aliasdir): Install example
+ pangox_aliases file.
+
+ * examples/Makefile.am (bin_PROGRAMS): Install
+ pango-viewer.
+
+ * docs/tmpl/*: Updated templates.
+
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index fe9fb0f6..8ab31271 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,15 @@
+Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Release 0.7
+
+ * examples/Makefile.am (aliasdir): Install example
+ pangox_aliases file.
+
+ * examples/Makefile.am (bin_PROGRAMS): Install
+ pango-viewer.
+
+ * docs/tmpl/*: Updated templates.
+
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index fe9fb0f6..8ab31271 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,15 @@
+Wed Feb 16 19:55:05 2000 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Release 0.7
+
+ * examples/Makefile.am (aliasdir): Install example
+ pangox_aliases file.
+
+ * examples/Makefile.am (bin_PROGRAMS): Install
+ pango-viewer.
+
+ * docs/tmpl/*: Updated templates.
+
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
diff --git a/TODO b/TODO
index 35df4df4..ce74285a 100644
--- a/TODO
+++ b/TODO
@@ -1,9 +1,6 @@
Shaping
=======
-* Use the new PangoCoverage stuff for looking up fonts,
- and implement pango_font_get_shaper().
-
Layout Driver
=============
@@ -14,9 +11,6 @@ this, there are various improvements that need to be made to
* Figure out better ways of doing line breaks. (This may involve
implementing the TeX/Raph x0-x1 stuff for line breaks.)
-* Add attributes data structures, feed attributed strings
- into pango_itemize() (? is this necessary)
-
X rendering
===========
@@ -63,7 +57,9 @@ Documentation
General
=======
-* Remove the extraneous font argument from the script_shape vfunc
+* Move font sizes to 1000ths of a point where they are still doubles.
+
+* Remove the extraneous font argument from the script_shape virtual function
in ShapeEngine.
* rename pango_context_set_size() to pango_context_set_font_size()
@@ -79,7 +75,7 @@ General
loads these from the current directory. (There are security
implications with the current stuff)
-* pango_context_list_fonts does not properly suppress duplicates
+* pango_context_list_fonts() does not properly suppress duplicates
when multiple font maps are involved
* Report errors from functions, these errors include such things.
diff --git a/configure.in b/configure.in
index b33d12e5..734ebb47 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to create configure.
AC_INIT(ChangeLog)
-AM_INIT_AUTOMAKE(pango, 0.6)
+AM_INIT_AUTOMAKE(pango, 0.7)
AM_CONFIG_HEADER(config.h)
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt
index 12540f28..251c410e 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -14,6 +14,10 @@ pango_context_new
pango_context_ref
pango_context_unref
pango_context_add_font_map
+pango_context_get_size
+pango_context_set_size
+pango_context_get_font_description
+pango_context_set_font_description
pango_context_get_base_dir
pango_context_set_base_dir
pango_context_get_lang
@@ -53,8 +57,9 @@ PangoCoverageLevel
PangoCoverage
<SUBSECTION>
pango_coverage_new
+pango_coverage_ref
+pango_coverage_unref
pango_coverage_copy
-pango_coverage_destroy
pango_coverage_get
pango_coverage_max
pango_coverage_set
@@ -69,6 +74,7 @@ PangoWeight
PangoVariant
PangoStretch
pango_font_description_copy
+pango_font_description_compare
pango_font_descriptions_free
pango_font_description_free
<SUBSECTION>
@@ -130,6 +136,7 @@ pango_attr_list_change
pango_attr_list_get_iterator
PangoAttrIterator
pango_attr_iterator_next
+pango_attr_iterator_range
pango_attr_iterator_get
pango_attr_iterator_get_font
pango_attr_iterator_destroy
diff --git a/docs/tmpl/coverage-maps.sgml b/docs/tmpl/coverage-maps.sgml
index daaa6b01..217c46b7 100644
--- a/docs/tmpl/coverage-maps.sgml
+++ b/docs/tmpl/coverage-maps.sgml
@@ -49,16 +49,15 @@ point to #PangoCoverageLevel. It is an opaque structure with no public fields.
@Returns:
-<!-- ##### FUNCTION pango_coverage_copy ##### -->
+<!-- ##### FUNCTION pango_coverage_ref ##### -->
<para>
</para>
@coverage:
-@Returns:
-<!-- ##### FUNCTION pango_coverage_destroy ##### -->
+<!-- ##### FUNCTION pango_coverage_unref ##### -->
<para>
</para>
@@ -66,6 +65,15 @@ point to #PangoCoverageLevel. It is an opaque structure with no public fields.
@coverage:
+<!-- ##### FUNCTION pango_coverage_copy ##### -->
+<para>
+
+</para>
+
+@coverage:
+@Returns:
+
+
<!-- ##### FUNCTION pango_coverage_get ##### -->
<para>
diff --git a/docs/tmpl/fonts.sgml b/docs/tmpl/fonts.sgml
index 91874e00..9b6a3f88 100644
--- a/docs/tmpl/fonts.sgml
+++ b/docs/tmpl/fonts.sgml
@@ -85,6 +85,16 @@ within a family.
@Returns:
+<!-- ##### FUNCTION pango_font_description_compare ##### -->
+<para>
+
+</para>
+
+@desc1:
+@desc2:
+@Returns:
+
+
<!-- ##### FUNCTION pango_font_descriptions_free ##### -->
<para>
diff --git a/docs/tmpl/main.sgml b/docs/tmpl/main.sgml
index 29073625..623fe185 100644
--- a/docs/tmpl/main.sgml
+++ b/docs/tmpl/main.sgml
@@ -25,9 +25,11 @@ various steps of this process.
@context:
@text:
@length:
+@attrs:
+@Returns:
+<!-- # Unused Parameters # -->
@lang_info:
@n_langs:
-@Returns:
<!-- ##### STRUCT PangoContext ##### -->
@@ -125,6 +127,7 @@ fields:
@shape_engine:
@lang_engine:
+@font:
@level:
<!-- ##### STRUCT PangoLangRange ##### -->
@@ -211,6 +214,42 @@ It contains the following fields:
@font_map:
+<!-- ##### FUNCTION pango_context_get_size ##### -->
+<para>
+
+</para>
+
+@context:
+@Returns:
+
+
+<!-- ##### FUNCTION pango_context_set_size ##### -->
+<para>
+
+</para>
+
+@context:
+@size:
+
+
+<!-- ##### FUNCTION pango_context_get_font_description ##### -->
+<para>
+
+</para>
+
+@context:
+@Returns:
+
+
+<!-- ##### FUNCTION pango_context_set_font_description ##### -->
+<para>
+
+</para>
+
+@context:
+@desc:
+
+
<!-- ##### FUNCTION pango_context_get_base_dir ##### -->
<para>
@@ -306,11 +345,12 @@ about the attributes of a single character.
</para>
-@font:
@text:
@length:
@analysis:
@glyphs:
+<!-- # Unused Parameters # -->
+@font:
<!-- ##### FUNCTION pango_justify ##### -->
diff --git a/docs/tmpl/pango-unused.sgml b/docs/tmpl/pango-unused.sgml
index c86590dd..0420a65d 100644
--- a/docs/tmpl/pango-unused.sgml
+++ b/docs/tmpl/pango-unused.sgml
@@ -36,6 +36,13 @@ indices.
@string:
@new_len:
+<!-- ##### FUNCTION pango_coverage_destroy ##### -->
+<para>
+
+</para>
+
+@coverage:
+
<!-- ##### FUNCTION pango_x_xlfd_get_ranges ##### -->
<para>
diff --git a/docs/tmpl/text-attributes.sgml b/docs/tmpl/text-attributes.sgml
index 4ab6a762..ee00cd60 100644
--- a/docs/tmpl/text-attributes.sgml
+++ b/docs/tmpl/text-attributes.sgml
@@ -318,8 +318,8 @@ iterator through a #PangoList. A new iterator is created
with pango_attr_list_get_iterator(). Once the iterator
is created, it can be advanced through the style changes
in the text using pango_attr_iterator_next(). At each
-style change, the attributes currently in effect can
-be queried.
+style change, the range of the current style segment and the
+attributes currently in effect can be queried.
</para>
@@ -332,22 +332,24 @@ be queried.
@Returns:
-<!-- ##### FUNCTION pango_attr_iterator_get ##### -->
+<!-- ##### FUNCTION pango_attr_iterator_range ##### -->
<para>
</para>
@iterator:
-@type:
-@Returns:
+@start:
+@end:
-<!-- ##### FUNCTION pango_attr_iterator_destroy ##### -->
+<!-- ##### FUNCTION pango_attr_iterator_get ##### -->
<para>
</para>
@iterator:
+@type:
+@Returns:
<!-- ##### FUNCTION pango_attr_iterator_get_font ##### -->
@@ -360,3 +362,11 @@ be queried.
@current:
+<!-- ##### FUNCTION pango_attr_iterator_destroy ##### -->
+<para>
+
+</para>
+
+@iterator:
+
+
diff --git a/examples/Makefile.am b/examples/Makefile.am
index cd9fb182..467ce4dc 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,6 +1,7 @@
## Process this file with automake to create Makefile.in.
-noinst_PROGRAMS = pango-viewer
+bin_PROGRAMS = pango-viewer
+aliasdir = $(sysconfdir)/pango
INCLUDES = -I$(top_srcdir)/libpango/
@@ -14,4 +15,7 @@ pango.modules:
( cd ../modules && \
../libpango/pango-querymodules `find . -name '*.so'` > ../examples/pango.modules )
-EXTRA_DIST=HELLO.utf8 muru.utf \ No newline at end of file
+EXTRA_DIST=HELLO.utf8 muru.utf pangox_aliases
+
+alias_DATA = pangox_aliases
+
diff --git a/pango.spec.in b/pango.spec.in
index 36a70426..d2172689 100644
--- a/pango.spec.in
+++ b/pango.spec.in
@@ -10,7 +10,7 @@ Source: http://www.pango.org/download/pango-%{version}.tar.gz
BuildRoot: /var/tmp/pango-%{PACKAGE_VERSION}-root
%description
-A library to handle unicode strings
+System for layout and rendering of internationalized text.
%package devel
Summary: System for layout and rendering of internationalized text
@@ -57,9 +57,11 @@ fi
%files
%doc README AUTHORS COPYING ChangeLog TODO
+%doc examples/HELLO.utf8
%{prefix}/lib/libpango*-*.so
-%{prefix}/bin/pango-querymodules
+%{prefix}/bin/*
%{prefix}/lib/pango/modules/*
+%config /etc/pango/pangox_aliases
%files devel
%defattr(-, root, root)
diff --git a/pango/pango-context.c b/pango/pango-context.c
index fe8d955e..7341f3a8 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -442,7 +442,7 @@ pango_context_get_size (PangoContext *context)
/**
* pango_context_set_size:
* @context: a #PangoContext
- * @lang: the new default font size in points in 1000ths of a point.
+ * @size: the new default font size in points in 1000ths of a point.
*
* Sets the default font size for the context.
**/
@@ -494,7 +494,7 @@ pango_context_get_base_dir (PangoContext *context)
* @text: the text to itemize.
* @length: the number of bytes (not characters) in text.
* This must be >= 0.
- * @attr: the set of attributes that apply to @text.
+ * @attrs: the set of attributes that apply to @text.
*
* Breaks a piece of text into segments with consistent
* directional level and shaping engine.