summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add clealyu fontsPANGO_0_12Owen Taylor2000-07-148-1/+17
| | | | * examples/pangox.aliases: Add clealyu fonts
* Released 0.12Owen Taylor2000-07-149-21/+84
| | | | | | | | | | | | | 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/
* Fix bug in home directory substitution.Owen Taylor2000-07-118-1/+36
| | | | | | | Mon Jul 10 10:42:42 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c (pango_split_file_list): Fix bug in home directory substitution.
* Implement this function, to get logical attributes without aHavoc Pennington2000-07-069-1/+147
| | | | | | | | 2000-07-06 Havoc Pennington <hp@redhat.com> * pango/break.c (pango_get_log_attrs): Implement this function, to get logical attributes without a PangoAnalysis. (pango_break): Fix bug in word stop location
* Released 0.12Owen Taylor2000-07-069-4/+54
| | | | | | | | | Thu Jul 6 15:24:38 2000 Owen Taylor <otaylor@redhat.com> * Released 0.12 * gdk/Makefile.am: Fix missing \ which was causing srcdir != builddir builds to fail.
* UpdateOwen Taylor2000-07-0618-169/+401
| | | | | | Thu Jul 6 15:16:28 2000 Owen Taylor <otaylor@redhat.com> * docs/pango-sections.txt docs/tmpl/*: Update
* Handle the case where the byte offset is outside the layout.Havoc Pennington2000-07-038-3/+72
| | | | | | | 2000-07-03 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_index_to_pos): Handle the case where the byte offset is outside the layout.
* Fix up set_font_description() for tab spaces.Owen Taylor2000-07-028-0/+44
| | | | | | | Sun Jul 2 18:06:01 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (get_tab_pos): Fix up set_font_description() for tab spaces.
* New function that inserts before other attributes with matching startOwen Taylor2000-07-0211-46/+212
| | | | | | | | | | | | Sun Jul 2 17:59:56 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.[ch] (pango_attr_list_insert_before): New function that inserts before other attributes with matching start index. * pango/pango-layout.[ch] (pango_layout_set_font_description): Add the ability to set a default font description on the layout, overriding the font description from the context.
* Add a PANGO_PIXELS macro to convert from pango units to device units andOwen Taylor2000-07-0211-2/+214
| | | | | | | | | | | 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.
* A bunch of simple functions for reading from files, manipulating stringsOwen Taylor2000-07-012-0/+615
| | | | | | | * pango/pango-utils.[ch] Makefile.am: A bunch of simple functions for reading from files, manipulating strings as necessary for config files. Also, a simple gnome-config/win.ini style config file reader.
* A bunch of simple functions for reading from files, manipulating stringsOwen Taylor2000-06-3017-344/+441
| | | | | | | | | | | | | | | | | | | | | | | | | | Fri Jun 30 16:46:31 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.[ch] Makefile.am: A bunch of simple functions for reading from files, manipulating strings as necessary for config files. Also, a simple gnome-config/win.ini style config file reader. * pango/modules.c: Remove DOTFILES stuff. Instead, read names of modules file from pangorc. (Which can be set from PANGO_RC_FILE). Rewrite parsing code using pango-utils.c. * pango/pangox-fontmap.c: Read list of files from PangoX/AliasFiles key. Rewrite parsing code for alias files using pango-utils.c. * examples/pangox.aliases: Move to new name from pangox_aliases, reformat using new parsing code. * examples/pangorc (AliasFiles) examples/pango-viewer: Add a pangorc file for in-place testing. * pango/querymodules.c (main): Add comment to the top of the output indicating that the file should not be hand-edited.
* New version from Karl Koehler merged with the changes for the GLib unicodeOwen Taylor2000-06-292-0/+346
| | | | | | | Thu Jun 29 16:35:41 2000 Owen Taylor <otaylor@redhat.com> * modules/arabic/{*.c,Makefile.am}: New version from Karl Koehler merged with the changes for the GLib unicode functions.
* Fix various aspects of expanding coverage tables beyond the first 256Owen Taylor2000-06-298-12/+55
| | | | | | | | Thu Jun 29 18:13:47 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-coverage.c: Fix various aspects of expanding coverage tables beyond the first 256 blocks. (Based on patch from ChiDeok Hwang.)
* New version from Karl Koehler merged with the changes for the GLib unicodeOwen Taylor2000-06-2914-194/+391
| | | | | | | Thu Jun 29 16:35:41 2000 Owen Taylor <otaylor@redhat.com> * modules/arabic/{*.c,Makefile.am}: New version from Karl Koehler merged with the changes for the GLib unicode functions.
* Remove tests for libunicodeOwen Taylor2000-06-2139-659/+353
| | | | | | | | | | | | 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.
* GTK+ should compile now... sorry about the mess...Havoc Pennington2000-06-2115-163/+325
| | | | | | | | | | | | | | 2000-06-14 Havoc Pennington <hp@redhat.com> * pango/pango-attributes.c (pango_attr_list_copy): Function to copy the attribute list. 2000-06-13 Havoc Pennington <hp@redhat.com> * pango/pango-layout.h: Convert PangoLayout to GObject * pango/pango-context.h: Convert to PangoContext to GObject
* g_strcasecmp returns 0 when strings are equal - negate return value.Elliot Lee2000-06-1913-27/+177
| | | | | | | | | | | | | | | | | | 2000-06-11 Elliot Lee <sopwith@redhat.com> * pango/fonts.c (pango_font_description_compare): g_strcasecmp returns 0 when strings are equal - negate return value. 2000-06-09 Elliot Lee <sopwith@redhat.com> * pango/pango-coverage.[ch]: Return 'coverage' from pango_coverage_ref. 2000-06-08 Elliot Lee <sopwith@redhat.com> * pango/Makefile.am: Add DOTMODULESDIR define to make it easier to change location of .modules files. * pango/modules.c: Make use of aforesaid define. Also scan the DOTMODULESDIR directory for multiple config files instead of just pango.modules. Also fclose() opened files.
* add comment delimiters around trailing text after #endifs to remove warningsChristopher Blizzard2000-06-199-9/+9
|
* pango/Makefile.am: Add a new header pango-modules.h to export a few partsOwen Taylor2000-06-081-0/+52
| | | | | | | | Thu Jun 8 14:43:35 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-modules.h: pango/Makefile.am: Add a new header pango-modules.h to export a few parts of the modules API needed by code for new types of fonts.
* *** empty log message ***Owen Taylor2000-06-0822-125/+363
|
* Include X_LIBS in libraries for 'pangox' target.Elliot Lee2000-06-088-1/+22
| | | | Include X_LIBS in libraries for 'pangox' target.
* New function to copy a PangoAttrIterator.Havoc Pennington2000-06-079-15/+77
| | | | | | | 2000-06-07 Havoc Pennington <hp@redhat.com> * pango/pango-attributes.c (pango_attr_iterator_copy): New function to copy a PangoAttrIterator.
* add missing return from last commitOwen Taylor2000-06-061-0/+2
|
* Add a function to free cached information for a particular display. (ThisOwen Taylor2000-06-0611-34/+178
| | | | | | | | | | | Mon Jun 5 20:45:12 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontmap.c (pango_x_shutdown_display): Add a function to free cached information for a particular display. (This is basically pango_x_fontmap_destroy()) * pango/pangox.c pango/pangox-private.h pango/pangox-fontmap.c: Make a XFont always keep a pointer to (and ref) a fontmap.
* Fix problem with unloading fonts.Owen Taylor2000-06-0512-12/+198
| | | | | | | | | | | Mon Jun 5 15:35:03 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontcache.c (pango_x_font_cache_unload): Fix problem with unloading fonts. * pango/pangox-fontmap.c pango/pangox-private.h pangox/pangox.c: Add a simple PangoXFont; get rid of the eternal caching of all fonts.
* added other usually used aliases for thai fontsPablo Saratxaga2000-06-039-0/+43
|
* look for qt also in /usr/lib/qt2.CEST 2000 Paolo Molaro2000-06-018-1/+29
| | | | | | 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-3111-8/+76
| | | | | | | | | | | | 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
* Use g_strtod().Owen Taylor2000-05-3010-8/+116
| | | | | | | | | | | | | | | | Tue May 30 14:30:24 2000 Owen Taylor <otaylor@redhat.com> * pango/fonts.c (pango_font_description_from_string): Use g_strtod(). * pango/fonts.c (pango_font_description_to_string): Fix bug where spaces where not properly inserted into font description string. * pango/fonts.c (pango_font_get_glyph_extents): Fix some 1000 <=> PANGO_SCALE bugs. * pango/pangox-fontcache.c (pango_x_font_cache_load): Fix list manipulation bug.
* New function to retrieve the XLFD for a given subfont.Owen Taylor2000-05-2910-13/+90
| | | | | | | Mon May 29 13:22:36 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox.c pango/pangox.h (pango_x_font_subfont_xlfd): New function to retrieve the XLFD for a given subfont.
* Fix bug in MRU list code.Owen Taylor2000-05-2910-19/+119
| | | | | | | | | | | | | | | Mon May 29 11:14:34 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox-fontcache.c (pango_x_font_cache_load): Fix bug in MRU list code. * pango/pango-layout.c (pango_layout_check_lines): Fix infinite loop in the case where the first item doesn't fit, but whitespace follows that must go onto the same line. * examples/viewer-qt.h: Minor changes so it compiles with Qt-2.0. (Though the utf8 codec in Qt-2.0 seems to be slightly buggy.)
* Since we require GLib-1.3, and thus can no longer build the examplesOwen Taylor2000-05-2815-31/+804
| | | | | | | | | | | | | | | | 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.
* added missing fileOwen Taylor2000-05-281-0/+242
|
* Install pango-fontmap.h.Owen Taylor2000-05-2812-12/+152
| | | | | | | | | | | | | Sat May 27 22:05:53 2000 Owen Taylor <otaylor@redhat.com> * pango/Makefile.am (pangoinclude_HEADERS): Install pango-fontmap.h. * pango/pangox-fontcache.c pango/pangox.h: Add a simple cache from XLFD => font struct. * pango/pango-fontmap.c: Use this when loading and unloading fonts.
* s/pango_font_set_data/g_object_set_qdata/Owen Taylor2000-05-2820-229/+225
| | | | | | | | | | | Sat May 27 21:06:13 2000 Owen Taylor <otaylor@redhat.com> * modules/thai/thai.c modules/basic/basic: s/pango_font_set_data/g_object_set_qdata/ * pango/*.c: s/pango_font_[un]ref/g_object_un[ref] * pango/pango-font.h fonts.c: GObject'ify PangoFont.
* Add libgobject.Owen Taylor2000-05-2821-1506/+1839
| | | | | | | | | | | | | | | | | 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.
* use size_t for arguments to iconv, not int. Fixes 64 bit platforms.Matt Wilson2000-05-249-8/+57
| | | | | | | | | 2000-05-24 Matt Wilson <msw@redhat.com> * modules/basic/basic.c (conv_8bit): use size_t for arguments to iconv, not int. Fixes 64 bit platforms. * modules/basic/basic.c (conv_euc): likewise
* Fix <, <= confusion.Owen Taylor2000-05-228-1/+29
| | | | | | Mon May 22 18:19:32 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (process_item): Fix <, <= confusion.
* Fix advance widths of some glyphs.Robert Brady2000-05-188-7/+35
| | | | | | Thu May 18 17:30:00 2000 Robert Brady <rwb197@zepler.org> * fonts/devnag18.bdf: Fix advance widths of some glyphs.
* Fix memory leak by freeing correct list.Owen Taylor2000-05-1010-50/+172
| | | | | | | | | | | | | Tue May 9 03:22:11 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_check_lines): Fix memory leak by freeing correct list. * pango/pango-context.c (pango_context_get_font_description): Change to return a pointer to the context's font description instead of a copy. Not quite 100% kosher but a lot more efficient than the previous. (Should we just refcount font descriptions and get it over with?)
* Fix memory leak by freeing correct list.Owen Taylor2000-05-099-4/+81
| | | | | | | | | | | | | Tue May 9 03:22:11 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_check_lines): Fix memory leak by freeing correct list. * pango/pango-context.c (pango_context_get_font_description): Change to return a pointer to the context's font description instead of a copy. Not quite 100% kosher but a lot more efficient than the previous. (Should we just refcount font descriptions and get it over with?)
* Call pango_item_free to free items properly including attributes.Owen Taylor2000-05-098-4/+36
| | | | | | | Mon May 8 16:39:48 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (free_run): Call pango_item_free to free items properly including attributes.
* Add a simple Thai shaper. (Reasonably complete but intended mostly for anOwen Taylor2000-05-0815-13/+968
| | | | | | | | | | | | 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.
* When handling overstrikes, try to guess a bit better how overstrike glyphsOwen Taylor2000-05-0716-89/+443
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun May 7 00:00:00 2000 Owen Taylor <otaylor@redhat.com> * modules/basic/basic.c (basic_engine_shape): When handling overstrikes, try to guess a bit better how overstrike glyphs are positioned in the font. (Now works with more of glyphs from clearlyu, though not the Hebrew accents in that font) * examples/HELLO.utf8: Insert tab characters to keep the columns in the right order for either global direction. Insert left-to-right marks in a few places to keep leading and trailing punctuation in the right place. * modules/basic/basic.c (basic_engine_shape): Don't show RLM and LRM * pango/glyphstring.c (pango_glyph_string_extents): Use the logical width set in the glyph string rather than that from the font's metrics. * pango/pangox.c (pango_x_render): Treat glyph index 0 as special - representing invisible, 0 size character. We need this sometimes, and it is easier and faster to have this special case than to shape a space. * pango/pango-context.c (pango_itemize): Put tabs into separate items. (Sort of lame hack, we do this to make line breaking with tab handling simpler) * examples/viewer.c (checkbutton_toggled): Notify all the layouts that the context has changed so the RTL base dir change actually takes effect.
* a bit of updating to shaper docsOwen Taylor2000-05-051-29/+28
|
* .cvsignore updateOwen Taylor2000-05-051-0/+1
|
* Add ZWS to hacky break algorithm.Owen Taylor2000-05-0535-8683/+5847
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* typo fixManish Singh2000-05-038-1/+29
| | | | -Yosh
* added a yiddish string (yiddish require some glyphs that aren'tPablo Saratxaga2000-05-021-0/+1
| | | | provided by *-iso8859-8 fonts; support for *-microsoft-cp1255 is needed)