summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Modules now declare a list of scripts that they cover instead of a list ofOwen Taylor2003-09-231-44/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Sep 23 18:03:57 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engines.[ch] pango/pango-engines-private.h: Modules now declare a list of scripts that they cover instead of a list of code point ranges. Also, there is now a ->covers() virtual function that allows a module to decide live whether the font covers a particular codepoint; remove old get_coverage() method. * pango/pango-fontset.[ch]: Add a foreach() function to iterate over all the fonts in a fontset (with a true return stopping iteration). * pango/pango-context.c: Complete rewrite using script-run information to improve language tags. Switch to an approach where we handle one run at a time rather than computing information for each character individually then later breaking the result into runs. * pango/pango-fontset.[ch]: Switch over to using pango-impl-utils.h. * modules/basic/basic-x.c pango/pangox-fontmap.c: Adapt to the change from get_coverage => covers. * pango/pango-modules.h pango/modules.c: Switch PangoMap over to being based on script rather than being based on codepoint. Remove the no longer needed pango_map_get_entry(). * pango/modules.c: Handle new script-based modules. * pango/pango-fc-fontmap.c pango/pango-win32-fontmap.c pango/pang-fontmap.[ch]: Add a shape_engine_type field to PangoFontmapClass, pango_font_map_get_shape_engine_type(); this allows generic code to find a shaper for a particular fontmap. * pango/pango-script.[ch]: Add pango_script_get_sample_language(), pango_language_includes_script(); functions for determining the relationship between scripts and language. * tools/gen-script-for-lang.c: Modify to spit out a useful table. * pango/pango-script-lang-table.h: Version of table generated from current fontconfig data. * pango/pangox.c: Remove complicated code to compute coverages; no longer useful now that we just have the basic shaper as a legacy thing. * modules/*/*.c: Adapt to identifying shape engines by language range. * modules/thai/thai-fc.c modules/thai/thai-shaper.[ch]: Remove now unused "has_glyph" function and XTIS support. * modules/thai/thai-fc.c: Handle non-Thai characters as well, since the Thai module now gets spaces, punctuation, and so forth.
* Remove reference to now-gone make-table.sh (#121393, Josh Beam)Owen Taylor2003-09-091-1/+0
| | | | | | | Tue Sep 9 12:17:07 2003 Owen Taylor <otaylor@redhat.com> * tools/Makefile.am (EXTRA_DIST): Remove reference to now-gone make-table.sh (#121393, Josh Beam)
* Fix C99 variable declaration.Soeren Sandmann2003-08-031-1/+2
| | | | | | | Mon Aug 4 01:12:35 2003 Soeren Sandmann <sandmann@daimi.au.dk> * tools/gen-script-for-lang.c (get_script_name): Fix C99 variable declaration.
* Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-basedOwen Taylor2003-08-034-0/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Aug 2 23:19:16 2003 Owen Taylor <otaylor@redhat.com> * pango/pango-engine.[ch] modules/*/*-{fc,win32,x}.c pango/modules.c pango/break.c pango/pango-context.c pango/pango-layout.c pango/pango-modules.h pango/querymodules.c pango/shape.c: Make PangoEngine{,Lang,Shape} GObjects, and use a GTypeModule-based module-loading system closely based on the one used for GtkIMContext and GtkThemeEngine. * pango/pango-impl-utils.h: OK, I'm tired of typing in get_type() functions. * pango/pango-script.[ch] pango/pango-script-table.h tests/testscript.c tools/gen-script-table.pl: Add port of script-range code from ICU in preparation for future use. (#91542) * tools/gen-script-for-lang.c: Utility program to determine the script for each fontconfig .orth file. * docs/tmpl/{scripts.sgml,pango-engine-lang.sgml, pango-engine-shape.sgml} docs/pango-sections.txt docs/pango-docs.sgml: Redo to go along with the above changes. * configure.in: chmod +x tests/runtests.sh
* (#107630, Federic Zhang)Owen Taylor2003-05-282-57/+56
| | | | | | | | | | | Wed May 28 17:43:16 2003 Owen Taylor <otaylor@redhat.com> (#107630, Federic Zhang) * tools/compress-table.pl (convert): Make read the maps directly. * tools/make-table.pl: Remove.
* Released 0.13PANGO_0_13Owen Taylor2000-11-171-5/+6
| | | | | | | | | | | | | | | | | | | | | | | Fri Nov 17 16:12:34 2000 Owen Taylor <otaylor@redhat.com> * Released 0.13 * NEWS: Updates for 0.13 Fri Nov 17 16:04:19 2000 Owen Taylor <otaylor@redhat.com> * tools/Makefile.am (EXTRA_DIST): Add maps/tis-620 * Makefile.am (EXTRA_DIST): Added TODO.xml * pango/Makefile.am (EXTRA_DIST): Add .def files for Win32. * examples/Makefile.am (EXTRA_DIST): Add a couple of missing files. * docs/Makefile.am (dist-hook): Add back accidentally removed rule to distribute TEXT/*.
* Check in this file, since it isn't from the Unicode consortium.Owen Taylor2000-08-311-0/+185
| | | | | | | Thu Aug 31 11:29:33 2000 Owen Taylor <otaylor@redhat.com> * tools/maps/tis-620: Check in this file, since it isn't from the Unicode consortium.
* Add /usr/lib/qt-2.2.0 to the list.Owen Taylor2000-08-311-1/+1
| | | | | | | | | | | | | | | | Wed Aug 30 21:42:42 2000 Owen Taylor <otaylor@redhat.com> * configure.in (QTDIR): Add /usr/lib/qt-2.2.0 to the list. * modules/basic/tables-big.i: Updated using fixed make-table.sh. Added koi8-r and iso8859-1 * modules/basic/tables-small.i: Add note noting non-maintainence. * tools/make-table.sh: Fix for mapping tables with 3 columns provided by KUSANO Takayuki.
* Add ZWS to hacky break algorithm.Owen Taylor2000-05-051-13/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri May 5 18:56:45 2000 Owen Taylor <otaylor@redhat.com> * pango/break.c (pango_break): Add ZWS to hacky break algorithm. * modules/basic/basic.c (basic_engine_shape): Special case zero-width-space as a temporary hack. (What's the right solution?) * modules/basic/tables-big.i: Added support for TIS-620 encoding. * configure.in pango/modules.[ch] pango/Makefile.am modules/**: First stab at support for linking modules directly into Pango. Add a --with-included-modules= flag that causes the specified modules to be built as convenience libraries and linked directly into libpangox. Tue May 2 22:59:52 2000 Owen Taylor <otaylor@redhat.com> * modules/basic/basic.c: Get rid of link list of masks in cache structure in favor of an array. (This is easy to do now since we already have linear indices for the masks from the new table format.) * pango/modules.c pango/pango-context.c pango/pangox.c: Modify _pango_find_map() to take quarks for the engine type and render type instead of strings. Get rid of the map hash table in favor of a GList with the most recently used map at the beginning. * pango/modules.[ch] pango/pango-context.c pango/pangox.c: Add some utility functions for getting the engine for a particular character in a map. Using modules.c knowledge of map structure, this allows us to save a bunch of useless strcmps. * pango/pango-context.c (add_engines): Remove unused lookup of shape mask. * modules/basic/tables-{small,big}.i modules/basic/basic.c tools/compress-table.pl: Reencode mask table to avoid binary searches and save a bit of space. * modules/basic/basic.c (find_converter): Get rid of gratuitous use of hash tables for looking up iconv converters. * modules/basic/tables-{small,big}.i modules/basic/basic.c: Use conv_ucs4 instead of conv_8bit for latin-1. * pango/pango-layout.c: Avoid calling pango_glyph_string_extents() - just add up the widths from shaping.
* reindented. updatedOwen Taylor2000-01-131-0/+2
| | | | | | | Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> * examples/viewer.c: reindented. * README: updated
* Initial revisionOwen Taylor2000-01-135-0/+140