summaryrefslogtreecommitdiff
path: root/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* Add check for gtk-doc version.Owen Taylor2001-02-121-0/+16
| | | | | | | Mon Feb 12 15:01:38 2001 Owen Taylor <otaylor@redhat.com> * configure.in (gtk_doc_min_version): Add check for gtk-doc version.
* Add pangoft2.pcAlexander Larsson2001-01-051-0/+1
| | | | | | | | | | | | | 2001-01-05 Alexander Larsson <alla@lysator.liu.se> * .cvsignore: Add pangoft2.pc * Makefile.am: * configure.in: Build and install pangoft2.pc * pangoft2.pc: New file.
* put creation of module file here. Fixes problem if you 'make install' withHavoc Pennington2001-01-041-9/+29
| | | | | | | | | | | | | | | | | 2001-01-04 Havoc Pennington <hp@redhat.com> * pango/Makefile.am (install-data-local): put creation of module file here. Fixes problem if you 'make install' with no preceding 'make' reported by Michael Meeks. * modules/Makefile.am (install-data-local): remove creation of module file from here * Makefile.am (SUBDIRS): remove pango-config * configure.in: use pkg-config to detect GLib cflags/libs * pangoxft.pc (Description): fix name/description
* Rename all x modules from abc to abc-x.Alexander Larsson2001-01-031-29/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Alexander Larsson <alexl@redhat.com> * configure.in: * modules/arabic/Makefile.am: * modules/arabic/arabic-x.c: * modules/basic/Makefile.am: * modules/basic/basic-x.c: * modules/hangul/Makefile.am: * modules/hangul/hangul-x.c: * modules/indic/Makefile.am: * modules/indic/bengali-x.c: * modules/indic/devanagari-x.c: * modules/indic/gujarati-x.c: * modules/indic/gurmukhi-x.c: * modules/indic/myanmar-x.c: * modules/tamil/Makefile.am: * modules/tamil/tamil-x.c: * modules/thai/Makefile.am: * modules/thai/thai-x.c: Rename all x modules from abc to abc-x. * modules/arabic/arabic.c: * modules/basic/basic.c: * modules/hangul/hangul.c: * modules/indic/bengali.c: * modules/indic/devanagari.c: * modules/indic/gujarati.c: * modules/indic/gurmukhi.c: * modules/indic/myanmar.c: * modules/tamil/tamil.c: * modules/thai/thai.c: These were all copied to file-x.c and then removed.
* Update the default list of included modules forAlexander Larsson2001-01-031-17/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-03 Alexander Larsson <alexl@redhat.com> * configure.in: Update the default list of included modules for --with-included-modules=yes to include all new modules. Split INCLUDED_MODULES and module-defs.c into per shaper engine type lists. * modules/arabic/Makefile.am: Build libpango-arabic-xft.la if INCLUDE_ARABIC_XFT. * modules/arabic/arabic-xft.c: Change module prefix to _pango_arabic_xft_ * modules/basic/Makefile.am: Build static libs for all included modules. * modules/basic/basic-ft2.c: Change module prefix to _pango_basic_ft2_ * modules/basic/basic-xft.c: Change module prefix to _pango_basic_xft_ * pango/Makefile.am: Include correct module-defs-XXX in libs. * pango/modules.h: Split _pango_included_modules[] into separate lists. * pango/pangox.c: * pango/pangoft2.c: * pango/pangoxft-fontmap.c: Register built in modules.
* Only a script engine here.Tor Lillqvist2000-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | 2000-12-21 Tor Lillqvist <tml@iki.fi> * modules/basic/basic-win32.c (script_engine_load): Only a script engine here. * pango/makefile.mingw.in: Add the built pango-enum-types.[ch]. * pango/pango.def * pango/pangoft2.def: Update. * pango/opentype/pango-ot.def * pango/opentype/makefile.mingw.in: New files. * pango/opentype/Makefile.am (EXTRA_DIST): Add them. * configure.in (included_modules): Generate pango/opentype/makefile.mingw.
* fix freetype check a bitHavoc Pennington2000-12-201-3/+3
| | | | | | 2000-12-20 Havoc Pennington <hp@redhat.com> * configure.in: fix freetype check a bit
* Since Xft may only be available statically without shlib deps, check forOwen Taylor2000-12-201-6/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Dec 19 22:47:16 2000 Owen Taylor <otaylor@redhat.com> * configure.in pango-config.in pangoxft.pc.in modules/basic/Makefile.am: Since Xft may only be available statically without shlib deps, check for FreeType libs explicitly and include them when linking, otherwise things won't work. Also, define FREETYPE_CFLAGS from freetype-config --cflags. * modules/basic/basic-xft.c pango/pangoxft-font{,map}.c: Fool Xft into not converting glyph indices by loading the face unencoded then calling FT_Set_Charmap ourselves. * pango/Makefile.am pango/pango-ot.h pango/opentype/* :Add start of opentype handling - most of the actually meat of the code here is the OpenType layout code from FreeType 1 ported to freetype2 and adapted slighlty for our purposes. Also, includes a incomplete OpenType-table-dumping code useful for figuring out what is going on. * pango/pangoxft.h pango/pangoxft-font.h: Add calls for getting FT_Face and PangoOTInfo from PangoXftFont. * modules/arabic/{Makefile.am,arabic-ot.[ch],arabic-xft.c}: Initial support for rendering Arabic with OpenType fonts.
* Fix build breakage, reported by Alex Larsson and Yasushi ShojiHavoc Pennington2000-12-181-0/+15
| | | | | | | | | | | | | | | | | 2000-12-18 Havoc Pennington <hp@redhat.com> Fix build breakage, reported by Alex Larsson and Yasushi Shoji * pango/pangox.h: don't include pango.h, just individual headers * configure.in: check for perl, add --disable-rebuilds configure option, automatically disable rebuilds if no perl * pango/Makefile.am: use located perl to run makeenums.pl, and don't try to rebuild if we did --disable-rebuilds (EXTRA_DIST): add built headers * modules/*/*.[hc]: don't include pango.h, include specific headers
* Fix macro breakage.Owen Taylor2000-12-151-4/+25
| | | | | | | | | | | | | | | | Thu Dec 14 19:00:46 2000 Owen Taylor <otaylor@redhat.com> * modules/indic/pango-indic-script.h: Fix macro breakage. * modules/basic/tables-big.i: Remove extra copy of basic_ranges. * modules/thai/thai.c: Fix various warnings. * configure.in Makefile.am pangoxft.pc.in pango-config.in modules/basic/Makefile.am modules/basic/basic-xft.c pango/Makefile.am pango/pangoxft-font.[ch] pango/pangoxft-fontmap.c pango/pangoxft.h pango/pangoxft-private.h: Initial support for rendering via Xft and the Xrender extension.
* add assertion that shaper != NULL to catch engine problems fasterHavoc Pennington2000-12-141-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-14 Havoc Pennington <hp@redhat.com> * pango/fonts.c (pango_font_find_shaper): add assertion that shaper != NULL to catch engine problems faster * pango/Makefile.am (libpangox_la_SOURCES): modules.[hc] and module-defs.c have to go in libpangox for now since the modules use the X stuff, and static linkage won't let you play games here * examples/Makefile.am (pango_viewer_LDADD): fix order of link * modules/indic/pango-indic-script.h (pango_indic_get_char): make this a macro, so it doesn't collide between modules * modules/*/Makefile.am: Fix to work if the module isn't included * examples/Makefile.am: don't query modules if we didn't build any * modules/indic/gurmukhi.c (MODULE_ENTRY): fix prefix * modules/indic/bengali.c (MODULE_ENTRY): fix prefix * modules/indic/gujarati.c (MODULE_ENTRY): fix prefix * modules/indic/devanagari.c (MODULE_ENTRY): fix prefix * modules/indic/myanmar.c (MODULE_ENTRY): uniquely prefix the functions * modules/Makefile.am (MODULES): handle case where there are no modules to query * configure.in: Fix up include_modules stuff to work with Indic * pango/glyphstring.c (pango_glyph_string_set_size): Just g_error() if the glyph string exceeds maximum integer size, instead of mysteriously crashing later.
* delete lang engineHavoc Pennington2000-12-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-30 Havoc Pennington <hp@pobox.com> * modules/thai/thai.c: delete lang engine * modules/tamil/tamil.c: delete lang engine (tamil_engine_x_new): fix type tag for shape engine * modules/indic/myanmar.c: delete lang engine (pango_engine_x_new): fix type tag for shape engine * modules/indic/gurmukhi.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/gujarati.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/devanagari.c: delete lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/indic/pango-indic-script.h (SCRIPT_ENGINE_DEFINITION): delete lang engine * modules/indic/bengali.c: delete the lang engine (pango_indic_engine_x_new): fix type tag for shape engine * modules/hangul/hangul.c: delete the lang engine (hangul_engine_x_new): fix type tag for shape engine * modules/basic/basic.c: delete the lang engine (basic_engine_x_new): fix type tag for shape engine * modules/basic/basic-win32.c: delete the lang engine (basic_engine_win32_new): this was a shape engine, use correct type tag * modules/basic/basic-ft2.c: delete the lang engine * modules/arabic/arabic.c: Delete the lang engine (arabic_engine_x_new): this is a shape engine, not a lang engine, fix type tag * pango/pango-layout.c (pango_layout_index_to_line_x): handle the fact that paragraph delimiters aren't in the layout lines (pango_layout_index_to_pos): update to handle paragraph delimiters * pango/break.c (pango_find_paragraph_boundary): New function to find paragraph boundaries * pango/pango-layout.c (get_items_log_attrs): don't separate calls to pango_break() when directional level changes * pango/pango-layout.h (struct _PangoLayoutLine): put start index of the line into the struct * pango/pango-layout.c (pango_layout_get_cursor_pos): Fixups to reflect the fact that paragraph separators are removed from the input text. * pango/pango-layout.c (can_break_at): don't special-case start of line and whitespace-following-alphabetic here, because pango_break() already handles that properly * tests/testboundaries.c, tests/Makefile.am, tests/runtests.sh: Add directory for test programs, and a script to run them all * configure.in: Create Makefile in tests * pango/break.c (pango_break): Try for a real implementation of the Unicode text boundary algorithms (pango_get_log_attrs): Allow length to be -1 * pango/pango-context.c (pango_itemize): use pango_item_new(), assert that items added to the list are sane. * pango/pango-layout.c (pango_layout_check_lines): Reimplement to honor the paragraph boundaries from pango_break() * pango/pango-layout.c (process_item): use pango_item_split() here * pango/pango-item.c (pango_item_split): New function to split an item into two items
* Fix low underline code to deal with run_ink == NULL.Owen Taylor2000-11-141-1/+1
| | | | | | | | | | | | | | | | | Tue Nov 14 11:10:24 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_run_get_extents): Fix low underline code to deal with run_ink == NULL. * pango/pango-utils.c (pango_read_line): Return number of lines read to allow decent parse errors line numbers. * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): Fix line number count. * examples/pangox.aliases: Include extra international fonts for all styles, not just roman, reindent so it looks halfway legible.
* Remove fribidi include.Owen Taylor2000-11-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Mon Nov 13 09:17:34 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox.c: Remove fribidi include. * pango.pc.in (Requires): Substitute fribidi reference only when necessary * Makefile.am (pkgconfigdir): pkgconfigdir is $(libdir)/pkgconfig * modules/indic/Makefile.am (EXTRA_DIST): Add pango-indic-script.h * fonts/Makefile.am (EXTRA_DIST): Remove devnag* * configure.in: Up version to 0.13 * docs/pango-docs.sgml: Reorganize, add all new chapters. * docs/pango-sections.txt: Update * docs/Makefile.am (IGNORE_HFILES): add mini-fribidi pango-intset.h
* Remove checks for iconv - we now depend on g_iconv wrapper defined inOwen Taylor2000-11-121-33/+0
| | | | | | | | | | | | | Sun Nov 12 18:36:38 2000 Owen Taylor <otaylor@redhat.com> * configure.in (included_modules): Remove checks for iconv - we now depend on g_iconv wrapper defined in GLib. * modules/basic/basic.c: Use g_iconv_* not iconv(). * pango/itemize.c pango/pango-context.c modules/thai/thai.c: Remove spurious iconv.h includes.
* Include a stripped-down version of fribidi to avoid the extra dependency.Owen Taylor2000-11-121-20/+35
| | | | | | | | | | | | | | | | | | | | Sun Nov 12 16:07:06 2000 Owen Taylor <otaylor@redhat.com> * configure.in pango/pango-utils.[ch] pango/Makefile.am pango/mini-fribidi/*: Include a stripped-down version of fribidi to avoid the extra dependency. No fribidi symbols are exported so conflicts with the real fribidi should not happen. Library can optionally be compiled with the real libfribidi. * pango/pango-utils.[ch]: Wrappers for fribidi_ functions when compiling with fribiid. * modules/basic/basic-ft2.c modules/basic/basic-win32.c modules/basic/basic.c modules/thai/thai.c pango/Makefile.am pango/itemize.c pango/pango-context.c pango/pangoft2.c pango/pangowin32.c pango/pangox.c: Use pango_ versions of fribidi functions.
* Shiny new Indic shapers!Robert Brady2000-11-081-4/+4
|
* Fix up doc comments not to have obvious errors that gtk-doc barfs on.Owen Taylor2000-10-291-5/+35
| | | | | | | | | | | | | | | Sun Oct 29 01:27:39 2000 Owen Taylor <otaylor@redhat.com> * pango/pangoft2-fontcache.c pango/pangoft2.[ch] pango/pangowin32.h: Fix up doc comments not to have obvious errors that gtk-doc barfs on. Correct parameter descriptions still need to be filled in. * configure.in pango/docs/Makefile.am: upgrade to have a real install rule, etc. * pango/docs/pango-sections.txt: Add various missing functions.
* 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.
* Get font directory path with pango_config_key_get("PangoFT2/FontPath"). IfTor Lillqvist2000-08-211-2/+12
| | | | | | | | | | | | | | | | | 2000-08-21 Tor Lillqvist <tml@iki.fi> * pango/pangoft2-fontmap.c: Get font directory path with pango_config_key_get("PangoFT2/FontPath"). If no such key exists in the pangorc file, use the ft2fonts subdirectory of LIBDIR/pango, and on Windows, also %WinDir%\fonts. * pango/{pango,pangoft2,pangowin32}.rc.in: New files (resource files used when building Win32 DLLs, contain version information). * pango/Makefile.am: Add the new files. * configure.in: Define major and minor version numbers separately. Output also the makefile.mingw and *.rc files.
* pkg-config info filesHavoc Pennington2000-07-311-0/+2
| | | | | | | | | | 2000-07-31 Havoc Pennington <hp@redhat.com> * pango.pc.in, pangox.pc.in: pkg-config info files * Makefile.am: dist/install .pc files * configure.in: output .pc files
* include <stdlib.h>Owen Taylor2000-07-221-1/+1
| | | | | | | | Sat Jul 22 10:52:06 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c: include <stdlib.h> * configure.in: s/FRIBID_CONFIG/FRIBIDI_CONFIG/.
* Free buffer strings.Owen Taylor2000-07-211-1/+7
| | | | | | | | | | | | | | | | | | | | | Fri Jul 21 09:59:10 2000 Owen Taylor <otaylor@redhat.com> * pango/modules.c (process_module_file): Free buffer strings. * pango/pangox-fontmap.c (pango_x_real_get_coverage_win): Add caching of coverage maps on a persistant subwindow of the root window. This window contains a property for each "lang|xlfd,xlfd" which is the result of pango_coverage_to_bytes. * pango/pango-context.c (pango_context_finalize): Free the font description. * pango/pango-coverage.c (pango_coverage_to/from_bytes): Added functions to covert a PangoCoverage structure too and from a flat block of bytes. * configure.in (X_LIBS): Add a check to detect fribidi being compiled against glib-1.2.x.
* Don't try to use the ! command, not available in all systems. Move the !Tor Lillqvist2000-07-191-3/+3
| | | | | | | | | | | | | | | | | | | 2000-07-19 Tor Lillqvist <tml@iki.fi> * configure.in: Don't try to use the ! command, not available in all systems. Move the ! inside the test instead. * pango-config.in: Change order of --cflags output, so that we can build with both GLib 1.2 and 1.3 installed. * modules/devanagari/dev-ligatures.h: No C++ comments, thanks. * pango/break.c: Fix gccism, non-constant initailiser. * pango/pango-fontmap.c: Don't return value from void functions. * pango/pango-utils.c: Must have at least empty statement after a label.
* pango/pangowin32.h pango/pangowin32-private.h pango/pangowin32-fontcache.cTor Lillqvist2000-07-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-15 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.h * pango/pangowin32-private.h * pango/pangowin32-fontcache.c * pango/pangowin32-fontmap.c * modules/basic/basic-win32.c * examples/viewer-win32.c * examples/pangowin32.aliases: New files. Start of a Win32 implementation. Does not work yet. * configure.in: Chek for dirent.h and unistd.h. * pango/pango-utils.h * pango/pango-utils.c (pango_get_sysconf_subdirectory, pango_get_lib_subdirectory): New functions, for better portability, to enable installation-time choice of directory (on Windows) instead of compile-time. Use these instead of SYSCONFDIR "/pango" and LIBDIR "/pango". (pango_split_file_list): Fix comment, the function splits on searchpath separators, not commas. Use G_SEARCHPATH_SEPARATOR_S for portability. Don't try to expand '~' as home directory on Windows. (read_config): Use pango_get_sysconf_subdirectory(). * pango/modules.c (read_modules): Use pango_get_sysconf_subdirectory(). Don't crash if a module file cannot be opened. * pango/querymodules.c: Include config.h Conditionalize inclusion of dirent.h and unistd.h. Use platform-specific shared library extension. Use pango_get_lib_subdirectory().
* Released 0.12Owen Taylor2000-07-141-5/+5
| | | | | | | | | | | | | Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com> * Released 0.12 * configure.in: Use AM_PATH_GLIB_2_0() * pango-config.in: Use @FRIBIDI_LIBS@, not -lfribidi * pango-config.in: Fix accidental inclusion -I lib/glib/include/
* Add a PANGO_PIXELS macro to convert from pango units to device units andOwen Taylor2000-07-021-1/+1
| | | | | | | | | | | Sun Jul 2 17:19:11 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-types.h: Add a PANGO_PIXELS macro to convert from pango units to device units and round. * pango/pango-layout.[ch]: Add convenience functions pango_layout_get_pixel_extents, pango_layout_get_size, pango_layout_get_pixel_size pango_layout_line_get_pixel_extents.
* Remove tests for libunicodeOwen Taylor2000-06-211-16/+6
| | | | | | | | | | | | Wed Jun 21 12:11:56 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Remove tests for libunicode * pango/utils.[ch]: Removed. The functions from here are now in GLib. * **.[ch]: Removed use of libunicode and utils.c in favor of Unicode functions in GLib. Requires latest GLib from CVS.
* look for qt also in /usr/lib/qt2.CEST 2000 Paolo Molaro2000-06-011-1/+1
| | | | | | Thu Jun 1 13:04:06 CEST 2000 Paolo Molaro <lupus@debian.org> * configure.in: look for qt also in /usr/lib/qt2.
* Release 0.11Owen Taylor2000-05-311-1/+1
| | | | | | | | | | | | Wed May 31 10:46:53 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Release 0.11 * pango.spec.in: Add missing make command. * modules/basic/Makefile.am (EXTRA_DIST): Fix up extra-dist. * pango/Makefile.am (libpangox_la_SOURCES): Add pangox-private.h
* Since we require GLib-1.3, and thus can no longer build the examplesOwen Taylor2000-05-281-6/+46
| | | | | | | | | | | | | | | | Sun May 28 16:24:43 2000 Owen Taylor <otaylor@redhat.com> * examples/Makefile.am examples/viewer-qt.cc examples/viewer-qt.h: Since we require GLib-1.3, and thus can no longer build the examples against GTK+-1.2, and since there is a nasty circular dependency if we build examples against GTK+-1.3, rewrite (optional) example program in Qt. (I wasn't going to do it in Xaw or straight Xlib...) * configure.in: Added checks for Qt. * pango/pango-layout.h: Fix constness.
* Add libgobject.Owen Taylor2000-05-281-5/+2
| | | | | | | | | | | | | | | | | Sat May 27 20:36:56 2000 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am configure.in: Add libgobject. * pango/pango-fontmap.[ch]: GObject'ify PangoFontMap. (Pango now requires GLib-1.3 to compile) * pango/pangox-fontmap.c pango/pangox-private.h: Break the fontmap code in libpangox out into a separate file. Tue May 23 10:32:25 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_text): Allow -1 for the length.
* Add a simple Thai shaper. (Reasonably complete but intended mostly for anOwen Taylor2000-05-081-1/+3
| | | | | | | | | | | | Mon May 8 16:19:22 2000 Owen Taylor <otaylor@redhat.com> * modules/thai/* modules/Makefile.am configure.in: Add a simple Thai shaper. (Reasonably complete but intended mostly for an example for the shape docs right now.) * pango/pangox.h (PANGO_X_GLYPH_INDEX): Protect arguments to macros.
* Add ZWS to hacky break algorithm.Owen Taylor2000-05-051-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* add support for fribidi-config (needs fribidi v0.1.10 or higher). AlsoManish Singh2000-05-011-5/+16
| | | | | | | | | | | * configure.in: add support for fribidi-config (needs fribidi v0.1.10 or higher). Also actually use the FOO_CONFIG variable filled by AC_PATH_PROG for --cflags and --libs. * examples/Makefile.am * pango/Makefile.am: use $(FRIBIDI_LIBS) -Yosh
* Add checks looking for iconv in libiconv. (Thanks to Ross Campbell forOwen Taylor2000-04-261-2/+30
| | | | | | | | Wed Apr 26 19:55:40 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Add checks looking for iconv in libiconv. (Thanks to Ross Campbell for helping me test this out.)
* Released 0.10Owen Taylor2000-04-251-1/+1
| | | | | | | | | Mon Apr 24 22:51:06 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Released 0.10 * modules/arabic/*: Update from Karl Koehler, including support for LangBox fonts
* Add back in flockfile check which was accidentally removed.Owen Taylor2000-04-231-0/+2
| | | | | | | Fri Apr 7 03:08:09 2000 Owen Taylor <otaylor@redhat.com> * configure.in (UNICODE_LIBS): Add back in flockfile check which was accidentally removed.
* Added Devanagari shaper from Robert Brady <rwb197@zepler.org>Owen Taylor2000-04-121-0/+1
| | | | | | | | | | | | | | | | | | | Wed Apr 12 13:59:22 2000 Owen Taylor <otaylor@redhat.com> * configure.in modules/Makefile.am modules/devanagari/*: Added Devanagari shaper from Robert Brady <rwb197@zepler.org> * examples/HELLO.utf8: Added Hindi from Emacs * examples/dev-example.utf: Some syllable strings for testing the Devanagari shaper. * examples/pangox_aliases: Added -*-devanagari-medium-r-normal--*-*-*-*-*-*-iso10646-dev * fonts/devnag18.bdf fonts/devnag.README: Devanagari font from http://crl.NMSU.Edu/~mleisher/devnag.html currently required for operation of the devanagari shaper.
* Released 0.9Owen Taylor2000-04-051-1/+1
| | | | | | | | | | Tue Apr 4 22:03:42 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Released 0.9 * modules/arabic/arabic.c (find_unic_font): Keep on searching past the first iso-10646 font if the first font doesn't have the required ligatures.
* Fix off-by-one error for RTL runs.Owen Taylor2000-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Mon Apr 3 15:16:06 2000 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_get_logical_widths): Fix off-by-one error for RTL runs. * configure.in: Add -lglib to AC_CHECK_LIB(fribidi...) (How did this work?) From Matt Wilson. * pango/pango-layout.c (pango_layout_check_lines): Correctly deal with handling character offsets when breaking lines. * modules/arabic/arabic.c (arabic_engine_shape): Fix problem with setting unknown glyph when no arabic-capable font found. Fri Mar 31 11:29:47 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox.[ch] (pango_x_render_layout[_line]) examples/viewer.c: Add capability to render foreground / background colors. The interfaces here are possibly certainly not right, or convenient, but they should be a start.
* Use "UTF-8" with the dash as the charset name for utf-8. (Change suggestedOwen Taylor2000-03-301-2/+2
| | | | | | | | | | | Thu Mar 30 16:49:06 2000 Owen Taylor <otaylor@redhat.com> * modules/basic/basic.c pango/utils.c (find_converter): Use "UTF-8" with the dash as the charset name for utf-8. (Change suggested by Adrian Havill <havill@turbolinux.co.jp>) * pango/pango-layout.[ch]: Add function to get logical attributes of the text string.
* Memory management functions for PangoItem.Owen Taylor2000-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Mar 13 10:54:48 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-item.[ch]: Memory management functions for PangoItem. * pango/*.[ch]: Random constification. * pango/pangox.c pango/pango-layout.c pango/pango-context.c: Add an extra_attrs field to PangoItem. Use this to handle underlining for PangoLayout. * examples/viewer.c (reload_font): Make paragraphs global to save the complexity of passing it around all over the place. * pango/pango-layout.[ch] (pango_layout_context_changed): Add a function to reset the layout on changes to the layout's context. * pango/pangox.c (pango_x_make_matching_xlfd): Prefer bitmap to scaleable if the discrepancy is < 1 pixel. (Probably not the ideal criterion.) * pango/pangox.c (pango_x_font_map_for_display): Fix resolution computation error. * pango/pango-layout.c (pango_layout_check_lines): Handle text with embedded newlines. * pango/pangox.c (pango_x_render_layout): Fix y to refer to the top of the layout, not the baseline of the first line. * pango/pango-layout.c (process_item): Don't wrap if width is set to -1. * Makefile.am configure.in **/*.[ch]: move libpango/ directory and fix all headers to install under include/pango/
* First draft of highlevel driver. It currently only handles a paragraph asOwen Taylor2000-03-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed Mar 8 13:34:57 2000 Owen Taylor <otaylor@redhat.com> * libpango/pango-layout.[ch]: First draft of highlevel driver. It currently only handles a paragraph as a list of lines, but it is probably necessary to make it handle 2D layout for a paragraph as well * examples/viewer.c: Move over to new layout driver (much of the code moved into pango-layout.c) * libpango/glyphs.c libpango/pango-glyphs.h: Fixes to get_extents(), add pango_glyph_string_get_logical_widths. * libpango/pango-itemize.c: Handle 0-length text properly. * libpango/pangox.c: When loading particular sized fonts, use the original XLFD, since XFree86 doesn't handle wildcards in aliases properly. * libpango/pangox.[ch] (pango_x_render_layout_line): Add function to render an entire PangoLayoutLine. * libpango/reorder-items.c: Add a note to the effect that pango_reorder_items() is basically replaced by a similar function in PangoLayout. Wed Mar 8 10:58:56 2000 Owen Taylor <otaylor@redhat.com> * modules/arabic/arconv.c (shapecount): Fix from Karl Koehler to joining behavior. * modules/Makefile.am modules/arabic/*: Added arabic shaper from Karl Koehler <koehler@or.uni-bonn.de> * modules/basic/tables-{small,big}.i: Remove arabic from the ranges that the basic shaper marks as "exact". * examples/HELLO.utf8: Partially alphabetize, add arabic.
* Add size to the font description structure instead of continually passingOwen Taylor2000-02-251-4/+28
| | | | | | | | | | | | Fri Feb 25 15:04:21 2000 Owen Taylor <otaylor@redhat.com> * libpango/{fonts.c,pango-font.h,pango-context.[ch],pangox.c, pango-attributes.c,examples/viewer.c: Add size to the font description structure instead of continually passing it around as an extra argument. * libpango/pangox.c: Take screen resolution into account when choosing fonts, instead of assumming point == pixel.
* Release 0.7Owen Taylor2000-02-171-1/+1
| | | | | | | | | | | | | | 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.
* make dist fixups.Owen Taylor2000-02-111-0/+1
| | | | | | | | | | | | | | Fri Feb 11 16:04:50 2000 Owen Taylor <otaylor@redhat.com> * libpango/Makefile.am: make dist fixups. * Makefile.am pango.spec.in: Add a spec file * examples/HELLO.utf8: Change Maltese to a different phrase to include some unique Maltese characters. * libpango/Makefile.am modules/Makefile.am libpango/modules.c: Move pango.modules file to /var
* Added recent API changes. Doc comment fixesOwen Taylor2000-02-111-1/+1
| | | | | | | | | | Thu Feb 10 23:45:49 2000 Owen Taylor <otaylor@redhat.com> * docs/**: Added recent API changes. * libpango/pango-context.c: Doc comment fixes * configure.in: Add in directories from unicode-config when running AC_CHECK_LIB on libunicode.
* Up version to match 0.6 release that was made yesterday.Owen Taylor2000-02-111-1/+1
| | | | | | | | | | | | | | | | | | | Thu Feb 10 23:45:27 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Up version to match 0.6 release that was made yesterday. * examples/viewer.c (main): Look for fixed if sans isn't found as an initial font. * modules/Makefile.am: Add an install rule to run pango-querymodules. * modules/*/Makefile.am (module_LTLIBRARIES): Set up appropriate install rules. * libpango/Makefile.am: Break the X code out into a separate library.
* Switch the option menu for a combo box.Owen Taylor2000-02-071-0/+2
| | | | | | | | | | | | | | Mon Feb 7 16:49:32 2000 Owen Taylor <otaylor@redhat.com> * examples/viewer.c (make_families_menu): Switch the option menu for a combo box. * examples/pangox_aliases: Add a demo alias file. * libpango/pangox.c: Add a font-alias mechanism allowing. * examples/viewer.c (make_font_selector): Added a spin-button for size.