Hello community,
here is the log from the commit of package libotf
checked in at Wed Sep 24 00:26:35 CEST 2008.
--------
--- libotf/libotf.changes 2007-08-01 20:53:11.000000000 +0200
+++ /d/STABLE/libotf/libotf.changes 2008-09-22 17:50:42.868542000 +0200
@@ -1,0 +2,16 @@
+Fri Apr 18 23:27:52 CEST 2008 - schwab@suse.de
+
+- Update to libotf 0.9.7.
+ * src/otfdrive.c (gstring_subst): If a glyph is changed, set the
+ character code to 0, and update GlyphClass.
+ * example/otfdump.c (dump_chain_class_set_list): Ignore an element
+ whose offset is zero.
+ * src/otfdrive.c (lookup_gpos): Ignore mark glyphs while
+ processing GPOS_MarkBase1.
+ * src/otfdrive.c (lookup_gpos): Fix handling of IGNORED_GLYPH.
+ * src/otfdrive.c (gstring_subst): If otf->cmap is NULL, set
+ character code of a glyph to 0.
+ (OTF_drive_gsub): If otf->cmap is NULL, try to load it.
+- added baselibs.conf to build biarch compat library
+
+-------------------------------------------------------------------
Old:
----
libotf-0.9.6.tar.bz2
New:
----
baselibs.conf
libotf-0.9.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libotf.spec ++++++
--- /var/tmp/diff_new_pack.p28157/_old 2008-09-24 00:24:55.000000000 +0200
+++ /var/tmp/diff_new_pack.p28157/_new 2008-09-24 00:24:55.000000000 +0200
@@ -1,23 +1,31 @@
#
-# spec file for package libotf (Version 0.9.6)
+# spec file for package libotf (Version 0.9.7)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
+
Name: libotf
BuildRequires: freetype2-devel xorg-x11-devel
-Version: 0.9.6
+Version: 0.9.7
Release: 1
-License: LGPL v2 or later
+License: LGPL v2.1 or later
Group: System/I18n/Japanese
-Autoreqprov: on
-URL: http://www.m17n.org/libotf/
+AutoReqProv: on
+Url: http://www.m17n.org/libotf/
# CVS:
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n login
# cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/m17n co libotf
@@ -35,6 +43,7 @@
Kenichi Handa
%package devel
+License: LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development.
Group: System/I18n/Japanese
Requires: %{name} = %{version} freetype2-devel
@@ -54,7 +63,6 @@
%build
./autogen.sh
-libtoolize --force
autoreconf --force --install --verbose
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
@@ -86,32 +94,45 @@
%{_libdir}/pkgconfig/libotf.pc
%changelog
-* Wed Aug 01 2007 - mfabian@suse.de
+* Sat Apr 19 2008 schwab@suse.de
+- Update to libotf 0.9.7.
+ * src/otfdrive.c (gstring_subst): If a glyph is changed, set the
+ character code to 0, and update GlyphClass.
+ * example/otfdump.c (dump_chain_class_set_list): Ignore an element
+ whose offset is zero.
+ * src/otfdrive.c (lookup_gpos): Ignore mark glyphs while
+ processing GPOS_MarkBase1.
+ * src/otfdrive.c (lookup_gpos): Fix handling of IGNORED_GLYPH.
+ * src/otfdrive.c (gstring_subst): If otf->cmap is NULL, set
+ character code of a glyph to 0.
+ (OTF_drive_gsub): If otf->cmap is NULL, try to load it.
+- added baselibs.conf to build biarch compat library
+* Wed Aug 01 2007 mfabian@suse.de
- update to 0.9.6:
• src/otfdrive.c (gstring_subst): Remove a glyph if it is
ignored because of 0 glyph ID.
- added ldconfig to post scripts.
-* Tue Jan 09 2007 - mfabian@suse.de
+* Wed Jan 10 2007 mfabian@suse.de
- update to 0.9.5.20070109:
make it possible to link with C++ programs
(Ed Trager, Kenichi Handa).
-* Tue Jan 09 2007 - mfabian@suse.de
+* Wed Jan 10 2007 mfabian@suse.de
- update to 0.9.5:
• New function OTF_open_ft_face() can be used to process a font
already opened by FreeType library.
• The example program `otfview' accept the second argument
INDEX.
-* Mon Oct 30 2006 - meissner@suse.de
+* Mon Oct 30 2006 meissner@suse.de
- use RPM_OPT_FLAGS correctly, require freetype2-devel in -devel.
-* Fri Mar 03 2006 - mfabian@suse.de
+* Fri Mar 03 2006 mfabian@suse.de
- Bugzilla #154974: update to 0.9.4.
We have updated m17n-lib to 1.3.0.20060113. This version can
only use libotf >= 0.9.4. It won't link against libotf 0.9.3.
In order not to loose the OpenType support in m17n-lib, we
should update libotf as well.
-* Wed Jan 25 2006 - mls@suse.de
+* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
-* Tue Dec 28 2004 - mfabian@suse.de
+* Tue Dec 28 2004 mfabian@suse.de
- update to 0.9.3.
-* Mon Aug 16 2004 - mfabian@suse.de
+* Mon Aug 16 2004 mfabian@suse.de
- new package: libotf, version 0.9.2.
++++++ libotf-0.9.6.tar.bz2 -> libotf-0.9.7.tar.bz2 ++++++
++++ 43861 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libotf-0.9.6/ChangeLog new/libotf-0.9.7/ChangeLog
--- old/libotf-0.9.6/ChangeLog 2007-08-01 20:47:08.000000000 +0200
+++ new/libotf-0.9.7/ChangeLog 2007-12-28 06:01:54.000000000 +0100
@@ -1,3 +1,36 @@
+2007-12-28 Kenichi Handa
+
+ * Version 0.9.7 released.
+
+2007-12-28 Kenichi Handa
+
+ * configure.ac: Versions changed to 0.9.7.
+
+2007-12-20 Kenichi Handa
+
+ * src/otfdrive.c (gstring_subst): If a glyph is changed, set the
+ character code to 0, and update GlyphClass.
+
+2007-10-29 Kenichi Handa
+
+ * example/otfdump.c (dump_chain_class_set_list): Ignore an element
+ whose offset is zero.
+
+2007-09-06 Kenichi Handa
+
+ * src/otfdrive.c (lookup_gpos): Ignore mark glyphs while
+ processing GPOS_MarkBase1.
+
+2007-08-17 Kenichi Handa
+
+ * src/otfdrive.c (lookup_gpos): Fix handling of IGNORED_GLYPH.
+
+2007-08-06 Kenichi Handa
+
+ * src/otfdrive.c (gstring_subst): If otf->cmap is NULL, set
+ character code of a glyph to 0.
+ (OTF_drive_gsub): If otf->cmap is NULL, try to load it.
+
2007-07-13 Kenichi Handa
* Version 0.9.6 released.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libotf-0.9.6/configure.ac new/libotf-0.9.7/configure.ac
--- old/libotf-0.9.6/configure.ac 2007-08-01 20:47:08.000000000 +0200
+++ new/libotf-0.9.7/configure.ac 2007-12-28 06:01:30.000000000 +0100
@@ -23,8 +23,8 @@
dnl write to the Free Software Foundation, Inc., 59 Temple Place, Suite
dnl 330, Boston, MA 02111-1307, USA.
-AC_INIT(libotf, 0.9.6, handa@m17n.org)
-AM_INIT_AUTOMAKE(libotf, 0.9.6)
+AC_INIT(libotf, 0.9.7, handa@m17n.org)
+AM_INIT_AUTOMAKE(libotf, 0.9.7)
AM_CONFIG_HEADER(src/config.h)
# Checks for programs.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libotf-0.9.6/example/otfdump.c new/libotf-0.9.7/example/otfdump.c
--- old/libotf-0.9.6/example/otfdump.c 2004-11-02 07:11:01.000000000 +0100
+++ new/libotf-0.9.7/example/otfdump.c 2007-10-29 13:14:04.000000000 +0100
@@ -711,13 +711,14 @@
IPRINT ("(ChainClassSetCount %d)", count);
for (i = 0; i < count; i++)
- {
- IPRINT ("(ChainClassSet (%d)", i);
- dump_chain_class_rule_list (indent + 1,
- set[i].ChainClassRule,
- set[i].ChainClassRuleCnt);
- printf (")");
- }
+ if (set[i].offset)
+ {
+ IPRINT ("(ChainClassSet (%d)", i);
+ dump_chain_class_rule_list (indent + 1,
+ set[i].ChainClassRule,
+ set[i].ChainClassRuleCnt);
+ printf (")");
+ }
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libotf-0.9.6/missing new/libotf-0.9.7/missing
--- old/libotf-0.9.6/missing 1970-01-01 01:00:00.000000000 +0100
+++ new/libotf-0.9.7/missing 2006-11-27 06:55:05.000000000 +0100
@@ -0,0 +1,360 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+
+scriptversion=2005-06-08.21
+
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard , 1996.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+
+# This program 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 General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+if test $# -eq 0; then
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+fi
+
+run=:
+
+# In the cases where this matters, `missing' is being run in the
+# srcdir already.
+if test -f configure.ac; then
+ configure_ac=configure.ac
+else
+ configure_ac=configure.in
+fi
+
+msg="missing on your system"
+
+case "$1" in
+--run)
+ # Try to run requested program, and just exit if it succeeds.
+ run=
+ shift
+ "$@" && exit 0
+ # Exit code 63 means version mismatch. This often happens
+ # when the user try to use an ancient version of a tool on
+ # a file that requires a minimum version. In this case we
+ # we should proceed has if the program had been absent, or
+ # if --run hadn't been passed.
+ if test $? = 63; then
+ run=:
+ msg="probably too old"
+ fi
+ ;;
+
+ -h|--h|--he|--hel|--help)
+ echo "\
+$0 [OPTION]... PROGRAM [ARGUMENT]...
+
+Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
+error status if there is no known handling for PROGRAM.
+
+Options:
+ -h, --help display this help and exit
+ -v, --version output version information and exit
+ --run try to run the given command, and emulate it if it fails
+
+Supported PROGRAM values:
+ aclocal touch file \`aclocal.m4'
+ autoconf touch file \`configure'
+ autoheader touch file \`config.h.in'
+ automake touch all \`Makefile.in' files
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
+ flex create \`lex.yy.c', if possible, from existing .c
+ help2man touch the output file
+ lex create \`lex.yy.c', if possible, from existing .c
+ makeinfo touch the output file
+ tar try tar, gnutar, gtar, then tar without non-portable flags
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
+
+Send bug reports to ."
+ exit $?
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit $?
+ ;;
+
+ -*)
+ echo 1>&2 "$0: Unknown \`$1' option"
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# Now exit if we have it, but it failed. Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program).
+case "$1" in
+ lex|yacc)
+ # Not GNU programs, they don't have --version.
+ ;;
+
+ tar)
+ if test -n "$run"; then
+ echo 1>&2 "ERROR: \`tar' requires --run"
+ exit 1
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+ exit 1
+ fi
+ ;;
+
+ *)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+ # Could not run --version or --help. This is probably someone
+ # running `$TOOL --version' or `$TOOL --help' to check whether
+ # $TOOL exists and not knowing $TOOL uses missing.
+ exit 1
+ fi
+ ;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case "$1" in
+ aclocal*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
+ to install the \`Automake' and \`Perl' packages. Grab them from
+ any GNU archive site."
+ touch aclocal.m4
+ ;;
+
+ autoconf)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`${configure_ac}'. You might want to install the
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
+ archive site."
+ touch configure
+ ;;
+
+ autoheader)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
+ from any GNU archive site."
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
+ test -z "$files" && files="config.h"
+ touch_files=
+ for f in $files; do
+ case "$f" in
+ *:*) touch_files="$touch_files "`echo "$f" |
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
+ *) touch_files="$touch_files $f.in";;
+ esac
+ done
+ touch $touch_files
+ ;;
+
+ automake*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+ You might want to install the \`Automake' and \`Perl' packages.
+ Grab them from any GNU archive site."
+ find . -type f -name Makefile.am -print |
+ sed 's/\.am$/.in/' |
+ while read f; do touch "$f"; done
+ ;;
+
+ autom4te)
+ echo 1>&2 "\
+WARNING: \`$1' is needed, but is $msg.
+ You might have modified some files without having the
+ proper tools for further handling them.
+ You can get \`$1' as part of \`Autoconf' from any GNU
+ archive site."
+
+ file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
+ test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo "#! /bin/sh"
+ echo "# Created by GNU Automake missing as a replacement of"
+ echo "# $ $@"
+ echo "exit 0"
+ chmod +x $file
+ exit 1
+ fi
+ ;;
+
+ bison|yacc)
+ echo 1>&2 "\
+WARNING: \`$1' $msg. You should only need it if
+ you modified a \`.y' file. You may need the \`Bison' package
+ in order for those modifications to take effect. You can get
+ \`Bison' from any GNU archive site."
+ rm -f y.tab.c y.tab.h
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.y)
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.c
+ fi
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.h
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f y.tab.h ]; then
+ echo >y.tab.h
+ fi
+ if [ ! -f y.tab.c ]; then
+ echo 'main() { return 0; }' >y.tab.c
+ fi
+ ;;
+
+ lex|flex)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified a \`.l' file. You may need the \`Flex' package
+ in order for those modifications to take effect. You can get
+ \`Flex' from any GNU archive site."
+ rm -f lex.yy.c
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.l)
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" lex.yy.c
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f lex.yy.c ]; then
+ echo 'main() { return 0; }' >lex.yy.c
+ fi
+ ;;
+
+ help2man)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified a dependency of a manual page. You may need the
+ \`Help2man' package in order for those modifications to take
+ effect. You can get \`Help2man' from any GNU archive site."
+
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ if test -z "$file"; then
+ file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
+ fi
+ if [ -f "$file" ]; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo ".ab help2man is required to generate this page"
+ exit 1
+ fi
+ ;;
+
+ makeinfo)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. You should only need it if
+ you modified a \`.texi' or \`.texinfo' file, or any other file
+ indirectly affecting the aspect of the manual. The spurious
+ call might also be the consequence of using a buggy \`make' (AIX,
+ DU, IRIX). You might want to install the \`Texinfo' package or
+ the \`GNU make' package. Grab either from any GNU archive site."
+ # The file to touch is that specified with -o ...
+ file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+ if test -z "$file"; then
+ # ... or it is the one specified with @setfilename ...
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+ file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
+ fi
+ # If the file does not exist, the user really needs makeinfo;
+ # let's fail without touching anything.
+ test -f $file || exit 1
+ touch $file
+ ;;
+
+ tar)
+ shift
+
+ # We have already tried tar in the generic part.
+ # Look for gnutar/gtar before invocation to avoid ugly error
+ # messages.
+ if (gnutar --version > /dev/null 2>&1); then
+ gnutar "$@" && exit 0
+ fi
+ if (gtar --version > /dev/null 2>&1); then
+ gtar "$@" && exit 0
+ fi
+ firstarg="$1"
+ if shift; then
+ case "$firstarg" in
+ *o*)
+ firstarg=`echo "$firstarg" | sed s/o//`
+ tar "$firstarg" "$@" && exit 0
+ ;;
+ esac
+ case "$firstarg" in
+ *h*)
+ firstarg=`echo "$firstarg" | sed s/h//`
+ tar "$firstarg" "$@" && exit 0
+ ;;
+ esac
+ fi
+
+ echo 1>&2 "\
+WARNING: I can't seem to be able to run \`tar' with the given arguments.
+ You may want to install GNU tar or Free paxutils, or check the
+ command line arguments."
+ exit 1
+ ;;
+
+ *)
+ echo 1>&2 "\
+WARNING: \`$1' is needed, and is $msg.
+ You might have modified some files without having the
+ proper tools for further handling them. Check the \`README' file,
+ it often tells you about the needed prerequisites for installing
+ this package. You may also peek at any GNU archive site, in case
+ some other package would contain this missing \`$1' program."
+ exit 1
+ ;;
+esac
+
+exit 0
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libotf-0.9.6/README new/libotf-0.9.7/README
--- old/libotf-0.9.6/README 2007-08-01 20:47:08.000000000 +0200
+++ new/libotf-0.9.7/README 2007-12-28 06:01:13.000000000 +0100
@@ -1,4 +1,4 @@
-This directory tree holds version 0.9.6 of the otf library. -*- text -*-
+This directory tree holds version 0.9.7 of the otf library. -*- text -*-
Copyright (C) 2003, 2004, 2005, 2006, 2007
National Institute of Advanced Industrial Science and Technology (AIST)
@@ -9,7 +9,7 @@
#####################################################################
# libotf -- A Library for handling OpenType Font (OTF) #
# #
-# Ver.0.9.5 (2006.7.18) #
+# Ver.0.9.7 (2007.12.28) #
#####################################################################
(1) What is libotf?
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libotf-0.9.6/src/config.h.in new/libotf-0.9.7/src/config.h.in
--- old/libotf-0.9.6/src/config.h.in 1970-01-01 01:00:00.000000000 +0100
+++ new/libotf-0.9.7/src/config.h.in 2007-12-28 06:02:39.000000000 +0100
@@ -0,0 +1,100 @@
+/* src/config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+ systems. This function is required for `alloca.c' support on those systems.
+ */
+#undef CRAY_STACKSEG_END
+
+/* Define to 1 if using `alloca.c'. */
+#undef C_ALLOCA
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#undef HAVE_ALLOCA
+
+/* Define to 1 if you have and it should be used (not on Ultrix).
+ */
+#undef HAVE_ALLOCA_H
+
+/* Define to 1 if you have alphasort function. */
+#undef HAVE_ALPHASORT
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_FCNTL_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
+ to 0 otherwise. */
+#undef HAVE_MALLOC
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have scandir function. */
+#undef HAVE_SCANDIR
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to 1 if you have the header file. */
+#undef HAVE_X11_XAW_COMMAND_H
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at runtime.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown */
+#undef STACK_DIRECTION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Version number of package */
+#undef VERSION
+
+/* Define to 1 if the X Window System is missing or not being used. */
+#undef X_DISPLAY_MISSING
+
+/* Define to rpl_malloc if the replacement function should be used. */
+#undef malloc
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libotf-0.9.6/src/otfdrive.c new/libotf-0.9.7/src/otfdrive.c
--- old/libotf-0.9.6/src/otfdrive.c 2007-08-01 20:47:08.000000000 +0200
+++ new/libotf-0.9.7/src/otfdrive.c 2007-12-20 04:50:09.000000000 +0100
@@ -102,13 +102,16 @@
GSTRING_DELETE (gstring, from, (len - num));
for (i = 0; i < num; i++)
{
- gstring->glyphs[from + i].c = otf->cmap->decode_table[ids[i]];
+ if (gstring->glyphs[from + i].glyph_id != ids[i])
+ {
+ gstring->glyphs[from + i].c = 0;
+ if (otf->gdef)
+ gstring->glyphs[from + i].GlyphClass
+ = get_class_def (&otf->gdef->glyph_class_def, ids[i]);
+ else
+ gstring->glyphs[from + i].GlyphClass = 0;
+ }
gstring->glyphs[from + i].glyph_id = ids[i];
- if (otf->gdef)
- gstring->glyphs[from + i].GlyphClass
- = get_class_def (&otf->gdef->glyph_class_def, ids[i]);
- else
- gstring->glyphs[from + i].GlyphClass = 0;
gstring->glyphs[from + i].positioning_type = 0;
gstring->glyphs[from + i].f.index.from = from_idx;
gstring->glyphs[from + i].f.index.to = to_idx;
@@ -760,7 +763,7 @@
int i;
if (IGNORED_GLYPH (g, flag)
- || g->positioning_type)
+ || (0 & g->positioning_type))
return (gidx + 1);
/* Try all subtables until one of them handles the current glyph. */
@@ -812,7 +815,7 @@
OTF_Glyph *nextg;
for (next_gidx = gidx + 1, nextg = gstring->glyphs + next_gidx;
- next_gidx < gstring->used && ! IGNORED_GLYPH (nextg, flag);
+ next_gidx < gstring->used && IGNORED_GLYPH (nextg, flag);
next_gidx++, nextg++);
if (next_gidx >= gstring->used
@@ -893,9 +896,10 @@
OTF_AnchorRecord *base_record;
OTF_Glyph *baseg;
int coverage_idx_base;
+ unsigned int this_flag = flag | OTF_IgnoreMarks;
for (baseg = g - 1;
- baseg >= gstring->glyphs && IGNORED_GLYPH (baseg, flag);
+ baseg >= gstring->glyphs && IGNORED_GLYPH (baseg, this_flag);
baseg--);
if (baseg < gstring->glyphs)
continue;
@@ -1426,6 +1430,8 @@
OTF_drive_gsub (OTF *otf, OTF_GlyphString *gstring,
const char *script, const char *language, const char *features)
{
+ if (! otf->cmap)
+ OTF_get_table (otf, "cmap");
return OTF_drive_gsub_internal (otf, gstring, script, language, features, 0);
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org