From bb26941a468b994331286a55d41447cc2ef9326f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 16 Aug 2006 07:23:08 +0000 Subject: Render block progression and line direction arrows, and a base gravity 2006-08-16 Behdad Esfahbod * examples/viewer-pangocairo.c (render_callback): Render block progression and line direction arrows, and a base gravity roof-top. * pango/pango-matrix.c (pango_matrix_to_gravity): New function. * pango/pango-utils.c (pango_gravity_to_rotation): New function. * pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Use pango_gravity_to_rotation(). * pango/pango-utils.h: * pango/pango-types.h: Reorder a bit. * examples/Makefile.am: * examples/test-chinese.txt: New test text for Chinese. * pango/check.defs: New script that checks that all the exported symbols are listed in the respective .def file. (only checks the libraries actually built. No win32 for example.) * pango/Makefile.am: Hook check.defs as a 'make check' test. * pango/pango.def: * pango/pangoft2.def: * pango/pangocairo.def: Update. * docs/tmpl/glyphs.sgml: * docs/tmpl/main.sgml: * docs/pango-sections.txt: Update. --- pango/check.defs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 pango/check.defs (limited to 'pango/check.defs') diff --git a/pango/check.defs b/pango/check.defs new file mode 100755 index 00000000..a4d0a67f --- /dev/null +++ b/pango/check.defs @@ -0,0 +1,23 @@ +#!/bin/bash + +LANG=C + +test -z "$srcdir" && srcdir=. +status=0 + +for def in $srcdir/*.def; do + lib=${def%.def} + lib=${lib##*/} + so=.libs/lib${lib}-1.0.so + + test -f $so || continue + echo Checking $def + + nm $so | grep ' T ' | cut -d' ' -f3 | sort -u > NM + cut -f 2 $def | grep -v '^EXPORTS$' > DEF + + diff DEF NM || status=1 + rm -f DEF NM +done + +exit $status -- cgit v1.2.1