summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-1-2
Commit message (Collapse)AuthorAgeFilesLines
* Test against start not zero.Owen Taylor2000-11-171-0/+5
| | | | | | | Thu Nov 16 18:59:21 2000 Owen Taylor <otaylor@redhat.com> * pango/glyphstring.c (pango_glyph_string_extents_range): Test against start not zero.
* hu Nov 16 13:23:43 2000 Owen Taylor <otaylor@redhat.com>Owen Taylor2000-11-161-0/+15
| | | | | | | | | | | | | | | * docs/pango-sections.txt docs/tmpl/modules.sgml: Add pango_module_register (). * pango/modules.c: Make ordering of module lookup predictable. * pango/modules.c (pango_module_register): Add a useful doc comment. * pango/pango-modules.[ch]: Fix indentation. * .cvsusers: Added
* Declare variable j so it compilesHavoc Pennington2000-11-161-0/+5
| | | | | | | 2000-11-16 Havoc Pennington <hp@redhat.com> * pango/modules.c (handle_included_module): Declare variable j so it compiles
* Make some vars static. Implement pango_module_register function. MoveElliot Lee2000-11-161-0/+7
| | | | | | | * pango/modules.c: Make some vars static. Implement pango_module_register function. * pango/pango-modules.h, pango/modules.h: Move declaration of PangoIncludedModule to pango-modules.h for public use.
* Fix problem with unbreakable words at start of line longer than lineOwen Taylor2000-11-161-0/+5
| | | | | | | Wed Nov 15 16:56:38 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (process_item): Fix problem with unbreakable words at start of line longer than line width.
* Fix problem where right-aligned lines weren't getting properly offsetOwen Taylor2000-11-151-0/+6
| | | | | | | | Wed Nov 15 15:04:00 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_get_extents_internal): Fix problem where right-aligned lines weren't getting properly offset because width was left as -1.
* commit ChangeLog entryOwen Taylor2000-11-151-0/+7
|
* Rewrite of good portions of line-break code to be more readable, workOwen Taylor2000-11-151-0/+6
| | | | | | | | Wed Nov 15 10:50:38 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (process_line): Rewrite of good portions of line-break code to be more readable, work better, and maybe even be a little faster.
* get the value of any rise attribute (pango_layout_run_get_extents): takeHavoc Pennington2000-11-151-0/+6
| | | | | | | | 2000-11-14 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_get_item_properties): get the value of any rise attribute (pango_layout_run_get_extents): take rise into account
* Define HAVE_FRIBIDI.Tor Lillqvist2000-11-141-0/+8
| | | | | | | | | | 2000-11-15 Tor Lillqvist <tml@iki.fi> * config.h.win32: Define HAVE_FRIBIDI. * pango/pango.def: Add new functions. * pango/pango{win32*,ft2*}.[ch]: Add my name to copyright notice.
* Fix low underline code to deal with run_ink == NULL.Owen Taylor2000-11-141-0/+20
| | | | | | | | | | | | | | | | | 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.
* Don't need to check_lines, pango_layout_get_iter() will do thatHavoc Pennington2000-11-141-0/+7
| | | | | | | | | 2000-11-13 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c (pango_layout_get_cursor_pos): Don't need to check_lines, pango_layout_get_iter() will do that (next_cluster_start): don't ever return a value past the end of the glyph string
* Add italic/bold variantsHavoc Pennington2000-11-131-0/+4
| | | | | | 2000-11-13 Havoc Pennington <hp@redhat.com> * examples/pangox.aliases: Add italic/bold variants
* Patches from long ago: Make pango_layout slightly more robust. DoElliot Lee2000-11-131-0/+6
| | | | | | Patches from long ago: * pango/pango-layout.c: Make pango_layout slightly more robust. Do check_lines before getting cursor position.
* Add new PangoLayoutIter entry pointsHavoc Pennington2000-11-131-0/+16
| | | | | | | | | | | | | | | | | | 2000-11-13 Havoc Pennington <hp@redhat.com> * docs/pango-sections.txt: Add new PangoLayoutIter entry points * pango/glyphstring.c (pango_glyph_string_extents_range): New function * pango/pango-layout.c: Create PangoLayoutIter for iterating over a layout's visual elements * pango/pango-layout.c (pango_layout_check_lines): plug a memleak (attr iterator not freed) * pango/pango-tabs.c (pango_tab_array_free): plug a memleak (array->tabs not freed)
* Remove fribidi include.Owen Taylor2000-11-131-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Renamed pango_attribute_compare to pango_attribute_equal. Renamed compareSebastian Wilhelmi2000-11-131-0/+14
| | | | | | | | | | | | | | | | 2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * pango/pango-attributes.c, pango/pango-attributes.h: Renamed pango_attribute_compare to pango_attribute_equal. Renamed compare member of PangoAttrClass to equal. Renamed some static functions from ..._compare to ..._equal. * pango/fonts.c, pango/pango-font.h, pango/pango-context.c: Renamed pango_font_description_compare to pango_font_description_equal. * docs/pango-sections.txt, docs/tmpl/fonts.sgml, docs/tmpl/text-attributes.sgml: Changed accordingly.
* Remove UNICODE_LIBS UNICODE_CFLAGSHavoc Pennington2000-11-131-0/+10
| | | | | | | | | | | | 2000-11-12 Havoc Pennington <hp@pobox.com> * pango-config.in: Remove UNICODE_LIBS UNICODE_CFLAGS * modules/thai/Makefile.am (pango_thai_la_LIBADD): ditto * modules/basic/Makefile.am: ditto * pango/Makefile.am: ditto
* Added a fallback Korean font which comes with X.Robert Brady2000-11-131-0/+6
| | | | (-daewoo-mincho-medium-r-normal--*-*-*-*-*-*-ksc5601.1987-0)
* Replace fallback shaper with a call to pango_x_fallback_shape, this setsRobert Brady2000-11-131-0/+6
| | | | | | | | | Mon Nov 13 02:39:44 2000 Robert Brady <robert@suse.co.uk> * pango/modules/hangul/hangul.c: Replace fallback shaper with a call to pango_x_fallback_shape, this sets the cluster array properly. -------------------------------------------------------------------
* Remove checks for iconv - we now depend on g_iconv wrapper defined inOwen Taylor2000-11-121-0/+11
| | | | | | | | | | | | | 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-0/+18
| | | | | | | | | | | | | | | | | | | | 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.
* Don't corrupt the array.Robert Brady2000-11-121-0/+5
| | | | | | | 2000-11-12 Robert Brady <robert@suse.co.uk> * pango/pango-indic.c (pango_shift_vowels): Don't corrupt the array.
* Add accessor to get the text from the layoutHavoc Pennington2000-11-121-0/+5
| | | | | | | 2000-11-12 Havoc Pennington <hp@pobox.com> * pango/pango-layout.c (pango_layout_get_text): Add accessor to get the text from the layout
* Add code to call SetTextAlign, but commented out.Tor Lillqvist2000-11-111-0/+9
| | | | | | | | | | | 2000-11-11 Tor Lillqvist <tml@iki.fi> * pango/pangowin32.c (pango_win32_render): Add code to call SetTextAlign, but commented out. * pango/makefile.mingw.in (PANGO_OBJS): Add new objects. * pango/pango.def: Add new functions.
* Shiny new Indic shapers!Robert Brady2000-11-081-0/+19
|
* Add a per-PangoXFontMap cache for X Atoms.Robert Brady2000-11-081-0/+19
| | | | | | | | | | | | | | | | | | | | | 2000-11-08 Robert Brady <rwb197@zepler.org> * pango/pangox-fontmap.c, pango/pangox-private.h: Add a per-PangoXFontMap cache for X Atoms. * pango/pango-intset.c, pango/pango-intset.h: Integer set. * pango/pangox.c, pango/pangox.h: Mainly add two new functions, font_struct_get_ligatures, to parse X font properties for ligature info, and pango_x_apply_ligatures, which does that actual ligation. Also add utility functions pango_x_fallback_shaper, pango_x_find_first_subfont. * pango/pango-indic.c, pango/pango-indic.h: Utility functions for Indic scripts. * pango/Makefile.am: Add pango-intset, pango-indic.
* New Arabic shaper from Karl Koehler.Owen Taylor2000-11-021-0/+4
| | | | | | Thu Nov 2 16:21:22 2000 Owen Taylor <otaylor@redhat.com> * New Arabic shaper from Karl Koehler.
* Return the accel keyvalHavoc Pennington2000-11-011-0/+5
| | | | | | | 2000-11-01 Havoc Pennington <hp@redhat.com> * pango/pango-markup.c (pango_parse_markup): Return the accel keyval
* Fix bug where not all text was appended when parsing acceleratorsHavoc Pennington2000-11-011-1/+6
| | | | | | | 2000-11-01 Havoc Pennington <hp@redhat.com> * pango/pango-markup.c (text_handler): Fix bug where not all text was appended when parsing accelerators
* improved some X11 fotn registry aliasesPablo Saratxaga2000-11-011-0/+8
|
* Add a new attribute for scaling a font; also required addingHavoc Pennington2000-11-011-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-01 Havoc Pennington <hp@pobox.com> * pango/pango-attributes.c (pango_attr_scale_new): Add a new attribute for scaling a font; also required adding PangoAttrFloat. (pango_attr_iterator_get_font): Add PANGO_ATTR_SCALE handling. * pango/pango-utils.c (pango_parse_stretch): Take a plain string not a GString (pango_parse_weight): ditto (pango_parse_variant): ditto (pango_parse_style): ditto * pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass GString::str instead of the GString itself to pango_parse_* * pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto * pango/pangowin32-fontmap.c (pango_win32_font_map_read_alias_file): ditto * pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize() signature (pango_layout_check_lines): Raise attr list copy/creation out of the loop over paragraphs. Adapt to pango_itemize() changes. * pango/pango-context.c (pango_itemize): pass in a starting index and a cached iterator (add_engines): Easy optimization, pass in n_chars instead of recomputing it. Also, pass on the start index and cached iterator. * docs/pango-sections.txt: Add new stuff docs/pango_markup.sgml: Docs on markup format * pango/pango-layout.c (pango_layout_get_attributes): New function to retrieve the AttrList from a layout (pango_layout_set_markup): Set layout from markup (pango_layout_set_markup_with_accel): Set layout from markup including accelerator parsing. * pango/pango-attributes.h (pango_parse_markup): New function to convert a tag string to an attribute list * pango/pango-markup.c (pango_parse_markup): implement * docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt, docs/pango_markup.sgml: oooooh, documentation for the above patch! * docs/tmpl/pango-unused.sgml: Remove from CVS; just causes problems, and was full of checked-in conflict markers.
* Added docs for the publically exported functions in this module, evenOwen Taylor2000-10-301-0/+11
| | | | | | | | | | | | | Tue Sep 12 10:21:08 2000 Owen Taylor <otaylor@redhat.com> * pango/modules.c (pango_map_get_entry): Added docs for the publically exported functions in this module, even though they are really only semi-public (for people implementing new types of #PangoFont), not public * pango/pango-utils.c (pango_read_line): Minor bug tweak.
* Fix up doc comments not to have obvious errors that gtk-doc barfs on.Owen Taylor2000-10-291-0/+13
| | | | | | | | | | | | | | | 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.
* adapted g_Type_register_*() calls. GLib wants an additional flag field toTim Janik2000-10-251-0/+6
| | | | | | | | Wed Oct 25 15:39:49 2000 Tim Janik <timj@gtk.org> * *.c: adapted g_Type_register_*() calls. GLib wants an additional flag field to specify tape flags per node. added 0s all over the place, making the assumption that no pango types are abstract ones.
* pango/pango.def Add new entry points.Tor Lillqvist2000-10-031-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Tor Lillqvist <tml@iki.fi> * pango/pango.def * pango/pangoft2.def: Add new entry points. * pango/pango-coverage.c (pango_coverage_set): Remove unnecessary loop calling memset() with same parameters 64 times ;-) * pango/makefile.mingw.in (PANGO_OBJS): Add pango-tabs.o. Some small changes that have been laying around on my disk. The Win32 and FT2 backends aren't "production quality" yet. For speedup, need to cache at least the coverage info. * pango/pangoft2.c (pango_ft2_get_coverage): New function. * modules/basic/basic-win32.c: Use "BasicScriptEngineLangWin32" to be unique. * modules/basic/basic-ft2.c: Add comments explaining what Unicode ranges the table entries covers. Use "BasicScriptEngineLangFT2" to be unique. (basic_engine_get_coverage): Test calling pango_ft2_get_coverage(). (basic_engine_ft2_new): Set corect engine type. Not that this apparently is used for anything, the X11 basic shaper module also sets its type as TYPE_LANG. * examples/viewer-ft2.c (split_paragraphs): Just end the string upon encountering an invalid character. Don't return.
* Set this to `$(libexecdir)/pkgconfig'; this is the directory whereMartin Baulig2000-09-291-0/+7
| | | | | | | | | 2000-09-29 Martin Baulig <baulig@suse.de> * Makefile.am (pkgconfigdir): Set this to `$(libexecdir)/pkgconfig'; this is the directory where pkg-config actually looks. * *.pc.in: Made the pkg-config scripts actually work.
* was pango_tab_array_new_with_defaults; apparently I didn't check in theHavoc Pennington2000-09-291-0/+6
| | | | | | | | 2000-09-28 Havoc Pennington <hp@pobox.com> * pango/pango-tabs.c (pango_tab_array_new_with_positions): was pango_tab_array_new_with_defaults; apparently I didn't check in the modified version at work
* Change to return allocated array.Havoc Pennington2000-09-271-0/+5
| | | | | | | 2000-09-27 Havoc Pennington <hp@redhat.com> * pango/pango-tabs.c (pango_tab_array_get_tabs): Change to return allocated array.
* Add a tab array field to PangoLayout, and use it when laying out the textHavoc Pennington2000-09-251-0/+8
| | | | | | | | | | 2000-09-25 Havoc Pennington <hp@redhat.com> * pango/pango-layout.c: Add a tab array field to PangoLayout, and use it when laying out the text (if it's set, otherwise use default tabs-are-8-spaces thing) * pango/pango-tabs.c, pango/pango-tabs.h: tab-related data types
* Fix bug where wrong attribute list was unreferenced.Owen Taylor2000-09-111-0/+12
| | | | | | | | | | | | | | Sun Sep 10 03:01:53 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_attributes): Fix bug where wrong attribute list was unreferenced. * pango/pango-attributes.[ch]: Add function pango_attr_list_splice() to splice contents of one attribute list into another attribute list. * pango/pango-utils.h: Add include of pango-font.h since it now depends on declarations from there.
* Minor fixes to Owen's patch below to make it work.Jonathan Blandford2000-09-081-0/+14
| | | | | | | | | | | 2000-09-08 Jonathan Blandford <jrb@redhat.com> * pango/pango-attributes.c (pango_attr_list_change): Minor fixes to Owen's patch below to make it work. * pango/pango-attributes.c (pango_attribute_copy): Copy the start_index/end_index explicitly rather then rely on the copy function doing it for you, as none did so.
* Use iso10646-1 fonts for Georgian, Ethiopic, Cherokee, Canadian, Ogham,Robert W Brady2000-09-041-0/+6
| | | | | | | | 2000-09-04 Robert W Brady <robert@susu.org.uk> * modules/basic/tables-big.i: Use iso10646-1 fonts for Georgian, Ethiopic, Cherokee, Canadian, Ogham, Runic.
* Check in this file, since it isn't from the Unicode consortium.Owen Taylor2000-08-311-0/+5
| | | | | | | 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-2/+17
| | | | | | | | | | | | | | | | 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.
* Utilize G_GNUC_CONST.Elliot Lee2000-08-301-0/+4
| | | | Utilize G_GNUC_CONST.
* Don't produce a warning unless loading all fonts fails, if loading allOwen Taylor2000-08-221-0/+11
| | | | | | | | | | | | | Mon Aug 21 22:02:38 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-context.c (load_font): Don't produce a warning unless loading all fonts fails, if loading all fonts fails, try with "Sans [style]", if that fails, try with "Sans", if that fails, exit - we are completely screwed. * pango/pangox-fontmap.c (pango_x_font_map_load_font): Equate PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC, but with a big penalty.
* Get font directory path with pango_config_key_get("PangoFT2/FontPath"). IfTor Lillqvist2000-08-211-0/+13
| | | | | | | | | | | | | | | | | 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.
* Handle also ft_pixel_mode_mono glyphs.Tor Lillqvist2000-08-201-1/+9
| | | | | | | | | | | | | | | 2000-08-21 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.c (pango_ft2_render): Handle also ft_pixel_mode_mono glyphs. * pango/pangoft2*: Portability enhancements (non-gcc). * examples/viewer-{ft2,win32}.c: One more 1000 vs. PANGO_SCALE fix. * pango/module-defs.c.win32: New file. * pango/Makefile.am: Distribute it.
* examples/viewer-ft2.c Replace division or multiplication with 1000 (whichTor Lillqvist2000-08-201-1/+5
| | | | | | | | | 2000-08-20 Tor Lillqvist <tml@iki.fi> * examples/viewer-ft2.c * examples/viewer-win32.c: Replace division or multiplication with 1000 (which was the old PANGO_SCALE value) to use PANGO_SCALE and PANGO_PIXELS instead.